Group commit window

  • Tune
  • Metal 07
  • Node

Difficulty 3 of 5

The ledger must commit 4,000 payments/s, and each commit is safe only after a flush to disk. One flush takes 1 ms. Keep errors under 0.1 percent and commit p99 under 15 ms. You can change only the group commit window of the ledger.

Play level

SQLPartner apps4,000 req/sAPI server4 vCPU · 4 GBPostgres4 vCPU · 16 GB
HTTP/2SQLPartner apps4,000 req/sAPI server4 vCPU · 4 GBPostgres4 vCPU · 16 GB
The board at the start of the level
One server boardDrag or use arrow keys to change the load

280 req/s · CPU 70% · mean 22 ms

Goals and limits

Error rate
under 0.1%
p99 latency
under 15 ms
Monthly cost
under 200 USD/mo
Traffic
4,000 req/s

Concepts

How players did

Player results load from the server.