Understanding Memory Usage in Django Webserver Workers (opens in new tab) 聽馃悕python
If you are coming from the PHP world, you might be used to thinking that when a request reaches the web server, everything is parsed and processed from scratch. In Python, however, the behavior is a little different. A Python web server (for example, Gunicorn) starts one or more worker processes and then continuously accepts and processes requests as a running server application. In this article, I will explore how memory is managed in that environment. Startup time vs. request execution When...
Read the original article