Gleaning the Consensus for Linearizable and Conflict-Free Per-Replica Local Reads

被引:0
|
作者
Yi, Jian [1 ]
Li, Qing [2 ]
Zhang, Bin [2 ]
Jiang, Yong [1 ]
Zhao, Dan [2 ]
Yang, Yuan [3 ]
Yuan, Zhenhui [4 ]
机构
[1] Tsinghua Univ, Shenzhen Int Grad Sch, Shenzhen, Peoples R China
[2] Peng Cheng Lab, Shenzhen, Peoples R China
[3] Tsinghua Univ, Beijing, Peoples R China
[4] Northumbria Univ, Newcastle Upon Tyne, Tyne & Wear, England
来源
PROCEEDINGS OF THE 7TH ASIA-PACIFIC WORKSHOP ON NETWORKING, APNET 2023 | 2023年
基金
国家重点研发计划; 中国国家自然科学基金;
关键词
linearizability; consensus; key-value application;
D O I
10.1145/3600061.3603175
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The optimal read strategy for strong consistent key-value applications is to enable the per-replica local reads that each replica has the ability to serve reads locally. Unfortunately, current schemes for the per-replica local reads are perplexed by two issues. First, some schemes have to violate the per-replica local reads when the workload is skewed, degrading the throughput. Second, most of current schemes rely on leases or a specialized hardware to guarantee the linearizability, bringing difficulties to the deployment. In this paper, we proposes Glean, a linearizable read protocol that solves the issues of current schemes. In Glean, replica nodes always serve reads locally and we ask clients to validate the linearizability. To achieve the validation, Glean designs a novel read algorithm that allows the client to glean a consensus hint from replicas and enables replicas to contribute to the validation lightweight and fast. We implement Glean with a widely-used software stack. Our 3-replica evaluation shows that the throughput of Glean is at most 2.1x to the throughput of an unreplicated application under heavy-read workloads.
引用
收藏
页码:143 / 149
页数:7
相关论文
empty
未找到相关数据