Engineer | Careem / PyMENA
Israel is a Venezuelan software engineer living and working in the middle east for the last 4 years.
Currently working at Careem, the first Unicamel in the region where he enjoys dealing with different technologies such as Java, Python, Terraform and Ansible leading a distributed team of 5.
In his spare time he likes to spend time with his wife and daughter, hack around trying out new technologies and go out to taste new food.
Django in the real world
There are a lot of projects and systems out there built on top of django. From complex high profile systems and intranets to simple websites and personal blogs.
Truth is, in most of the cases the out of the box django setup will sufice, but in some cases, the team will need to make the project scale to serve thousands of requests per minute.
There's no recipe to scale a project, that's true, but there are some strategies and techniques you can apply to your django project to improve your system's scalability and take more out of your available resources. All of this requires to have some clear Software Engineering concepts, know your tool and some other tools to measure your project's performance to know what and where to optimize
In this talk, we will study some of these strategies to solve the most common scalability problems in django applications.
We will go through a list of issues in real life production services and how we managed to solve them. We will go through the issues we faced on some of our services and how we solved them with real life examples.
Querysets can do that?
We divide the ORM features in several buckets to explain them:
They're not in any particular order.
During this talk we will go through the most basic ORM features such as
filter(), going through the no-so-basic like
annotate()and also explore the more advanced options like
F()objects and SQL Function wrappers.