Playground · Medium line · Station M14

Count likes on celebrity posts

Count 20,000 likes a second when nine in ten hit the same post.

A film star announces their wedding and 20,000 likes a second pour in, nearly all on that one post. Fans reload the count 5,000 times a second. A normal database row, or even one key in a fast store, melts when everyone writes to it at once.

Likes
20,000/s
Like count reads
5,000/s
Budget
$1,100/mo
Speed
under 100 ms
Must
Survive a crash

Reported in interviews at Facebook, Amazon, Twitter