Asynchronous processing of database events in a robust and lightweight manner using django-pgpubsub

This page summarizes the projects mentioned and recommended in the original post on /r/django

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • django-pgpubsub

    A distributed task processing framework for Django built on top of the Postgres NOTIFY/LISTEN protocol.

  • A common pattern in modern web development is the requirement to process data asynchronously after some user action or database event. In the below article, I describe via a concrete example a traditional approach to solving this problem for a Django/Postgres based application using django signals and Celery. I then proceed to discuss some of the shortcomings of this approach and demonstrate how using django-pgpubsub can offer a lightweight and more robust solution.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts