Challenge 3: A media portal for users worldwide
Users are in three regions: half in North America, 20 ms from the origin; 30% in Europe, 90 ms away; 20% in Asia-Pacific, 160 ms away. A CDN edge is 10 ms from anyone. At 30,000 requests a second, 97% reads, keep the average response under 70 ms and p99 under 350 ms, survive the loss of any instance, and spend at most 2,350 USD a month.
Traffic demand30,000 RPS97% reads, 3% writes
p99 latency target≤ 350 msAverage ≤ 70 ms
Availability≥ 99.99%N-1 failure survival (0 drops)
Monthly cloud budget≤ 2,350 USDA month, everything included