FjellSystem Design Lab
Hands-on design challenge

Challenge 9: Capstone: Pastebin

A paste service keeps 40 TB of pasted text and attachments plus 400 GB of metadata, and serves 5,000 requests a second: 50 new pastes and 4,950 reads. Keep it, compute, storage and per-request charges together, under 3,900 USD a month, with p99 under 250 ms, at least 99.95% availability, and nothing dropped when any one instance is lost.

Traffic demand5,000 RPS99% reads, 1% writes
p99 latency target≤ 250 msSlowest 1% of requests
Availability≥ 99.95%N-1 failure survival (0 drops)
Monthly cloud budget≤ 3,900 USDA month, everything included

Hints