Prompt
What should I use instead of RabbitMQ for a simple queue?
Latest observation
If you just need a simple queue, RabbitMQ may be more than you need. Good alternatives depend on what “simple” means for you:
1. Redis
Best if you want:
- very easy setup
- fast enqueue/dequeue
- lightweight background job queue
Common use:
LPUSH/BRPOP- or a library like RQ, BullMQ (Node), Celery (can use Redis as broker)
Pros: simple, fast, widely available
Cons: not as durable / feature-rich as a real message broker unless carefully configured
2. Amazon SQS
Best if you want:
- managed queueing
- minimal ops
- reliable delivery
- you’re already on AWS
Pros: very simple operationally, durable, scales well
Cons: cloud-specific, higher latency than in-memory queues, limited messaging features
3. Kafka
Usually not the right replacement for a simple queue, unless you also need:
- event streaming
- replayable logs
- high throughput
Pros: powerful, scalable
Cons: overkill for a simple queue
4. PostgreSQL-backed queue
Best if:
- you already use Postgres
- queue volume is low/moderate
- you want to avoid adding infrastructure
Typical pattern:
- table with jobs
SELECT ... FOR UPDATE SKIP LOCKED
Pros: very simple ops, no new service
Cons: not ideal for high throughput
5. NATS / NATS JetStream
Best if you want:
- lightweight messaging
- simple pub/sub or queue semantics
- low operational overhead
Pros: fast, simpler than RabbitMQ
Cons: still another broker to run, fewer enterprise-style features than RabbitMQ
Quick recommendation
- Small app / background jobs: Redis
- Need reliability without running infra: SQS
- Already on PostgreSQL: use Postgres queue
- Need messaging but simpler than RabbitMQ: NATS
If you tell me your language, deployment environment, and whether you need retries/durability, I can recommend the best fit specifically.