The Real Fullstack

Programming & Concurrency

Races, locks, thread pools, async ordering and memory — the ground every layer stands on.

9 challenges

A01The Lost UpdateTwo deposits run at the same time and one of them silently disappears.Timeline simulatorExplorer7 minA02The DeadlockTwo transfers between the same accounts freeze each other forever.Timeline simulatorEngineer8 minA03The Thread Pool CollapseA slow third-party API takes down endpoints that never call it.Performance labSenior Engineer10 minA04The Invisible MutationA single-threaded Node.js service shows customers prices in another customer's currency.Timeline simulatorExplorer6 minA05The Async TrapA batch job reports “done” before anything is saved.Timeline simulatorEngineer9 minA06The Memory That Never LeavesA service is OOM-killed every few hours and the team keeps raising the memory limit.Debugging labEngineer8 minA61The Racy Cache MapA hand-written cache loads the same price three times and sometimes forgets everything.Debugging labEngineer8 minA62The Starved Thread PoolEvery thread in the pool waits for work that can never start.Debugging labSenior Engineer9 minA81The Blocked Event LoopOne slow login freezes every request on a Node.js server.Debugging labEngineer8 min