What Gunicorn worker configuration is required for long running sql queries inside Api to parallely process requests. Currently requests are in queue
I am using gunicorn for our django web app. my api is mostly waiting for response from db as sql query take much time. So api most of api calls generally takes greater that 1 minutes. Due to this other requests/api calls are stuck in queue.
What worker class, no. of workers and threads shall I use in gunicorn conf to address this issue.