Gunicorn Workers and Threads
In terms of Gunicorn, I am aware there are various worker classes but for this conversation I am just looking at the sync and async types. From my understanding ... sync workers = (2 * cpu) + 1 worker_class = sync async (gevent) workers = 1 worker_class = gevent worker_connections = a value (lets say 2000) So (based on a 4 core system) using sync workers I can have a maximum of 9 connections processing in parallel. With Async I can have up to 2000, with the caveats that come with async. Questions So where do threads fit in? Can I add threads to both the sync and async worker types? What is the