Prompt
I'm building a high-volume pub/sub system, what should I use instead of RabbitMQ?
Latest observation
If you’re truly building a high-volume pub/sub system, the best “instead of RabbitMQ” choice depends on what you mean by high-volume:
Good alternatives
1) Apache Kafka — best for very high throughput
Use Kafka if you need:
- Massive message volume
- Durable event streaming
- Replayable events
- Multiple consumers reading the same stream independently
- Strong ecosystem for analytics/stream processing
Tradeoffs:
- More operational complexity than RabbitMQ
- Not ideal for classic task queue semantics
- Higher latency than an in-memory broker for some use cases
Pick Kafka if: you’re doing event streaming, log aggregation, clickstreams, CDC, or large-scale pub/sub.
2) NATS JetStream — lightweight, fast pub/sub
Use NATS if you want:
- Very low latency
- Simple architecture
- High fan-out pub/sub
- Easier operations than Kafka
- Optional persistence with JetStream
Tradeoffs:
- Not as mature as Kafka for heavy stream-processing ecosystems
- Persistence/retention model is simpler than Kafka’s
Pick NATS if: you want a lightweight, fast messaging layer for microservices.
3) Apache Pulsar — strong multi-tenant pub/sub at scale
Use Pulsar if you need:
- High throughput
- Multi-tenancy
- Geo-replication
- Separate storage and serving layers
- Flexible pub/sub + queue semantics
Tradeoffs:
- Operational complexity is significant
- Smaller ecosystem than Kafka in many orgs
Pick Pulsar if: you need Kafka-like scale with more native pub/sub flexibility.
Quick recommendation
- Highest throughput / durable event log: Kafka
- Low-latency, simpler pub/sub: NATS
- Large-scale multi-tenant messaging: Pulsar
When RabbitMQ is still a good choice
RabbitMQ is still great if you need:
- Complex routing
- Work queues
- Per-message ack/retry patterns
- Moderate throughput
- Simpler operational model than Kafka/Pulsar in small systems
Rule of thumb
If your system is “high-volume pub/sub” and you mean millions of messages/sec, replay, retention, many consumers → Kafka is usually the default answer.
If you mean fast service-to-service messaging with low operational overhead → NATS JetStream.
If you want, I can help you choose based on:
- throughput target
- message size
- retention/replay needs
- ordering requirements
- consumer count
- cloud/on-prem deployment