arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.14346cs.DC
收藏

使用全局时间的不透明快速通用分布式事务

Fast General Distributed Transactions with Opacity using Global Time

Alex Shamis, Matthew Renzelmann, Stanko Novakovic, Georgios Chatzopoulos, Anders T. Gjerdrum, Dan Alistarh, Aleksandar Dragojevic, Dushyanth Narayanan, Miguel Castro

摘要:

事务可以通过向应用程序开发人员隐藏数据分布、并发和故障来简化分布式应用程序。理想情况下,开发人员将看到一个单独的大型机器的抽象,该机器顺序地运行事务并且从不失败。这就要求事务子系统提供不透明性(对已提交和已中止的事务都严格可串行化),以及透明的高可用性容错。由于即使是最好的抽象,如果它们表现不佳,也不太可能被使用,因此系统还必须提供高性能。现有的分布式事务设计要么削弱了这种抽象,要么不是为数据中心内的最佳性能而设计的。本文扩展了FaRM的设计-仅为提交的事务提供严格的可串行化性-以提供不透明性,同时保持FaRM的高吞吐量,低延迟和高可用性在现代数据中心。它使用基于实时的的时间戳排序,时钟在整个集群中同步到几十微秒内,并使用故障转移协议来确保时钟主机故障的正确性。当在90台机器上运行TPC-C事务混合时,具有不透明性的FaRM每秒可以提交540万个新事务,并具有3路复制。

英文摘要:

Transactions can simplify distributed applications by hiding data distribution, concurrency, and failures from the application developer. Ideally the developer would see the abstraction of a single large machine that runs transactions sequentially and never fails. This requires the transactional subsystem to provide opacity (strict serializability for both committed and aborted transactions), as well as transparent fault tolerance with high availability. As even the best abstractions are unlikely to be used if they perform poorly, the system must also provide high performance. Existing distributed transactional designs either weaken this abstraction or are not designed for the best performance within a data center. This paper extends the design of FaRM - which provides strict serializability only for committed transactions - to provide opacity while maintaining FaRM's high throughput, low latency, and high availability within a modern data center. It uses timestamp ordering based on real time with clocks synchronized to within tens of microseconds across a cluster, and a failover protocol to ensure correctness across clock master failures. FaRM with opacity can commit 5.4 million neworder transactions per second when running the TPC-C transaction mix on 90 machines with 3-way replication.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑