Stream into the analytics store

  • Build
  • Flow 15

Difficulty 4 of 5

Apps send 100 batches/s of 1 MB events. Analysts run 10 dashboard queries/s that each scan 10 MB. New events must reach the dashboards within 5 s. Keep dashboard p99 below 500 ms, lose no events, and stay under 60 USD/mo.

Play level

Users100 req/sUsers10 req/s
Users100 req/sUsers10 req/s
The board at the start of the level
Each worker adds one network cardDrag or use arrow keys to change the workers

2 workers · 1 TB moves in 1.1 h · 1,000 Mbps per card

Goals and limits

Queue lag
under 5 s
p99 latency (Dash)
under 500 ms
Error rate (Events)
under 0.1%
Lost writes
none
Monthly cost
under 60 USD/mo
Parts you can add
Kafka log, Analytics DB, Stream processor, Managed queue
Part limit
6
Traffic
10 req/s

Concepts

How players did

Player results load from the server.