Compaction debt

Store 05
TCPUsers10,000 req/sKey-value s…4 vCPU · 4 GB
TCPUsers10,000 req/sKey-value s…4 vCPU · 4 GB

Fix the board. Turn every goal green.

Traffic
10,000 req/s · writes only
Limit
Key-value store answers about 40,000 writes/s
Bill
  • Key-value store16 USD/mo
16 of 100 USD/mo

Goals

Not tested yet

99 of 100 requests finish faster than this.The share of requests that fail or get no answer.What the servers and services cost each month.

Each second, 10,000 writes of 1 KB create 10 bytes of disk work per source byte. The store starts with 512 MB of compaction debt. At 1,024 MB of debt, writes stall. Keep p99 below 100 ms and errors below 0.1 percent.

0:07. Compaction debt keeps growing. Graph: debt climbs toward 1,024 MB, then writes stall and errors rise.

A disk that fillsArrow keys change the write rate. Tap to ship the logs.

5 MB/s · logs kept on the host · disk full in 33 minutes

Parts you can add: Key-value store. At most 16 parts. Budget: 100 USD/mo.

Tap a part to add it, or drag it onto a trace.Click a part to add it, or drag it onto a trace.