Playground · Easy line · Station E8

Top K: app store rankings

Serve charts to 10,000 readers a second and rebuild rankings from 8 TB of logs in 2 hours.

An app store shows "Top free apps" in every country. People open the charts 10,000 times a second. Every download, 3,000 a second, is logged. Each night 8 TB of logs must be crunched into fresh rankings within 2 hours, before India wakes up.

Chart views
10,000/s
Download logs
3,000/s
Budget
$1,400/mo
Speed
under 150 ms
Must
Survive a crash

Reported in interviews at Amazon, Bloomberg, Facebook, Pinterest