A Django monolith can no longer keep up with growing traffic. How would you design how it runs in production: the application server, the worker model, the number of workers, and working with the database?
~10 min by voice
How to approach it
The interviewer wants to see whether you understand how a Python web application actually runs in production: why you need processes because of the GIL, how to choose the number and type of workers, and that the database with its connection limit usually becomes the bottleneck before the CPU does.
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.