Rollups
Difficulty 4 of 5
A payments app sends 300 transfers/s, and transfers need p99 below 5 s. At midnight, 500 users ask to withdraw their funds to the main chain. Every withdrawal must be final within 24 hours. Pick where the app runs.
Options
- Run every transfer on the main chain
- Optimistic rollup
- ZK rollup
Goals and limits
- p99 latency (Transfers)
- under 5 s
- Error rate (Transfers)
- under 0.1%
- Completion time (Withdrawals)
- under 86,400 s
- Lost writes
- none
- Monthly cost
- under 100 USD/mo
- Traffic
- 300 req/s
Concepts
How players did
Player results load from the server.