基于失效的复制数据存储协议
Invalidation-Based Protocols for Replicated Datastores
摘要:
分布式内存数据存储支持在数据中心内运行的云应用程序,并要求高性能,强一致性和可用性。数据存储的一个关键特性是数据复制。数据在服务器之间复制,因为单个服务器通常无法处理请求负载。为了保证服务器或链路故障不会使数据集的某一部分不可访问,复制也是必要的。复制协议通过确定访问和操作数据所需的操作,负责确保数据库副本之间的强一致性,即使在发生故障时也是如此。因此,复制协议也会影响网络服务器的性能。现有的强一致性复制协议提供了容错,但在性能方面存在不足。与此同时,在多处理器的世界中,数据被复制到不同核心的私有缓存中。多处理器机制使用失效来提供高性能的强一致性复制,但忽略了容错。虽然处理数据中心中的故障对于数据可用性至关重要,但我们观察到,常见操作是无故障的,并且远远超过故障期间的操作。换句话说,数据中心内部的通用操作环境与多处理器非常相似。基于这一见解,我们从多处理器中获得灵感,以实现数据中心的高性能、强一致性复制。本论文的主要贡献在于使失效协议适应复制数据存储的细微差别,包括偏斜数据访问、容错和分布式事务。
英文摘要:
Distributed in-memory datastores underpin cloud applications that run within a datacenter and demand high performance, strong consistency, and availability. A key feature of datastores is data replication. The data are replicated across servers because a single server often cannot handle the request load. Replication is also necessary to guarantee that a server or link failure does not render a portion of the dataset inaccessible. A replication protocol is responsible for ensuring strong consistency between the replicas of a datastore, even when faults occur, by determining the actions necessary to access and manipulate the data. Consequently, a replication protocol also drives the datastore's performance. Existing strongly consistent replication protocols deliver fault tolerance but fall short in terms of performance. Meanwhile, the opposite occurs in the world of multiprocessors, where data are replicated across the private caches of different cores. The multiprocessor regime uses invalidations to afford strongly consistent replication with high performance but neglects fault tolerance. Although handling failures in the datacenter is critical for data availability, we observe that the common operation is fault-free and far exceeds the operation during faults. In other words, the common operating environment inside a datacenter closely resembles that of a multiprocessor. Based on this insight, we draw inspiration from the multiprocessor for high-performance, strongly consistent replication in the datacenter. The primary contribution of this thesis is in adapting invalidating protocols to the nuances of replicated datastores, which include skewed data accesses, fault tolerance, and distributed transactions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。