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 条
  • [41] Generality vs. Reusability in Architecture-Based Self-Adaptation: The Case for Self-Adaptive Microservices
    Mendonca, Nabor C.
    Garlan, David
    Schmerl, Bradley
    Camara, Javier
    ECSA 2018: PROCEEDINGS OF THE 12TH EUROPEAN CONFERENCE ON SOFTWARE ARCHITECTURE: COMPANION PROCEEDINGS, 2018,
  • [42] An extensible lightweight framework for distributed telemetry of microservices
    Otero, Manuel
    Garcia, Jose Maria
    Fernandez, Pablo
    SUSTAINABLE COMPUTING-INFORMATICS & SYSTEMS, 2025, 46
  • [43] A Metrics Framework for Evaluating Microservices Architecture Designs
    Al-Debagy, O.
    Martinek, P.
    JOURNAL OF WEB ENGINEERING, 2020, 19 (3-4): : 341 - 369
  • [44] From monolithic systems to Microservices: An assessment framework
    Auer, Florian
    Lenarduzzi, Valentina
    Felderer, Michael
    Taibi, Davide
    INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 137
  • [45] A Service-Oriented Architecture (SOA) Framework Component for Verification of Choreography
    Bhuyan, Prachet
    Ray, Abhishek
    Mohapatra, Durga Prasad
    COMPUTATIONAL INTELLIGENCE IN DATA MINING, VOL 3, 2015, 33
  • [46] Exploring the Potential of Global Types for Adding a Choreography Perspective to the jABC Framework
    Giannini, Paola
    Lamprecht, Anna-Lena
    Margaria, Tiziana
    PROCEEDINGS OF THE 4TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT (MODELSWARD 2016), 2016, : 368 - 376
  • [47] MicroValid: A Validation Framework for Automatically Decomposed Microservices
    Cojocaru, Michel
    Uta, Alexandru
    Oprescu, Ana
    11TH IEEE INTERNATIONAL CONFERENCE ON CLOUD COMPUTING TECHNOLOGY AND SCIENCE (CLOUDCOM 2019), 2019, : 78 - 86
  • [48] A Framework for Cognitive, Decentralized Container Orchestration
    Sofia, Rute C.
    Salomon, Josh
    Ferlin-Reiter, Simone
    Garces-Erice, Luis
    Urbanetz, Peter
    Mueller, Harald
    Touma, Rizkallah
    Espinosa, Alejandro
    Contreras, Luis M.
    Theodorou, Vasileios
    Psaromanolakis, Nikos
    Mamatas, Lefteris
    Tsaoussidis, Vassilis
    Fu, Xiaoming
    Yuan, Tingting
    del Rio, Alberto
    Jimenez, David
    Stam, Andries
    Paraskevoulakou, Efterpi
    Karamolegkos, Panagiotis
    Vieira, Vitor
    Martrat, Josep
    Prusiel, Ignacio Mariscal
    Matzakou, Dorine
    Soldatos, John
    Remon, David
    Jahn, Marco
    IEEE ACCESS, 2024, 12 : 79978 - 80008
  • [49] Demonstration of an Observability Framework for Cloud Native Microservices
    Marie-Magdelaine, Nicolas
    Ahmed, Toufik
    Astruc-Amato, Gauthier
    2019 IFIP/IEEE SYMPOSIUM ON INTEGRATED NETWORK AND SERVICE MANAGEMENT (IM), 2019, : 722 - 724
  • [50] Lightweight edge Slice Orchestration Framework
    Arora, Sagar
    Ksentini, Adlen
    Bonnet, Christian
    IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC 2022), 2022, : 865 - 870