Brief Announcement: Linearizable State Machine Replication of State-Based CRDTs without Logs

被引:2
作者
Skrzypczak, Jan [1 ]
Schintke, Florian [1 ]
Schuett, Thorsten [1 ]
机构
[1] Zuse Inst Berlin, Berlin, Germany
来源
PROCEEDINGS OF THE 2019 ACM SYMPOSIUM ON PRINCIPLES OF DISTRIBUTED COMPUTING (PODC '19) | 2019年
关键词
state machine replication; conflict-free replicated data types; generalized lattice agreement; linearizabiliy;
D O I
10.1145/3293611.3331568
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
General solutions of state machine replication have to ensure that all replicas apply the same commands in the same order, even in the presence of failures. Such strict ordering incurs high synchronization costs due to the use of distributed consensus or a leader. This paper presents a protocol for linearizable state machine replication of conflict-free replicated data types (CRDTs) that neither requires consensus nor a leader. By leveraging the properties of state-based CRDTs-in particular the monotonic growth of a join semilattice-synchronization overhead is greatly reduced. In addition, updates just need a single round trip and modify the state 'in-place' without the need for a log. Furthermore, the message size overhead for coordination consists of a single counter per message. While reads in the presence of concurrent updates are not wait-free without a coordinator, we show that more than 97 % of reads can be handled in one or two round trips under highly concurrent accesses. Our protocol achieves high throughput without auxiliary processes such as command log management or leader election. It is well suited for all practical scenarios that need linearizable access on CRDT data on a fine-granular scale.
引用
收藏
页码:455 / 457
页数:3
相关论文
共 14 条
  • [1] Akka IO., 2019, AKKA DISTRIBUTED DAT
  • [2] Bourgon Peter, 2014, Roshi: A CRDT system for timestamped events
  • [3] Brown R., 2014, PAPEC EUROSYS 2014
  • [4] Faleiro JoseM., 2012, Proceedings of the 2012 ACM symposium on Principles of distributed computing, P125
  • [5] WAIT-FREE SYNCHRONIZATION
    HERLIHY, M
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1991, 13 (01): : 124 - 149
  • [6] LINEARIZABILITY - A CORRECTNESS CONDITION FOR CONCURRENT OBJECTS
    HERLIHY, MP
    WING, JM
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1990, 12 (03): : 463 - 492
  • [7] Imbs D., 2018, ICDCN 2018
  • [8] Lamport L., 2001, SIGACT News, V32, P51
  • [9] Lamport L., 2005, MSRTR200533 MSR
  • [10] There Is More Consensus in Egalitarian Parliaments
    Moraru, Iulian
    Andersen, David G.
    Kaminsky, Michael
    [J]. SOSP'13: PROCEEDINGS OF THE TWENTY-FOURTH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES, 2013, : 358 - 372