~/talk

Taking Django's ORM Async

Talkat PyConline AU 2020 · 2020-09-04..09-06· [django, python]
slides:none on file

Django plans a staged conversion of the ORM to hybrid async: first user-facing async variants for model/manager methods (name-spaced separately, e.g. .a‑style or get_async), then async-aware query internals, then optional native adapters. Current tooling uses thread pools and sync_to_async wrappers so most work stays threaded today; psycopg2 remains synchronous while async Postgres drivers mature. Expect forced changes like select_related required for implicit FK access and hard limits such as transactions may not cross async/sync thread boundaries.

AI-written summary · about

  1. 0:00Intro
  2. 0:42About me
  3. 1:30Async Views
  4. 3:10Phases
  5. 6:08Async Limitations
  6. 7:49Async Functions
  7. 9:44Async Access
  8. 12:43Async Iter
  9. 14:08The Plan
  10. 18:53Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.