Posts

Showing posts from 2016

(DRAFT) Scaling a django project using celery and elasticsearch

Scalability has undoubtedly become an important asset not only for large software projects but also mid-level ones now. Indeed, when you have a look at developer job posts, you can see easily that the need to build scalable software is one of the top desired skills. Making a software scalable requires mostly more than one methodology and different technology stacks. At first, it may look difficult and require deep experience with those methods and stacks. And yes, scalability is a serious topic. Although it is, in this post, I will show how to make a Django application scalable. In the end, you will learn fundamental concepts and approaches. PLAN create a django project which is a little product management system. make adding product asynchronous instead of synchronous sync elasticsearch with the primary database ( SQLite ) use elasticsearch for autocomplete and real-time analysis 1. Product management app with Django Since I assume you are familiar with Python and Dj