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.

โ–ถ Start with Database indexes
  1. ๐Ÿ“‘Database indexesThe index at the back of a book: look the word up and turn straight to its page.
  2. ๐Ÿ›’Transactions and isolationPaying at a till, where money leaves your purse and enters the till together or not at all.
  3. ๐Ÿ”˜IdempotencyPressing a lift button five times still calls one lift: the system remembers each press.
  4. ๐ŸฌRate limitingA sweet jar refilled with one sweet a minute: grab a few at once, but never beat the refill rate.
  5. ๐ŸŽกLoad balancingA theme-park host sending each family to the ride with the shortest queue, skipping rides that are broken.
  6. โšกCircuit breakers and retriesA fuse box: when an appliance keeps failing, the fuse trips so the fault can't spread through the house.
  7. ๐Ÿ“‹Distributed cachingA shared answer board beside a slow, faraway library: check the board first, and walk over only if needed.
  8. โš–๏ธCAP theoremTwo shop branches whose phone line goes down: close until it's back, or stay open and risk different prices.
  9. ๐Ÿ“ฌApache KafkaA giant shared notebook. Some apps write notes in it, and others read them, each at their own speed.