Comparison of Event Choreography and Orchestration Techniques in Microservice Architecture

被引:0
|
作者
Rudrabhatla, Chaitanya K. [1 ]
机构
[1] Solut Architect, Media & Entertainment Domain, Los Angeles, CA 90079 USA
关键词
Microservice architecture; database per service pattern; Saga pattern; orchestration; event choreography; No-SQL database; 2 phase commit;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Microservice Architecture (MSA) is an architectural design pattern which was introduced to solve the challenges involved in achieving the horizontal scalability, high availability, modularity and infrastructure agility for the traditional monolithic applications. Though MSA comes with a large set of benefits, it is challenging to design isolated services using independent Database per Service pattern. We observed that with each micro service having its own database, when transactions span across multiple services, it becomes challenging to ensure data consistency across databases, particularly in case of roll backs. In case of monolithic applications using RDBMS databases, these distributed transactions and roll backs can be handled efficiently using 2 phase commit techniques. These techniques cannot be applied for isolated No-SQL databases in micro services. This research paper aims to address three things: 1) elucidate the challenges with distributed transactions and rollbacks in isolated No-SQL databases with dependent collections in MSA, 2) examine the application of event choreography and orchestration techniques for the Saga pattern implementation, and 3) present the fact-based recommendations on the saga pattern implementations for the use cases.
引用
收藏
页码:18 / 22
页数:5
相关论文
共 50 条
  • [31] Microservice compositions based on the choreography of BPMN fragments: facing evolution issues
    Jesus Ortiz
    Victoria Torres
    Pedro Valderas
    Computing, 2023, 105 : 375 - 416
  • [32] Microservice compositions based on the choreography of BPMN fragments: facing evolution issues
    Ortiz, Jesus
    Torres, Victoria
    Valderas, Pedro
    COMPUTING, 2023, 105 (02) : 375 - 416
  • [33] Supply Chain Orchestration and Choreography: Programmable Logistics Using Semantics
    Dalmolen, S.
    Moonen, H. M.
    van Hillegersberg, J.
    Stoter, A. J. R.
    Cornelisse, E.
    2015 4TH IEEE INTERNATIONAL CONFERENCE ON ADVANCED LOGISTICS AND TRANSPORT (ICALT), 2015, : 88 - 93
  • [34] CSP-based verification for web service orchestration and choreography
    Yeung, W. L.
    SIMULATION-TRANSACTIONS OF THE SOCIETY FOR MODELING AND SIMULATION INTERNATIONAL, 2007, 83 (01): : 65 - 74
  • [35] Runtime Logistic Process Orchestration Based on Business Transaction Choreography
    Hofman, Wout
    BUSINESS PROCESS MANAGEMENT WORKSHOPS (BPM), 2013, 132 : 550 - 559
  • [36] Mathematical models creation using orchestration and choreography of web services
    Terpak, Jan
    Horovcak, Pavel
    Lukac, Matej
    PROCEEDINGS OF THE 2016 17TH INTERNATIONAL CARPATHIAN CONTROL CONFERENCE (ICCC), 2016, : 739 - 742
  • [37] From WS-CDL choreography to BPEL process orchestration
    Mendling, Jan
    Hafner, Michael
    JOURNAL OF ENTERPRISE INFORMATION MANAGEMENT, 2008, 21 (05) : 525 - +
  • [38] Relating two automata-based models of orchestration and choreography
    Basile, D.
    Degano, P.
    Ferrari, G. L.
    Tuosto, E.
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2016, 85 (03) : 425 - 446
  • [39] Exploring the connection of choreography and orchestration with exception handling and finalization/compensation
    Yang, Hougli
    Zhao, Xiangpeng
    Cai, Chao
    Qiu, Zongyan
    FORMAL TECHNIQUES FOR NETWORKED AND DISTRIBUTED SYSTEMS - FORTE 2007, 2007, 4574 : 81 - +
  • [40] Research on Projection from Choreography to Orchestration Based on Role Correlation
    Xu Donghong
    Li Zheng
    Qi Yong
    Jiang Shujuan
    INFORMATION-AN INTERNATIONAL INTERDISCIPLINARY JOURNAL, 2012, 15 (11B): : 5009 - 5027