Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Last time I checked, simply running Django through the ASGI interface dealt you a baseline perf hit.


It's pretty minimal: https://docs.djangoproject.com/en/5.1/topics/async/#performa...

> When running in a mode that does not match the view (e.g. an async view under WSGI, or a traditional sync view under ASGI), Django must emulate the other call style to allow your code to run. This context-switch causes a small performance penalty of around a millisecond.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: