"Transactions: myths, surprises and opportunities" by Martin Kleppmann
Strange Loop ConferenceYouTube ↗
延伸阅读 1
字幕解读
Kleppmann 的转账备份例子说明,逐笔读到已提交的数据,合计仍可能少一百元。读取两账户时跨过了转账提交点,每一笔都真,组合却不对应任何同一时刻。
视频与逐字稿来源 ↗ · 引文按字幕原文展示,可点时间戳回看片段。
补充字幕原文 2
you've seen different parts of the database at different points in timeyou only read the data once it's been committed