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 条
  • [31] Developer's Cognitive Effort Maintaining Monoliths vs. Microservices - An Eye-Tracking Study
    Simhandl, Georg
    Paulweber, Philipp
    Zdun, Uwe
    PROCEEDINGS OF THE 2023 30TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, APSEC 2023, 2023, : 339 - 348
  • [32] Streamlined orchestration: An orchestration workbench framework for effective teaching
    Phiri, Lighton
    Meinel, Christoph
    Suleman, Hussein
    COMPUTERS & EDUCATION, 2016, 95 : 231 - 238
  • [33] ROMA: Resource Orchestration for Microservices-based 5G Applications
    Gholami, Anousheh
    Rao, Kunal
    Hsiung, Wang-Pin
    Po, Oliver
    Sankaradas, Murugan
    Chakradhar, Srimat
    PROCEEDINGS OF THE IEEE/IFIP NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM 2022, 2022,
  • [34] MICROFUZZ: An Efficient Fuzzing Framework for Microservices
    Di, Peng
    Liu, Bingchang
    Gao, Yiyi
    2024 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE, ICSE-SEIP 2024, 2024, : 216 - 227
  • [35] A Formal Framework for Specifying and Verifying Microservices Based Process Flows
    Camilli, Matteo
    Bellettini, Carlo
    Capra, Lorenzo
    Monga, Mattia
    SOFTWARE ENGINEERING AND FORMAL METHODS, SEFM 2017, 2018, 10729 : 187 - 202
  • [36] Position paper: An integration approach of service composition models: From choreography to orchestration
    Rebai, Sirine
    Kacem, Hatem Hadj
    Kacem, Ahmed Hadj
    2012 IEEE 21ST INTERNATIONAL WORKSHOP ON ENABLING TECHNOLOGIES: INFRASTRUCTURE FOR COLLABORATIVE ENTERPRISES (WETICE), 2012, : 423 - 425
  • [37] Design of a Microservices Chaining Gamification Framework
    Queiros, Ricardo
    TRENDS AND INNOVATIONS IN INFORMATION SYSTEMS AND TECHNOLOGIES, VOL 3, 2020, 1161 : 327 - 333
  • [38] Microservices Management with the Unicorn Cloud Framework
    Feuerlicht, George
    Beranek, Marek
    Kovar, Vladimir
    PROCEEDINGS OF THE 22ND INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS (ICEIS), VOL 2, 2020, : 826 - 832
  • [39] Architecture and algorithms of the SOPHIE choreography framework
    Arroyo, Sinuhe
    Sicilia, Miguel-Angel
    JOURNAL OF INTELLIGENT INFORMATION SYSTEMS, 2010, 34 (02) : 193 - 221
  • [40] Architecture and algorithms of the SOPHIE choreography framework
    Sinuhé Arroyo
    Miguel-Angel Sicilia
    Journal of Intelligent Information Systems, 2010, 34 : 193 - 221