The Real Fullstack

分布式系统

幂等、Outbox、顺序、死信、消费延迟与 Saga。

9 个挑战

E25The Duplicate PaymentA timeout and a well-meant retry charge a customer twice.流程模拟器工程师10 分钟E26The Missing EventOrders exist in the database that the shipping service never heard about.流程模拟器高级工程师10 分钟E27The Out-of-Order DeliveryCancelled orders get shipped because “cancelled” arrived before “paid”.流程模拟器工程师8 分钟E28The Poison MessageOne malformed message stops every order behind it.时间线模拟器工程师7 分钟E29The Growing Kafka LagConsumer lag grows all day. Doubling the consumers changes nothing.性能实验室高级工程师9 分钟E30The Broken SagaA failed shipment refunds the customer twice and tells them before it happens.时间线模拟器架构师10 分钟E69The Split-Brain SchedulerTwo schedulers both believe they are the leader, and customers get two invoices.调试实验室高级工程师10 分钟E70Last Write Wins (Somebody Else's)Notes edited on two devices silently overwrite each other based on device clocks.时间线模拟器高级工程师9 分钟E85The Rebalance StormConsumers that take too long between polls get kicked out of the group, over and over.调试实验室高级工程师9 分钟