原书出处
Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…
04 Consistency and Availability
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