The Real Fullstack

编程与并发

竞态条件、锁、线程池、异步顺序与内存——每一层的基础。

9 个挑战

A01丢失的更新两笔存款同时执行,其中一笔悄无声息地消失了。时间线模拟器探索者7 分钟A02The DeadlockTwo transfers between the same accounts freeze each other forever.时间线模拟器工程师8 分钟A03The Thread Pool CollapseA slow third-party API takes down endpoints that never call it.性能实验室高级工程师10 分钟A04The Invisible MutationA single-threaded Node.js service shows customers prices in another customer's currency.时间线模拟器探索者6 分钟A05The Async TrapA batch job reports “done” before anything is saved.时间线模拟器工程师9 分钟A06The Memory That Never LeavesA service is OOM-killed every few hours and the team keeps raising the memory limit.调试实验室工程师8 分钟A61The Racy Cache MapA hand-written cache loads the same price three times and sometimes forgets everything.调试实验室工程师8 分钟A62The Starved Thread PoolEvery thread in the pool waits for work that can never start.调试实验室高级工程师9 分钟A81The Blocked Event LoopOne slow login freezes every request on a Node.js server.调试实验室工程师8 分钟