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 条
  • [1] Orchestration vs. Choreography Functional Association for Future Automation Systems
    Stutz, Andreas
    Fay, Alexander
    Barth, Mike
    Maurmaier, Mathias
    IFAC PAPERSONLINE, 2020, 53 (02): : 8268 - 8275
  • [2] A Semantical Framework for the Orchestration and Choreography of Web Services
    Pahl, Claus
    Zhu, Yaoling
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 151 (02) : 3 - 18
  • [3] Microservices: Granularity vs. Performance
    Shadija, Dharmendra
    Rezai, Mo
    Hill, Richard
    COMPANION PROCEEDINGS OF THE 10TH INTERNATIONAL CONFERENCE ON UTILITY AND CLOUD COMPUTING (UCC'17 COMPANION), 2017, : 215 - 220
  • [4] Telecom Microservices Orchestration
    Luong, Duc-Hung
    Thieu, Huu-Trung
    Outtagarts, Abdelkader
    Mongazon-Cazavet, Bruno
    2017 IEEE CONFERENCE ON NETWORK SOFTWARIZATION (IEEE NETSOFT), 2017,
  • [5] COLLABORATION VS. CHOREOGRAPHY CONFORMANCE IN BPMN
    Corradini, Flavio
    Morichetta, Andrea
    Polini, Andrea
    Re, Barbara
    Tiezzi, Francesco
    LOGICAL METHODS IN COMPUTER SCIENCE, 2020, 16 (04) : 7:1 - 7:37
  • [6] Microservices Security: Bad vs. Good Practices
    Ponce, Francisco
    Soldani, Jacopo
    Astudillo, Hernan
    Brogi, Antonio
    SOFTWARE ARCHITECTURE. ECSA 2022 TRACKS AND WORKSHOPS, 2023, 13928 : 337 - 352
  • [7] Web services orchestration and choreography
    Peltz, C
    COMPUTER, 2003, 36 (10) : 46 - +
  • [8] Containerized Microservices Orchestration and Provisioning in Cloud Computing: A Conceptual Framework and Future Perspectives
    Saboor, Abdul
    Hassan, Mohd Fadzil
    Akbar, Rehan
    Shah, Syed Nasir Mehmood
    Hassan, Farrukh
    Magsi, Saeed Ahmed
    Siddiqui, Muhammad Aadil
    APPLIED SCIENCES-BASEL, 2022, 12 (12):
  • [9] Choreography-based vs Orchestration-based Service Composition in Opportunistic Networks
    Baklouti, Fadhlallah
    Le Sommer, Nicolas
    Maheo, Yves
    2017 IEEE 13TH INTERNATIONAL CONFERENCE ON WIRELESS AND MOBILE COMPUTING, NETWORKING AND COMMUNICATIONS (WIMOB), 2017, : 731 - 738
  • [10] Insights into Web Service Orchestration and Choreography
    Daniel, Florian
    Pernici, Barbara
    INTERNATIONAL JOURNAL OF E-BUSINESS RESEARCH, 2006, 2 (01) : 58 - 77