Playground · Medium line · Station M2

Photo sharing (Google Photos)

Take 300 uploads a second, make thumbnails in the background, and serve 20,000 photo views a second.

After every wedding in Jaipur, hundreds of guests back up their photos at once. Every second people upload 300 full-size photos and browse 20,000 more. Each upload needs three thumbnails (small, medium, large) made in the background, and five years of photos must be kept.

Photos and files
15,000/s
Album browsing
5,000/s
Thumbnails to make
900/s
Budget
$1,300/mo
Speed
under 200 ms
Must
Survive a crash

Reported in interviews at Google, Doordash, Amazon, Uber