PrepCity

Design a distributed message queue

Open the lab

By the last page, this is the design you will have built.

Lesson · 14 pages · about 12 min

Design a distributed message queue

Kafka from the inside: a log read in order, partitions shared by a consumer group, copies on other brokers, and what acks=1 and acks=all promise when the leader dies.

Words you’ll learn

  • Queue
  • Kafka
  • Service
  • Disk
  • Capacity
  • Partition
  • Offset
  • Commit
  • At-least-once delivery
  • Millisecond

Page by page