← 返回卡片

原书出处

Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…

04 Consistency and Availability

First Edition · 核验版本的摘录快照 · 导入于 2026-10-23T22:47:10.391Z

Optimistic locking, on the other hand, assumes that conflicts are rare and allows transactions to proceed without locking. It relies on version control to detect conflicts. Each resource is assigned a version number or a timestamp, and when a transaction reads a resource, it retrieves the current version number along with the data.

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch04.xhtml

EPUB SHA-256:357a47122841cb03cd2ff1d58b4eb7ee46e4e6e2e56a004d65a18587568e05ff