System Design
9. Message Queues and Event-Driven SystemsAnimated
Apache Pulsar
A streaming platform with separated compute and storage.
The idea
Brokers are stateless and storage is in BookKeeper, with multi-tenancy and geo-replication.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
A service publishes an event: "OrderPlaced".
- step:
- 1/4
- at:
- Producer
1/8
The green dot is a request moving through the system.
Step by step
- 1Producers publish
- 2Brokers serve topics
- 3BookKeeper stores data
- 4Consumers subscribe
Where it is used
Multi-tenant streaming.
Watch out for
More moving parts to operate.