Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
pvergain (framapiaf)
@pvergain@framapiaf.org  ·  activity timestamp yesterday

https://hakibenita.com/django-reliable-signals#django-tasks

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

In this article, I present an alternative transport implementation for Django signals using background tasks which makes them reliable and safer to use in mission critical workflows.
--<--
#django

Reliable Django Signals

Using background tasks to reliability execute signal receivers
  • Copy link
  • Flag this post
  • Block
shearichard
@shearichard@mastodon.nz replied  ·  activity timestamp yesterday

@pvergain Django 6's background tasks capability is the feature I'm most looking forward to trying. As far as I can see, it's not going to cover all use cases but it's going to be really useful to have an integrated capability for a lot of cases.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login