What's your experience with async Django?
What's your experience with async Django?
I'm curious to know how folks use async Djagno in production. Have you switched a project over? Fully or critical code only? What was your experience like? Was it worth it?
I made an example app to demonstrate superiority in a confined test. I've found it quite awkward converting existing sync views to async. Fetching a limited queryset for json serialization is awkward [x async for x in values]
. Some ORM functions, like get_or_create, appear to be just wrappers that call sync_to_async. Django Rest Framework doesn't support async and adrf doesn't support everything.
0
comments