3 ms·
Yep, we use Gunicorn in full gevent mode, tuned to spawn and route to a gevent-patched Django process per core, each of which can handle as many concurrent requ
by btown 5y ago
Yep, we use Gunicorn in full gevent mode, tuned to spawn and route to a gevent-patched Django process per core, each of which can handle as many concurrent requests as will fit in (its slice of) RAM.
A far cry from the one-request-per-thread days of yore!
- sandGorgon 5y agoyou use gunicorn as a reverse proxy - it seems that you are not running Gunicorn to spawn django processes is it ? I'm wondering how would this work in a kubernetes/docker world.
- btown 5y agoGunicorn both acts as a reverse proxy and a master process that forks workers - each of which, in our case, loads Django. https://docs.gunicorn.org/en/stable/design.html https://docs.gunicorn.org/en/stable/design.html