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 条
  • [11] Conformance validation between choreography and orchestration
    Li, Jing
    Zhu, Huibiao
    Pu, Geguang
    TASE 2007: FIRST JOINT IEEE/IFIP SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING, PROCEEDINGS, 2007, : 473 - +
  • [12] Choreography and orchestration conformance for system design
    Busi, Nadia
    Gorrieri, Roberto
    Guidi, Claudio
    Lucchi, Roberto
    Zavattaro, Gianluigi
    COORDINATION MODELS AND LANGUAGES, PROCEEDINGS, 2006, 4038 : 63 - 81
  • [13] FORENSICS VS. ANTI-FORENSICS: A DECISION AND GAME THEORETIC FRAMEWORK
    Stamm, Matthew C.
    Lin, W. Sabrina
    Liu, K. J. Ray
    2012 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2012, : 1749 - 1752
  • [14] A Case for Microservices Orchestration Using Workflow Engines
    Nadeem, Anas
    Malik, Muhammad Zubair
    2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: NEW IDEAS AND EMERGING RESULTS (ICSE-NIER 2022), 2022, : 6 - 10
  • [15] Orchestration of Containerized Microservices for IIoT using Docker
    Rufino, Joao
    Alam, Muhammad
    Ferreira, Joaquim
    Rehman, Abdur
    Tsang, Kim Fung
    2017 IEEE INTERNATIONAL CONFERENCE ON INDUSTRIAL TECHNOLOGY (ICIT), 2017, : 1532 - 1536
  • [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] The relation between Web Services orchestration and choreography
    Wu Huaiguang
    Zhong Farong
    ICCSE'2006: Proceedings of the First International Conference on Computer Science & Education: ADVANCED COMPUTER TECHNOLOGY, NEW EDUCATION, 2006, : 716 - 718
  • [18] Services organisation in IoT : mixing Orchestration and Choreography
    Cherrier, Sylvain
    Langar, Rami
    2018 GLOBAL INFORMATION INFRASTRUCTURE AND NETWORKING SYMPOSIUM (GIIS), 2018,
  • [19] ORCHESTRATION AND CHOREOGRAPHY AT THE PIANO - AN INTERVIEW WITH MARCHAND,ANDREAS
    RANDLETT, S
    CLAVIER, 1975, 14 (06): : 20 - &
  • [20] Choreography and orchestration: A synergic approach for system design
    Busi, N
    Gorrieri, R
    Guidi, C
    Lucchi, R
    Zavattaro, G
    SERVICE-ORIENTED COMPUTING - ICSOC 2005, PROCEEDINGS, 2005, 3826 : 228 - 240