The Question
Design
Distributed Message Queue
Design a distributed message queue system similar to Kafka or RabbitMQ. The system should provide reliable and ordered message delivery, support multiple producers and consumer groups, guarantee at-least-once delivery, and scale to handle millions of messages per second with low latency.
Append-Only Logs
Zero-Copy I/O
Partitioning
Replication
Etcd/Zookeeper
February 5, 2026