Skip to content
Chaos Lab

Challenge 50 · intermediate · Event ingestion

Backpressure

Devices send events to an ingest API, which queues them in memory for 4 consumers that write 200 events a second each to a database that can take 1,000 a second. At 10 seconds devices reconnect after an outage and send 1,200 events a second for the rest of the run.

From 10 to 60 seconds, lose no events and keep database load at or under 90%.

ready00:00 / 01:00Success · 10 s–p99 · 10 s–

Goal · measured 00:10–01:00

0 changes · par 1
  • Events lost ≤ 1 eventsnot measured yet
  • Peak database load (%) ≤ 90%not measured yet

This is a simulation. Its numbers come from a model of a typical system, not from measuring real servers. The same link and seed always give the same run. How the Chaos Lab works.