引用senderista · 2024-06
“You actually don't need the first constraint at all for serializability: see "A Critique of Snapshot Isolation"”
引它说明可串行化其实不需要第一个约束
提出写快照隔离:性能接近快照隔离,却能保证可串行化
论文指出,大规模数据存储(如 HBase、BigTable 上的 Percolator)为了效率常放弃可串行化,改用快照隔离这类较弱的隔离级别,让开发者承担异常。作者证明在无锁实现中这种妥协并不必要,提出 write-snapshot isolation:它防止读写冲突而不是写写冲突,性能与快照隔离相当,同时提供可串行化。
评论者用它说明实现可串行化并不必须依赖快照隔离的第一条约束,可以通过检测读写冲突来做到。
“You actually don't need the first constraint at all for serializability: see "A Critique of Snapshot Isolation"”