Talk Python To Me artwork

Talk Python To Me · Michael Kennedy

#556: Updates on Django's Async Story

For years, "Django and async" came with an asterisk. The docs themselves warned you off it. Scary performance notes, a story that felt half-finished. Well, that story just got rewritten, literally, and the person who rewrote it is here to tell you why the old framing was wrong. Carlton Gibson is a former Django Fellow, sat on the security team for eight years, and he's on the steering council. On this episode we get into the async topic doc rewrite, what actually remains versus what was just fear, the new Tasks framework in 6.0, DB-level cascades and fetch modes landing in 6.1, and why free-threading is the bet that's about to pay off big for Django. If you've been told Django's async story isn't ready, this is the episode that puts that myth to bed. Episode sponsors Sentry Error Monitoring, Code talkpython26 Python in Production Talk Python Courses Links from the show DjangoCon Europe: djangocon.eu PyCon Italia: pycon.it Django on the Med: djangomed.eu Django Mantle: noumenal.es PyPI: pypi.org release notes: docs.djangoproject.com on_delete: docs.djangoproject.com Fetch modes: docs.djangoproject.com HttpRequest.multipart_parser_class: docs.djangoproject.com async topic doc: docs.djangoproject.com docs: docs.djangoproject.com DEP 14: github.com django-tasks: github.com django-tasks-local: github.com Celery: docs.celeryq.dev PEP 703: peps.python.org free-threading HOWTO: docs.python.org PEP 779: peps.python.org ASGI: docs.djangoproject.com PGBouncer: www.pgbouncer.org Channels: channels.readthedocs.io sync_to_async / async_to_sync: docs.djangoproject.com noumenal.es: noumenal.es Django Chat: djangochat.com @[email protected]: fosstodon.org Article: Cutting Python Web App Memory Over 31%: mkennedy.codes Watch this episode on YouTube: youtube.com Episode #556 deep-dive: talkpython.fm/556 Episode transcripts: talkpython.fm Theme Song: Developer Rap 🥁 Served in a Flask 🎸: talkpython.fm/flasksong ---== Don't be a stranger ==--- YouTube: youtube.com/@talkpython Bluesky: @talkpython.fm Mastodon: @[email protected] X.com: @talkpython Michael on Bluesky: @mkennedy.codes Michael on Mastodon: @[email protected] Michael on X.com: @mkennedy

Jul 262026
1 h 4 minlength
1,163transcript lines
Publishertranscript source

Transcript first 15 of 1,163 lines

0:00Michael KennedyFor years, Django and Async came with an asterisk.

0:04Michael KennedyThe docs themselves warned you off it.

0:06Michael KennedyScary performance notes.

0:08Michael KennedyA story that felt half-finished.

0:10Michael KennedyWell, that story just got rewritten, literally.

0:12Michael KennedyAnd the person who rewrote it is here to tell you why that old framing was wrong.

0:17Michael KennedyCarlton Gibson is a former Django fellow, sat on the security team for eight years,

0:22Michael Kennedyand he's on the steering council.

0:24Michael KennedyOn this episode, we get into the Async topic doc rewrite.

0:27Michael Kennedywhat actually remains versus what was just fear and the new tasks framework in 6.0,

0:33Michael KennedyDB-level cascades and fetch models landing in 6.1,

0:36Michael Kennedyand why free threading is the bet it's about to pay off big for Django.

0:41Michael KennedyIf you've been told that Django's async story isn't ready,

0:44Michael Kennedythis episode puts that myth to bed.

0:46Michael KennedyThis is Talk Python To Me, episode 556, recorded July 2nd, 2026.

More Talk Python To Me episodes →