News for hackers. Stuff that matters.
Re:Django 4.1 by BozeWolf on Wednesday August 03, 2022 @07:56AM (#32330508)
Or when accidentally some blocking database driver is used, even when django's ORM is async, a query with mongodb's driver is not async. Or just the filesystem... This harms performance badly, especially if the idea was to run only a few threads.

Other than that, it has benefits too! :-)

Re:Django 4.1 by mrmikardo on Wednesday August 03, 2022 @08:24AM (#32330753)
And indeed, there's an important caveat in the Django 4.1 docs;

Note that, at this stage, the underlying database operations remain synchronous, with contributions ongoing to push asynchronous support down into the SQL compiler, and integrate asynchronous database drivers....

https://docs.djangoproject.com/en/4.1/releases/4.1/#asynchro...