Rows or columns
Difficulty 3 of 5
The shop database answers 4,000 queries/s with 8 vCPU. A new dashboard runs 5 queries/s. Each query sums 2 columns over 200 million order rows. Choose where the dashboard runs. Keep shop p99 below 50 ms and dashboard p99 below 2 s.
Options
- Query the shop database
- Query a read replica of the shop database
- Query a columnar analytics store
Goals and limits
- p99 latency (Shop)
- under 50 ms
- p99 latency (Dash)
- under 2 s
- Error rate (Dash)
- under 1%
- Monthly cost
- under 1,000 USD/mo
- Traffic
- 5 req/s
Concepts
How players did
Player results load from the server.