Back to all speakers
Haki Benita

Haki Benita

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

Reliable Django Signals

Talk
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.