"Testing Distributed Systems w/ Deterministic Simulation" by Will Wilson
Strange Loop ConferenceYouTube ↗
延伸阅读 1
字幕解读
FoundationDB 把调度和故障放进可重复的模拟环境。随机种子也成为输入,失败后可以重跑同一序列;团队还专门检查模拟本身是否偷偷引入了不确定性。
视频与逐字稿来源 ↗ · 引文按字幕原文展示,可点时间戳回看片段。
补充字幕原文 2
the seed of that random number generator becomes part of the input of the programif those don't match exactly we know there was a determinism failure