Katas
Eleven katas, each a small working system with one idea to get right. Pick one, change its code, and run it to see whether it holds.
| Tags | ||||
|---|---|---|---|---|
| Not started | Nearby drivers at rush hour A nearby-drivers lookup that falls over when downtown gets crowded. Scaling reads | Scaling reads | Medium | |
| Not started | Nearby drivers across a Redis Cluster Six Redis nodes, and one of them does all the work. Scaling reads | Scaling reads | Hard | |
| Not started | Counting likes 1,000 people tapped like. The counter says 847. Concurrency and transactions | Concurrency and transactions | Easy | |
| Not started | Confirming orders from payment webhooks A checkout that takes fans' money and never confirms their orders. Concurrency and transactions | Concurrency and transactions | Easy | |
| Not started | Seat holds when tickets go on sale A seat-hold endpoint that lets two fans hold the same seat when the on-sale opens. Concurrency and transactions | Concurrency and transactions | Medium | |
| Not started | Two payments for the same seat A checkout that sells one seat to two fans when their payments land at once. Concurrency and transactions | Concurrency and transactions | Medium | |
| Not started | Live comments on a single server A live video's comment feed that saves every comment and shows none of them. Real-time messaging | Real-time messaging | Easy | |
| Not started | Direct messages on a single server A chat server that receives every message and delivers none of them. Real-time messaging | Real-time messaging | Easy | |
| Not started | Direct messages across servers Two chat servers that can only deliver messages between their own phones. Real-time messaging | Real-time messaging | Medium | |
| Not started | Home feed for a new app Design the tables behind a small social app, then build its home feed. Social feeds | Social feeds | Easy | |
| Not started | Home feed at 5,000 reads a second The home feed from before, now opened 5,000 times a second. Social feeds | Social feeds | Medium |