Reorg
Difficulty 3 of 5
Users make 10 deposits/s on a chain with 2 s blocks. The exchange credits each deposit as soon as it sees it in a block. At 0:40 the chain drops its 5 newest blocks, and 100 credited deposits disappear. Credit no deposit that a reorg can remove, with p99 under 45 s.
0:40. 100 deposits that were already credited are gone from the chain after a 5-block reorg. Graph: double spends.
W 3 + R 3 of 5 · every read sees the last write
Goals and limits
- Double spends
- none
- p99 latency
- under 45 s
- Error rate
- under 1%
- Monthly cost
- under 20 USD/mo
- Edit limit
- 2
- Traffic
- 10 req/s
Concepts
How players did
Player results load from the server.