~/talk

Reliable Django Signals

Talkat DjangoCon Europe 2026 · 2026-04-15..04-19· [engineering-leadership]
slides:none on file

Claims Django signals are unreliable for mission‑critical workflows and replaces immediate delivery with a queued approach built on Django 6 tasks and a database-backed task queue. The implementation adds send_reliable which enqueues each receiver inside the sender transaction so commits guarantee at least once delivery, runs receivers in separate workers and gains retries. Demo shows a worker picks up tasks and syncs orders. Limitations: receiver args must be serializable, partial compatibility with existing signals, and a background worker is required.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:27Speaker introduction
  3. 2:14What is a workflow?
  4. 2:56Building a checkout workflow
  5. 8:21The circular dependency problem
  6. 10:51Spaghetti dependencies explained
  7. 12:16Polling for changes approach
  8. 14:25Introducing Django signals
  9. 17:18Challenges with signal receivers
  10. 20:52Moving signals out of transactions
  11. 21:14Fault tolerance requirements
  12. 23:00Desired signal behavior
  13. 24:53Database queue solution
  14. 27:03Setting up the infrastructure
  15. 27:48Referencing callable functions
  16. 29:11Implementing reliable signals
  17. 30:17Testing the solution
  18. 31:22Achievements and benefits
  19. 31:42Limitations and restrictions
  20. 32:44Future improvements
  21. 33:30Resources and outbox pattern
  22. 33:50Q&A and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.