4 ms·
Love Django. But we are using Django with Gunicorn at work and we are having massive concurrency issues (1 process, gthread)... More than 4 concurrent requests
by batiste 5y ago
Love Django. But we are using Django with Gunicorn at work and we are having massive concurrency issues (1 process, gthread)... More than 4 concurrent requests waiting on a slow IO and the whole thing melts down...
FastAPI doesn't have those issues at all...
- MrOxiMoron 5y agodo you run fastapi through wsgi? have you tried Django with asgi?
- frankwiles 5y agoThis is definitely something about your local setup or config. We routinely run hundreds and thousands of simultaneous connections through various versions of Django without much trouble.
- smashed 5y agoPlease read this article: https://rachelbythebay.com/w/2020/03/07/costly/ https://rachelbythebay.com/w/2020/03/07/costly/