Stuck nonces

  • Fix
  • Chain 13

Difficulty 3 of 5

The exchange sends 400 payouts/s from 64 hot wallet addresses. Eight signers read one payout log, and each signature takes 6 ms of CPU. Transactions from one address must reach the chain in nonce order, but many arrive early and get stuck. You have 2 edits.

0:10. Payouts stall. Nodes hold 2,000 transactions that arrived before a lower nonce from the same address.

Play level

KafkaHTTP/2Partner apps400 req/sKafka log2 vCPU · 2 GBWorker1 vCPU · 1 GB × 8
KafkaHTTP/2Partner apps400 req/sKafka log2 vCPU · 2 GBWorker1 vCPU · 1 GB × 8
The board at the start of the level
A lease with a fencing tokenTap to turn the fencing tokens on or off

Fencing tokens · lease 30 s · late write with token 33: rejected

Goals and limits

Out of order
none
Queue lag
under 5 s
Lost writes
none
Monthly cost
under 80 USD/mo
Parts you can add
Kafka log, Worker
Part limit
8
Edit limit
2

Concepts

How players did

Player results load from the server.