Playground · Easy line · Station E3

Weather app

Answer 3,000 forecast requests a second while calling the weather service under 100 times a second.

Your weather app is the first thing millions open when the monsoon hits Mumbai. It asks a third-party weather service for every forecast, but that service allows only 100 calls a second and takes almost half a second to answer. Meanwhile 3,000 people a second want the weather.

Forecast lookups
3,000/s
Budget
$500/mo
Speed
under 150 ms
Must
Survive a crash

Reported in interviews at Amazon, Chime, Facebook, Hubspot