DjangoCon Europe 2026

Reliable Django Signals
2026-04-15 , AMPHITHEATRE

The existing implementation of Django Signals does not address fault tolerance in any way, which makes Signals unreliable for mission critical workflows! In this talk I present an alternative underlying implementation using the new tasks framework in Django 6 which makes Signals fault tolerant and reliable.


Django signals are extremely useful for decoupling modules and implementing complicated workflows. However, the underlying transport for Django Signals makes them unreliable and subject to unexpected failures.

In the talk I demonstrate several strategies for decoupling modules, including Django Signals, and discuss different aspects such as user experience and fault tolerance.

Finally, I present an alternative underlying transport implementation for Django Signals using the new tasks framework in Django 6 that addresses the shortcomings of all other approaches. The alternative implementation makes Django Signals reliable for mission critical workflow and for applications that require high reliability and fault tolerance.


Topics:

Architecture, Django Internals, DB

Audience Level:

Advanced

Haki Benita is a software developer and a technical lead. He lived through several hype cycles but he's still standing! Haki built multiple successful products that are used by millions of users every month but he doesn't like to brag about it...

Haki takes special interest in databases, web development, software design and performance tuning and he writes about it at hakibenita.com

This speaker also appears in: