Inside the ComputerDatabases

The Transfer That Can't Half-Happen

Databases make changes all-or-nothing

Your bank app sends $100 to a friend, and the power dies halfway. Did the money vanish, double, or neither?

You'll find out

  • Where money hides mid-transfer
  • How a database undoes a crash
  • The four letters guarding your money

Why it matters

Every payment, booking and saved message you make relies on changes that happen completely or not at all.

About 3 min6 interactive slides · 5 questionsLesson 479 · Zone 54

Play this lesson

Free to play in your browser or on iPhone

More in this zone

  1. 478Relativistic PhysicsGravity Is Curved SpacePlanets aren't pulled; they follow the shape of spacetime
  2. 480Peer-to-Peer NetworksDownloading From Everyone at OncePeer-to-peer networks turn every downloader into a server
  3. 481Visual StorytellingForced PerspectiveHow a camera trick made the hobbits small, no computer effects needed
  4. 482Rating SystemsHow Games Rank YouThe Elo system from chess now matches players in online games
  5. 483Computer ArchitectureInside a ProcessorBillions of tiny steps a second: fetch, decode, execute
  6. 484Soft RoboticsSoft Robot HandsSquishy fingers grab fragile things better than rigid claws
  7. 485ProbabilityThe Infinite MonkeysRandom typing forever eventually writes Shakespeare
  8. 486LinguisticsZipf's LawIn English, the most common word appears twice as often as the second