跳到主要导航 跳到搜索 跳到主要内容

2PC+: A high performance protocol for distributed transactions of micro-service architecture

  • Pan Fan
  • , Jing Liu*
  • , Wei Yin
  • , Hui Wang
  • , Xiaohong Chen
  • , Haiying Sun
  • *此作品的通讯作者
  • East China Normal University
  • Shanghai Avionics co. Ltd

科研成果: 书/报告/会议事项章节章节同行评审

摘要

Distributed storage systems run transactions across machines to ensure serializability in single-service architecture. Traditional protocols for distributed transactions are based on two-phase commit (2PC) or multi-version concurrency control (MVCC). 2PC serializes transactions as soon as they conflict and MVCC resorts to aborts, leaving many opportunities for con-currency on the distributed storage system. In the micro-service architecture, service nodes are deployed in heterogeneous distributed systems. 2PC and MVCC are struggling to break through the performance limitations of their existence. This paper presents 2PC+, a novel concurrency control protocol for distributed transactions that outperforms 2PC allowing more concurrency in micro-service architecture. 2PC+ is based on the traditional 2PC and MVCC, combined with transaction thread synchronization blocking optimization algorithm SAOLA. Then, we verify the algorithm SAOLA using the temporal logic of action TLA+ language. Finally, we compare 2PC+ to 2PC applying a case of Ctrip MSECP. When concurrent threads of the service call reach a certain threshold, 2PC+’s RT performance is improved by 2.87 times to 3.77 times compared with 2PC, and 2PC+’s TPS performance is 323.7% to 514.4% higher than 2PC.

源语言英语
主期刊名EAI/Springer Innovations in Communication and Computing
出版商Springer Science and Business Media Deutschland GmbH
93-105
页数13
DOI
出版状态已出版 - 2021

出版系列

姓名EAI/Springer Innovations in Communication and Computing
ISSN(印刷版)2522-8595
ISSN(电子版)2522-8609

学术指纹

探究 '2PC+: A high performance protocol for distributed transactions of micro-service architecture' 的科研主题。它们共同构成独一无二的学术指纹。

引用此