Hot and cold
Difficulty 4 of 5
The exchange holds 200 M USD. Users withdraw 2,000 USD every 2 s and 250,000 USD every 3 min. A hot key is stolen in 5 percent of years. Cold signing needs 3 approvers, 5 a minute at most. Refills take 15 min. Expected theft under 0.1 percent a year, failures under 1 percent.
Envelope keys · < 1 key service calls/s · limit 10,000/s
Goals and limits
- Theft risk
- under 0.1%
- Error rate (Small)
- under 1%
- Error rate (Large)
- under 1%
- p99 latency (Small)
- under 30 s
- Gas cost per day (Small)
- under 45,000 USD/mo
- Monthly cost
- under 30 USD/mo
- Parts you can add
- API gateway, Load balancer (L7), Hot wallet
- Part limit
- 4
- Traffic
- 1 req/s
Concepts
How players did
Player results load from the server.