"Testing Distributed Systems w/ Deterministic Simulation" by Will Wilson
12 人推荐 · 跨 11 个月 · 2014–2024

中文导读
FoundationDB 联合创始人 Will Wilson 揭秘他们如何通过“确定性仿真”(Deterministic Simulation Testing)测试分布式数据库:将整套系统置于模拟器中,通过随机种子注入网络分区与节点故障,使极难排查的高并发偶发 Bug 100% 可复现。
为什么 HN 推它
分布式系统与工程测试领域的圭臬之作,淋漓尽致地展现了工程严谨性到底能推到什么高度,看过的工程师无不深受震撼。
「这是分布式系统领域最让人拍案叫绝的演讲之一。」HN 网友原话:this is one of the most amazing talks on distributed systems
英文原摘要(HackerTube / Claude 整理)
Will Wilson of FoundationDB explains how the team tested their distributed database using deterministic simulation. By running the whole system in a simulator with injected faults and reproducible seeds, they could find rare concurrency and network bugs.
HN treats it as the canonical talk on simulation testing and a mind-blowing example of how far rigorous testing can go.
HN 上的提及
you should take a look at the talk my colleague Will Wilson gave at Strange Loop
It's well worth a watch if you want to understand the punishment that they put this database through
Cited as evidence of FoundationDB's heavy focus on testing
I recommend watching the whole thing
Few ideas what could go wrong you can get from this video