Skip to content
StackDecode
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.

EventsKafkaStream processorOLAP storeBatch lakeDashboards
  • 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

  1. 1Collect events
  2. 2Stream into a log
  3. 3Aggregate in windows
  4. 4Query live results

Where it is used

Metrics and dashboards.

Watch out for

Late events and exactly-once counting.

Related