In order
Difficulty 1 of 5
Users send 1,000 events/s. Eight consumers process events in parallel, and each event needs 2 ms of CPU. The events of each user must complete in the order sent. Keep queue lag below 5 s. Choose the partition plan.
Options
- Spread events over 8 partitions at random
- Put all events in one partition
- Keep each user in one of 8 partitions
Goals and limits
- Out of order
- none
- Queue lag
- under 5 s
- Monthly cost
- under 200 USD/mo
Concepts
How players did
Player results load from the server.