System Design
20. System Design Case StudiesAnimated
Real-Time Analytics Platform
Aggregate events as they happen.
The idea
Events stream into a processor that updates aggregates served to dashboards.
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
Events are collected into a log.
- step:
- 1/4
- at:
- Events
1/10
The green dot is a request moving through the system.
Step by step
- 1Collect events
- 2Stream into a log
- 3Aggregate in windows
- 4Query live results
Where it is used
Metrics and dashboards.
Watch out for
Late events and exactly-once counting.