Prompt
I'm building a background worker system in Python, what queue libraries are common?
Latest observation
Common Python queue/job libraries for background workers include:
-
Celery
The most popular and feature-rich option. Uses brokers like RabbitMQ or Redis. Supports retries, scheduling, task routing, result backends, and monitoring. Good for larger systems, but more complex to operate. -
RQ (Redis Queue)
Simple and lightweight. Uses Redis only. Easy to set up for straightforward background jobs, but fewer features than Celery. -
Dramatiq
Modern task queue with a clean API, Redis or RabbitMQ support. Often seen as a simpler alternative to Celery with good defaults and middleware support. -
Huey
Lightweight task queue that supports Redis or SQLite. Good for smaller projects and periodic tasks. -
Arq
Async-first queue built on Redis, designed forasyncioapps. Good if your app is already asynchronous. -
Taskiq
Modern, extensible task queue with multiple brokers. Becoming more popular in newer Python codebases. -
Pykka / custom worker setups
Not queue libraries per se, but sometimes used for actor-style concurrency or custom background processing.
If you want, I can also give you:
- a feature comparison table,
- recommendations by use case (small app, async app, high throughput, etc.), or
- a minimal example for one of them.