Concurrent processing is complicated, it’s better to avoid it when possible, but when there is a priority for faster execution or there is a need to have multiple functionalities(programs) simultaneously we have to go for it. Using ampersand(&) symbol we can run processes in background or subshell, this way they run concurrently.
In previous post we collected top 250 movies names and their links from imDb. In this blog post, lets look into exporting that data into files. This helps us to understand the purpose of items and pipelines in scrapy.
In this Blog post, we will look into setting up scrapy. Later we will scrape from imdb.
Use Django Multi-Factor Authentication method to verify user identity with more than one authentication methods. It can be used for user login, any transactional methods etc.
CloudFormation helps in Using JSON templates to describe the resources needed from aws. With this approach, we don't have to repeat the same manual configuration every time. However manually creating a cloud formation template is complex, so CloudForm is used to simplify this task.
Data loss can happen when we accidentally delete the files, or when server crashes or system fails, or when we applied migrations to the data that didn't work so we don't get previous data with the schema. In the production environment, it's mandatory to do database backup when we do changes in the code.
Sorl thumbnail is the package which is being widely used to generate thumbnail in Django. It will create thumbnail of given size for the given image, which won't work out in the case of responsive designs. Html5's 'srcset' attribute is the solution for this problem to load proper images to the corresponding resolutions, whose thumbnails generated with sorl thumbnail.
Heroku is a platform as a service (PaaS) that enables developers to build and run applications entirely in the cloud.
2. Creating and Deploying app.
3. Dependencies Used
We can write the required logics based on programming[python] syntax in models and views but, when we want to write simple logics we should follow the django's template syntax, because programming[python] syntax is not allowed.
It all starts with FUSE, FUSE is File System User Space. Operating Systems have Kernel Space and User Space. Kernel Space is where low level interaction with hardware occurs, this space has all privilages, User space is restricted, it has to communicate with kernel space to have access for resources.