Microservices Orchestration vs. Choreography: A Decision Framework

被引:3
|
作者
Megargel, Alan [1 ]
Poskitt, Christopher M. [1 ]
Shankararaman, Venky [1 ]
机构
[1] Singapore Management Univ, Sch Comp & Informat Syst, Singapore, Singapore
关键词
microservices; orchestration; choreography; event-based; invocation-based; service-oriented architecture;
D O I
10.1109/EDOC52215.2021.00024
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Microservices-based applications consist of loosely coupled, independently deployable services that encapsulate units of functionality. To implement larger application processes, these microservices must communicate and collaborate. Typically, this follows one of two patterns: (1) choreography, in which communication is done via asynchronous message-passing; or (2) orchestration, in which a controller is used to synchronously manage the process flow. Choosing the right pattern requires the resolution of some trade-offs concerning coupling, chattiness, visibility, and design To address this problem, we propose a decision framework for microservices collaboration patterns that helps solution architects to crystallize their goals, compare the key factors, and then choose a pattern using a weighted scoring mechanism In cases where there is no clear preference, a hybrid pattern is suggested which inherits some strengths of both choreography and orchestration. We demonstrate the framework by evaluating the needs of three industry case studies (Danske Bank, LGB Bank, Netflix), showing that it leads to appropriate patterns being suggested. We are not aware of any existing decision frameworks to guide solution architects in choosing a microservices collaboration pattern.
引用
收藏
页码:134 / 141
页数:8
相关论文
共 50 条
  • [41] 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
  • [42] 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
  • [43] From WS-CDL choreography to BPEL process orchestration
    Mendling, Jan
    Hafner, Michael
    JOURNAL OF ENTERPRISE INFORMATION MANAGEMENT, 2008, 21 (05) : 525 - +
  • [44] 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
  • [45] 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 - +
  • [46] 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
  • [47] Applying orchestration and choreography of web services on dynamic virtual marketplaces
    Dos Santos, IJG
    Madeira, ERM
    INTERNATIONAL JOURNAL OF COOPERATIVE INFORMATION SYSTEMS, 2006, 15 (01) : 57 - 85
  • [48] Modeling web service choreography and orchestration with colored Petri nets
    Deng, Xinguo
    Lin, Ziyu
    Cheng, Weiqing
    Xiao, Ruliang
    Fang, Lina
    Li, Ling
    SNPD 2007: EIGHTH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING, AND PARALLEL/DISTRIBUTED COMPUTING, VOL 2, PROCEEDINGS, 2007, : 838 - +
  • [49] Embryology vs. clinic - the balance in decision making
    Ziebe, S.
    HUMAN REPRODUCTION, 2015, 30 : 63 - 63
  • [50] MPC vs. ARC-Not an 'either/or' decision
    Hill, Dick
    HYDROCARBON PROCESSING, 2011, 90 (01): : 13 - 13