Challenge 8: Checkout with a slow dependency
Shoppers browse (70% of 3,000 personalized requests a second) and check out (30%), and orders stay in the relational database. Checkout calls a separate inventory service, which sometimes slows to 2 seconds. When it does, browsing must keep working: no request that does not need inventory may fail. Any instance can fail too. p99 under 300 ms, at most 1,350 USD a month.
Traffic demand3,000 RPS70% reads, 30% writes
p99 latency target≤ 300 msSlowest 1% of requests
Availability≥ 99.99%N-1 failure survival (0 drops)
Monthly cloud budget≤ 1,350 USDA month, everything included