An Empirical Study on Challenges of Event Management in Microservice Architectures. Laigner, R., Almeida, A. C., Assunção, W. K. G., & Zhou, Y. Technical Report 2024. Paper abstract bibtex Microservices emerged as a popular architectural style over the last decade. Although microservices are designed to be self-contained, they must communicate to realize business capabilities, creating dependencies among their data and functionalities. Developers then resort to asynchronous, event-based communication to fulfill such dependencies while reducing coupling. However, developers are often oblivious to the inherent challenges of the asynchronous and event-based paradigm, leading to frustrations and ultimately making them reconsider the adoption of microservices. To make matters worse, there is a scarcity of literature on the practices and challenges of designing, implementing, testing, monitoring, and troubleshooting event-based microservices. To fill this gap, this paper provides the first comprehensive characterization of event management practices and challenges in microservices based on a repository mining study of over 8000 Stack Overflow questions. Moreover, 628 relevant questions were randomly sampled for an in-depth manual investigation of challenges. We find that developers encounter many problems, including large event payloads, modeling event schemas, auditing event flows, and ordering constraints in processing events. This suggests that developers are not sufficiently served by state-of-the-practice technologies. We provide actionable implications to developers, technology providers, and researchers to advance event management in microservices.
@techreport{event_survey,
title = {An Empirical Study on Challenges of Event Management in Microservice Architectures},
author = {Rodrigo Laigner and Ana Carolina Almeida and Wesley K. G. Assunção and Yongluan Zhou},
year = 2024,
url = {https://www.researchgate.net/publication/382797129_An_Empirical_Study_on_Challenges_of_Event_Management_in_Microservice_Architectures},
eprint = {2408.00440},
archiveprefix = {arXiv},
primaryclass = {cs.SE},
type = {WorkingPaper},
abstract = {Microservices emerged as a popular architectural style over the last decade. Although microservices are designed to be self-contained, they must communicate to realize business capabilities, creating dependencies among their data and functionalities. Developers then resort to asynchronous, event-based communication to fulfill such dependencies while reducing coupling. However, developers are often oblivious to the inherent challenges of the asynchronous and event-based paradigm, leading to frustrations and ultimately making them reconsider the adoption of microservices. To make matters worse, there is a scarcity of literature on the practices and challenges of designing, implementing, testing, monitoring, and troubleshooting event-based microservices. To fill this gap, this paper provides the first comprehensive characterization of event management practices and challenges in microservices based on a repository mining study of over 8000 Stack Overflow questions. Moreover, 628 relevant questions were randomly sampled for an in-depth manual investigation of challenges. We find that developers encounter many problems, including large event payloads, modeling event schemas, auditing event flows, and ordering constraints in processing events. This suggests that developers are not sufficiently served by state-of-the-practice technologies. We provide actionable implications to developers, technology providers, and researchers to advance event management in microservices.}
}
Downloads: 0
{"_id":"Dtnh7QN8hPy6aLYWF","bibbaseid":"laigner-almeida-assuno-zhou-anempiricalstudyonchallengesofeventmanagementinmicroservicearchitectures-2024","author_short":["Laigner, R.","Almeida, A. C.","Assunção, W. K. G.","Zhou, Y."],"bibdata":{"bibtype":"techreport","type":"WorkingPaper","title":"An Empirical Study on Challenges of Event Management in Microservice Architectures","author":[{"firstnames":["Rodrigo"],"propositions":[],"lastnames":["Laigner"],"suffixes":[]},{"firstnames":["Ana","Carolina"],"propositions":[],"lastnames":["Almeida"],"suffixes":[]},{"firstnames":["Wesley","K.","G."],"propositions":[],"lastnames":["Assunção"],"suffixes":[]},{"firstnames":["Yongluan"],"propositions":[],"lastnames":["Zhou"],"suffixes":[]}],"year":"2024","url":"https://www.researchgate.net/publication/382797129_An_Empirical_Study_on_Challenges_of_Event_Management_in_Microservice_Architectures","eprint":"2408.00440","archiveprefix":"arXiv","primaryclass":"cs.SE","abstract":"Microservices emerged as a popular architectural style over the last decade. Although microservices are designed to be self-contained, they must communicate to realize business capabilities, creating dependencies among their data and functionalities. Developers then resort to asynchronous, event-based communication to fulfill such dependencies while reducing coupling. However, developers are often oblivious to the inherent challenges of the asynchronous and event-based paradigm, leading to frustrations and ultimately making them reconsider the adoption of microservices. To make matters worse, there is a scarcity of literature on the practices and challenges of designing, implementing, testing, monitoring, and troubleshooting event-based microservices. To fill this gap, this paper provides the first comprehensive characterization of event management practices and challenges in microservices based on a repository mining study of over 8000 Stack Overflow questions. Moreover, 628 relevant questions were randomly sampled for an in-depth manual investigation of challenges. We find that developers encounter many problems, including large event payloads, modeling event schemas, auditing event flows, and ordering constraints in processing events. This suggests that developers are not sufficiently served by state-of-the-practice technologies. We provide actionable implications to developers, technology providers, and researchers to advance event management in microservices.","bibtex":"@techreport{event_survey,\n\ttitle = {An Empirical Study on Challenges of Event Management in Microservice Architectures},\n\tauthor = {Rodrigo Laigner and Ana Carolina Almeida and Wesley K. G. Assunção and Yongluan Zhou},\n\tyear = 2024,\n\turl = {https://www.researchgate.net/publication/382797129_An_Empirical_Study_on_Challenges_of_Event_Management_in_Microservice_Architectures},\n\teprint = {2408.00440},\n\tarchiveprefix = {arXiv},\n\tprimaryclass = {cs.SE},\n\ttype = {WorkingPaper},\n\tabstract = {Microservices emerged as a popular architectural style over the last decade. Although microservices are designed to be self-contained, they must communicate to realize business capabilities, creating dependencies among their data and functionalities. Developers then resort to asynchronous, event-based communication to fulfill such dependencies while reducing coupling. However, developers are often oblivious to the inherent challenges of the asynchronous and event-based paradigm, leading to frustrations and ultimately making them reconsider the adoption of microservices. To make matters worse, there is a scarcity of literature on the practices and challenges of designing, implementing, testing, monitoring, and troubleshooting event-based microservices. To fill this gap, this paper provides the first comprehensive characterization of event management practices and challenges in microservices based on a repository mining study of over 8000 Stack Overflow questions. Moreover, 628 relevant questions were randomly sampled for an in-depth manual investigation of challenges. We find that developers encounter many problems, including large event payloads, modeling event schemas, auditing event flows, and ordering constraints in processing events. This suggests that developers are not sufficiently served by state-of-the-practice technologies. We provide actionable implications to developers, technology providers, and researchers to advance event management in microservices.}\n}\n","author_short":["Laigner, R.","Almeida, A. C.","Assunção, W. K. G.","Zhou, Y."],"key":"event_survey","id":"event_survey","bibbaseid":"laigner-almeida-assuno-zhou-anempiricalstudyonchallengesofeventmanagementinmicroservicearchitectures-2024","role":"author","urls":{"Paper":"https://www.researchgate.net/publication/382797129_An_Empirical_Study_on_Challenges_of_Event_Management_in_Microservice_Architectures"},"metadata":{"authorlinks":{}}},"bibtype":"techreport","biburl":"https://rnlaigner.github.io/publications/LaignerPapers2.5.bib","dataSources":["Xv7LWx4itqCyjoyGH"],"keywords":[],"search_terms":["empirical","study","challenges","event","management","microservice","architectures","laigner","almeida","assunção","zhou"],"title":"An Empirical Study on Challenges of Event Management in Microservice Architectures","year":2024}