News for hackers. Stuff that matters.
Re:A viable solution for Python concurrency by btown on Friday October 15, 2021 @11:29PM (#28885325)
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!

Re:A viable solution for Python concurrency by sandGorgon on Saturday October 16, 2021 @01:34AM (#28885782)
you 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.

Re:A viable solution for Python concurrency by btown on Saturday October 16, 2021 @12:26PM (#28888954)
Gunicorn 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