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
相关论文
共 12 条
  • [1] Alshuqayran N., 2016, P 9 INT C SERV OR CO
  • [2] Bak P, 2015, IEEE INT CONF MO, P1, DOI [10.1109/MS.2015.11, 10.1109/MobServ.2015.11]
  • [3] Batra R.K., 1992, P 12 INT C DISTR COM
  • [4] BERNSTEIN PA, 1981, COMPUT SURV, V13, P185, DOI 10.1145/356842.356846
  • [5] Di Francesco Paolo., 2017 IEEE INT C SOFT
  • [6] Elmagarmid A.K., 1990, P 6 INT C DAT ENG
  • [7] Garcia-Molina Hector, P 1987 ACM SIGMOD IN, P249
  • [8] Container and Microservice Driven Design for Cloud Infrastructure DevOps
    Kang, Hui
    Le, Michael
    Tao, Shu
    [J]. PROCEEDINGS 2016 IEEE INTERNATIONAL CONFERENCE ON CLOUD ENGINEERING (IC2E), 2016, : 202 - 211
  • [9] Macker J. P., 2017, FUTURE GENERATION CO
  • [10] The Database-is-the-Service Pattern for Microservice Architectures
    Messina, Antonio
    Rizzo, Riccardo
    Storniolo, Pietro
    Tripiciano, Mario
    Urso, Alfonso
    [J]. Information Technology in Bio- and Medical Informatics, 2016, 9832 : 223 - 233