PgQueuer – Transform PostgreSQL into a Job Queue

PgQueuer is a high-performance job queue library for Python that leverages PostgreSQL’s robustness. It offers simple integration with existing Python applications and efficient concurrency handling using PostgreSQL’s features. The library uses LISTEN/NOTIFY for real-time notifications on job status changes. Installation is easy with a simple pip command. An example scenario demonstrates how to write and run a consumer and producer for processing incoming data messages. The consumer is long-lived for processing enqueued jobs, ensuring graceful shutdowns, while the producer is short-lived, enqueuing a specified number of jobs. Overall, PgQueuer aims to streamline workflows using PostgreSQL effectively.

https://github.com/janbjorge/PgQueuer

To top