GentleRain +:使GentleRain在时钟异常时具有强大的鲁棒性
GentleRain+: Making GentleRain Robust on Clock Anomalies
摘要:
因果一致性是在一个中间的一致性模型,可以实现高可用性和高性能的要求,即使在网络分区的存在。在文献中有几个建议因果一致的数据存储。由于使用单标量物理时钟,GentleRain的吞吐量高于COPS或Orbe等其他提案。然而,它的正确性和性能依赖于单调同步的物理时钟。具体地说,如果物理时钟倒退,它的正确性就被破坏了。此外,GentleRain对时钟同步敏感,并且时钟偏斜可能会减慢GenlteRain中的写入操作。在本文中,我们希望通过使用混合逻辑时钟(HLC)而不是物理时钟来解决GenlteRain中的这个问题。使用HLC,GentleRain协议不再对时钟偏差敏感。此外,即使时钟倒退,也不会违反系统的正确性。此外,通过HLC,我们使用非常接近物理时钟的时钟来标记版本。因此,我们可以采取因果一致性快照的系统在任何给定的物理时间。我们将GentleRain协议与HLC GentleRain+结合使用。我们已经实现了GentleRain+协议,并进行了实验评估。与GentleRain相比,GentleRain+提供更快的写入操作,仅依赖于物理时钟来实现因果一致性。我们还表明,使用HLC而不是物理时钟没有任何开销。因此,它使GentleRain在时钟异常方面更加强大,而无需任何成本。
英文摘要:
Causal consistency is in an intermediate consistency model that can be achieved together with high availability and high performance requirements even in presence of network partitions. There are several proposals in the literature for causally consistent data stores. Thanks to the use of single scalar physical clocks, GentleRain has a throughput higher than other proposals such as COPS or Orbe. However, both of its correctness and performance relay on monotonic synchronized physical clocks. Specifically, if physical clocks go backward its correctness is violated. In addition, GentleRain is sensitive on the clock synchronization, and clock skew may slow write operations in GenlteRain. In this paper, we want to solve this issue in GenlteRain by using Hybrid Logical Clock (HLC) instead of physical clocks. Using HLC, GentleRain protocl is not sensitive on the clock skew anymore. In addition, even if clocks go backward, the correctness of the system is not violated. Furthermore, by HLC, we timestamp versions with a clock very close to the physical clocks. Thus, we can take causally consistency snapshot of the system at any give physical time. We call GentleRain protocol with HLCs GentleRain+. We have implemented GentleRain+ protocol, and have evaluated it experimentally. GentleRain+ provides faster write operations compare to GentleRain that rely solely on physical clocks to achieve causal consistency. We have also shown that using HLC instead of physical clock does not have any overhead. Thus, it makes GentleRain more robust on clock anomalies at no cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。