Microservices Orchestration vs. Choreography: A Decision Framework

被引:4
作者
Megargel, Alan [1 ]
Poskitt, Christopher M. [1 ]
Shankararaman, Venky [1 ]
机构
[1] Singapore Management Univ, Sch Comp & Informat Syst, Singapore, Singapore
来源
2021 IEEE 25TH INTERNATIONAL ENTERPRISE DISTRIBUTED OBJECT COMPUTING CONFERENCE (EDOC 2021) | 2021年
关键词
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 条
  • [11] Web Services Choreography and Orchestration in Reo and Constraint Automata
    Meng, Sun
    Arbab, Farhad
    APPLIED COMPUTING 2007, VOL 1 AND 2, 2007, : 346 - 353
  • [12] 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
  • [13] 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
  • [14] 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
  • [15] 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 - +
  • [16] Ad hoc vs. Organised Orchestration: A Comparative Analysis of Technology-driven Orchestration Approaches
    Phiri, Lighton
    Meinel, Christoph
    Suleman, Hussein
    2016 IEEE 8TH INTERNATIONAL CONFERENCE ON TECHNOLOGY FOR EDUCATION (T4E 2016), 2016, : 200 - 203
  • [17] Orchestration- and choreography-based composition of Internet of Transactional Things
    Zakaria Maamar
    Muhammad Asim
    Saoussen Cheikhrouhou
    Ayesha Qamar
    Service Oriented Computing and Applications, 2021, 15 : 157 - 170
  • [18] Services Collaboration in Wireless Sensor and Actuator Networks: Orchestration versus Choreography
    Cherrier, Sylvain
    Ghamri-Doudane, Yacine M.
    Lohier, Stephane
    Roussel, Gilles
    2012 IEEE SYMPOSIUM ON COMPUTERS AND COMMUNICATIONS (ISCC), 2012, : 411 - 418
  • [19] Orchestration- and choreography-based composition of Internet of Transactional Things
    Maamar, Zakaria
    Asim, Muhammad
    Cheikhrouhou, Saoussen
    Qamar, Ayesha
    SERVICE ORIENTED COMPUTING AND APPLICATIONS, 2021, 15 (02) : 157 - 170
  • [20] A Microservices Orchestration Library based on PHP and RESTful API
    Lee, Wen-Tin
    Wu, Meng-Hsien
    Liu, Zhun-Wei
    Lee, Shin-Jie
    JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2022, 38 (06) : 1133 - 1147