Is async Django ready for prime time?

by jonathan-adlyon 11/13/2024, 3:55 PMwith 2 comments

by physicsguyon 11/13/2024, 4:13 PM

> Async code does not improve the performance of CPU-bound tasks.

The number of people I've had to explain this to when advocating switching from Flask/Django -> FastAPI on a CPU-bound problem because it's "faster"... drives me nuts.

I would say the biggest issue with async Django is that if you have an existing Django site, rewriting it to use django-ninja is not that straightforward if you're heavily invested in DRF, which just hasn't moved to add async support.