L4 or L7
Difficulty 3 of 5
Users send 1,500 API calls/s to /api and 500 image requests/s to /images, all over TLS. The API pool and the image pool are fixed. Choose the balancer that keeps API p99 under 50 ms and errors under 0.1 percent for both paths.
Options
- L4, TLS passes through
- L7 with path rules, TLS passes through
- L7 with path rules, TLS ends at the balancer
Goals and limits
- p99 latency (Api)
- under 50 ms
- p99 latency (Images)
- under 200 ms
- Error rate (Api)
- under 0.1%
- Error rate (Images)
- under 0.1%
- Monthly cost
- under 150 USD/mo
- Traffic
- 1,500 req/s
Concepts
How players did
Player results load from the server.