Shadow traffic to a new model
Difficulty 3 of 5
A new fraud model must score a copy of every live request for a week before it can replace the live model. It is slower and not yet stable. The API sends each request to every model link. Keep user p99 below 30 ms with no errors, and keep the copies at most 30 s behind.
Canary · 5% of requests fail for 15 seconds · 750 failed requests
Goals and limits
- p99 latency
- under 30 ms
- Error rate
- under 0.1%
- Queue lag
- under 30 s
- Monthly cost
- under 100 USD/mo
- Parts you can add
- Message broker, Managed queue, Kafka log, Worker
- Part limit
- 4
- Traffic
- 500 req/s
Concepts
How players did
Player results load from the server.