只要会话还存在,系统就保证“读己之所写”一致性,系统保证也不会延续到新的会话。 单调读一致性(Monotonic read consistency):如果进程已经看到过数据对象的某个值,那么任何后续访问都不会返回在那个值之前的值。
基于46个网页-相关网页
有很多改善最终一致性模型的实用方法,比如会话级别的一致性和单调读一致性,它们都为开发人员提供了更好的工具。
There are a number of practical improvements to the eventual consistency model, such as session-level consistency and monotonic reads, which provide better tools for the developer.
这样做会使管理负载平衡以及容错变得稍困难一些,但这是一种简单的方案…… 客户端有时会实现“读己之所写”一致性和单调读一致性。
This makes it slightly harder to manage load balancing and fault tolerance, but it is a simple solution... Sometimes the client implements read-your-writes and monotonic reads.
如果每次都是同一台服务器,那么就比较容易保证“读己之所写”一致性和单调一致性。
If this is the same server every time, then it is relatively easy to guarantee read-your-writes and monotonic reads.
应用推荐