Skip to search boxSkip to navigationSkip to main content

How do Microservices Evolve?: An Empirical Analysis of Changes in Open-Source Microservice Repositories

  • Wesley K.G. Assunção(Corresponding author)
    ,
  • ,
  • Sébastien Mosser
    ,
  • Sofiane Selaoui
Output:
Contribution to journal
Article
Academic
Peer-review

Open access

Information

Output type

Output:
Contribution to journal
Article
Academic
Peer-review

Original language

English

Article number

111788

Journal (Volume, Issue Number)

Journal of Systems and Software (Volume 204)

Publication milestones

  • Published - 10/2023

Publication status

Published - 10/2023

ISSN

0164-1212

Abstract

Context.<br/>Microservice architectures are an emergent service-oriented paradigm widely used in industry to develop and deploy scalable software systems. The underlying idea is to design highly independent services that implement small units of functionality and can interact with each other through lightweight interfaces.<br/><br/>Objective.<br/>Even though microservices are often used with success, their design and maintenance pose novel challenges to software engineers. In particular, it is questionable whether the intended independence of microservices can actually be achieved in practice.<br/>Method.<br/><br/>So, it is important to understand how and why microservices evolve during a system’s life-cycle, for instance, to scope refactorings and improvements of a system’s architecture or to develop supporting tools. To provide insights into how microservices evolve, we report a large-scale empirical study on the (co-)evolution of microservices in 11 open-source systems, involving quantitative and qualitative analyses of 7,319 commits.<br/>Findings.<br/><br/>Our quantitative results show that there are recurring patterns of (co-)evolution across all systems, for instance, “shotgun surgery” commits and microservices that are largely independent, evolve in tuples, or are evolved in almost all changes. We refine our results by analyzing service-evolving commits qualitatively to explore the (in-)dependence of microservices and the causes for their specific evolution.<br/><br/>Conclusion.<br/>The contributions in this article provide an understanding for practitioners and researchers on how microservices evolve in what way, and how microservice-based systems may be improved.

Metrics

Metrics

SciVal
FWCI
1.57
SciVal
Author count
4
SciVal
Paper percentile
82
SciVal
citations
27
Scopus
citations
27
Download statistics
Download count
254

PlumX, opens in new tab

Captures
53
Citation count
27