All learning paths ยท 9 concepts ยท 95 min
๐ฏ Backend interview prep
The most-asked ideas, told through a book index, a shopping trip, a lift button and more.
- ๐Database indexesThe index at the back of a book: look the word up and turn straight to its page.
- ๐Transactions and isolationPaying at a till, where money leaves your purse and enters the till together or not at all.
- ๐IdempotencyPressing a lift button five times still calls one lift: the system remembers each press.
- ๐ฌRate limitingA sweet jar refilled with one sweet a minute: grab a few at once, but never beat the refill rate.
- ๐กLoad balancingA theme-park host sending each family to the ride with the shortest queue, skipping rides that are broken.
- โกCircuit breakers and retriesA fuse box: when an appliance keeps failing, the fuse trips so the fault can't spread through the house.
- ๐Distributed cachingA shared answer board beside a slow, faraway library: check the board first, and walk over only if needed.
- โ๏ธCAP theoremTwo shop branches whose phone line goes down: close until it's back, or stay open and risk different prices.
- ๐ฌApache KafkaA giant shared notebook. Some apps write notes in it, and others read them, each at their own speed.