An Approach for Supporting Transparent ACID Transactions over Heterogeneous Data Stores in Microservice Architectures

被引:0
|
作者
Nikolic, Lazar [1 ]
Dimitrieski, Vladimir [1 ]
Celikovic, Milan [1 ]
机构
[1] Univ Novi Sad, Fac Tech Sci, Trg Dositeja Obradovica 6, Novi Sad 21000, Serbia
关键词
distributed transaction management; consistency; microservice; saga; 2pc; acid; base; CONCURRENCY-CONTROL;
D O I
10.2298/CSIS221210006N
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Microservice architectures (MSA) are becoming a preferred architectural style for data -driven applications. A transaction within MSA can include remote calls to multiple services, turning it into a distributed transaction. Participating services may have their own data stores running local transactions with varying levels of transactional support and consistency guarantees. Coordinating distributed transactions in such an environment is a key challenge for MSA. The existing approaches are either highly consistent at the expense of scalability or scalable at the expense of consistency. Furthermore, implementing any of them requires architectural and code adaptation. In this article, we present the Service Proxy Transaction Management (SPTM) approach, which offers scalable reads and ACID transactions in MSA. The novelty of this approach is that it is based on intercepting inbound messages to services, rather than having services directly communicate with a transaction manager. As a result, transaction management is completely transparent to services and has little -to -no impact on code or architecture. We provide experimental results showing that SPTM can outperform lock -based approaches by up to a factor of 2, while still providing high consistency without the scaling bottleneck associated with locking.
引用
收藏
页码:167 / 202
页数:36
相关论文
共 23 条
  • [1] Supporting Architectural Decision Making on Data Management in Microservice Architectures
    Ntentos, Evangelos
    Zdun, Uwe
    Plakidas, Konstantinos
    Schall, Daniel
    Li, Fei
    Meixner, Sebastian
    SOFTWARE ARCHITECTURE, ECSA 2019, 2019, 11681 : 20 - 36
  • [2] Epoxy: ACID Transactions Across Diverse Data Stores
    Kraft, Peter
    Li, Qian
    Zhou, Xinjing
    Bailis, Peter
    Stonebraker, Michael
    Zaharia, Matei
    Yu, Xiangyao
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2023, 16 (11): : 2742 - 2754
  • [3] A Federated Approach on Heterogeneous NoSQL Data Stores
    Dharmasiri, H. M. L.
    Goonetillake, M. D. J. S.
    2013 INTERNATIONAL CONFERENCE ON ADVANCES IN ICT FOR EMERGING REGIONS (ICTER), 2013, : 234 - 239
  • [4] An Extensible Data-Driven Approach for Evaluating the Quality of Microservice Architectures
    Cardarelli, Mario
    Iovino, Ludovico
    Di Francesco, Paolo
    Di Salle, Amleto
    Malavolta, Ivano
    Lago, Patricia
    SAC '19: PROCEEDINGS OF THE 34TH ACM/SIGAPP SYMPOSIUM ON APPLIED COMPUTING, 2019, : 1225 - 1234
  • [5] Scalable Transactions across Heterogeneous NoSQL Key-Value Data Stores
    Dey, Akon
    Fekete, Alan
    Roehm, Uwe
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2013, 6 (12): : 1434 - 1439
  • [6] Fed-agent - a Transparent ACID-Enabled Transactional Layer for Multidatabase Microservice Architectures
    Nikolic, Lazar
    Dimitrieski, Vladimir
    PROCEEDINGS OF THE 2021 16TH CONFERENCE ON COMPUTER SCIENCE AND INTELLIGENCE SYSTEMS (FEDCSIS), 2021, : 489 - 492
  • [7] A Novel Data Visualization Approach and Scheme for Supporting Heterogeneous Data
    Liu, Qin
    Guo, Xiaowei
    Fan, Hongfei
    Zhu, Hongming
    PROCEEDINGS OF 2017 IEEE 2ND INFORMATION TECHNOLOGY, NETWORKING, ELECTRONIC AND AUTOMATION CONTROL CONFERENCE (ITNEC), 2017, : 1259 - 1263
  • [8] SyD: A middleware testbed for collaborative applications over small heterogeneous devices and data stores
    Prasad, SK
    Madisetti, V
    Navathe, SB
    Sunderraman, R
    Dogdu, E
    Bourgeois, A
    Weeks, M
    Liu, B
    Balasooriya, J
    Hariharan, A
    Xie, WX
    Madiraju, P
    Malladi, S
    Sivakumar, R
    Zelikovsky, A
    Zhang, YQ
    Pan, Y
    Belkasim, S
    MIDDLEWARE 2004, PROCEEDINGS, 2004, 3231 : 352 - 371
  • [9] Enforcing interdependencies and executing transactions atomically over autonomous mobile data stores using SyD link technology
    Prasad, SK
    Bourgeois, AG
    Dogdu, E
    Sunderraman, R
    Pan, Y
    Navathe, S
    Madisetti, V
    23RD INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS WORKSHOPS, 2003, : 803 - 809
  • [10] Performance Analysis of Big Data ETL Process over CPU-GPU Heterogeneous Architectures
    Lee, Suyeon
    Park, Sungyong
    2021 IEEE 37TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING WORKSHOPS (ICDEW 2021), 2021, : 42 - 47