Skip to main content

A Comparison of Static and Dynamic Analysis to Identify Microservices in Monolith Systems

  • Conference paper
  • First Online:
Software Architecture (ECSA 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14212))

Included in the following conference series:

  • 551 Accesses

Abstract

One of the most challenging problems in migrating a monolith to a microservice architecture is the identification of the microservices boundaries. Several approaches have recently been proposed for the automatic identification of microservices, which, even though following the same basic steps, diverge on how data from the monolith system are collected and analyzed. In this paper, we compare the decompositions generated for two monolith systems into a set of candidate microservices, when static and dynamic analysis data collection techniques are used. As a result of the analysis, we conclude that neither of the analysis techniques, static or dynamic, outperforms the other, but the dynamic collection of data requires more effort.

This work was partially supported by Fundação para a Ciência e Tecnologia (FCT) through projects UIDB/50021/2020 (INESC-ID) and PTDC/CCI-COM/2156/2021 (DACOMICO).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 74.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://github.com/socialsoftware/edition.

  2. 2.

    https://github.com/socialsoftware/blended-workflow.

  3. 3.

    https://github.com/jacoco/jacoco.

References

  1. Abdellatif, M., et al.: A taxonomy of service identification approaches for legacy software systems modernization. J. Syst. Softw. 173, 110868 (2021)

    Article  Google Scholar 

  2. Amiri, M.J.: Object-aware identification of microservices. In: 2018 IEEE International Conference on Services Computing (SCC), pp. 253–256 (2018)

    Google Scholar 

  3. Hasselbring, W., van Hoorn, A.: Kieker: a monitoring framework for software engineering research. Softw. Impacts 5, 100019 (2020)

    Article  Google Scholar 

  4. Jin, W., Liu, T., Cai, Y., Kazman, R., Mo, R., Zheng, Q.: Service candidate identification from monolithic systems based on execution traces. IEEE Trans. Software Eng. 47(5), 987–1007 (2021)

    Article  Google Scholar 

  5. Pawlak, R., Monperrus, M., Petitprez, N., Noguera, C., Seinturier, L.: Spoon: a library for implementing analyses and transformations of Java source code. Softw. Pract. Exp. 46(9), 1155–1179 (2016)

    Google Scholar 

  6. Richardson, C.: Microservices Patterns: With Examples in Java. Manning Publications (2019)

    Google Scholar 

  7. Santos, N., Rito Silva, A.: A complexity metric for microservices architecture migration. In: 2020 IEEE International Conference on Software Architecture (ICSA), pp. 169–178 (2020)

    Google Scholar 

  8. Santos, S., Silva, A.R.: Microservices identification in monolith systems: functionality redesign complexity and evaluation of similarity measures. J. Web Eng. 21(05), 1543–1582 (2022)

    Google Scholar 

  9. Tyszberowicz, S., Heinrich, R., Liu, B., Liu, Z.: Identifying microservices using functional decomposition. In: Feng, X., Müller-Olm, M., Yang, Z. (eds.) SETTA 2018. LNCS, vol. 10998, pp. 50–65. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-99933-3_4

    Chapter  Google Scholar 

  10. Wen, Z., Tzerpos, V.: An effectiveness measure for software clustering algorithms. In: Proceedings of 12th IEEE International Workshop on Program Comprehension, pp. 194–203. IEEE (2004)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to António Rito Silva .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Andrade, B., Santos, S., Silva, A.R. (2023). A Comparison of Static and Dynamic Analysis to Identify Microservices in Monolith Systems. In: Tekinerdogan, B., Trubiani, C., Tibermacine, C., Scandurra, P., Cuesta, C.E. (eds) Software Architecture. ECSA 2023. Lecture Notes in Computer Science, vol 14212. Springer, Cham. https://doi.org/10.1007/978-3-031-42592-9_25

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-42592-9_25

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-42591-2

  • Online ISBN: 978-3-031-42592-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics