Skip to main content

Revision of a Smart Factory Software Architecture from Monolith to Microservices

  • Conference paper
  • First Online:
Enterprise Design, Operations, and Computing. EDOC 2024 Workshops (EDOC 2024)

Abstract

Software architecture plays an important role in the development of modern, complex software systems as it influences a system’s quality attributes and ability to grow with future demand. Designing the software architecture of cyber-physical systems (CPS) becomes even more challenging due to their capability of directly influencing the physical world and thus introducing new non-functional requirements related to fault-tolerance, safety, and resource scarcity. Existing research focuses on systems engineering to achieve the vertical integration of CPS with an organization’s information systems and processes, but not on software architecture to horizontally extend existing systems with new CPS. In this report we describe the process of revising an existing monolithic software architecture for a smart factory towards a microservices-based architecture to meet these new requirements and prepare the factory to be extended with new CPS. For the revision of the existing architecture, we provide an analysis of its code base before and after changes, a description of the refactoring process, and discuss relevant new non-functional requirements and architecture options. We elaborate on the architectural decisions favoring microservices and analyze the new architecture regarding improved quality attributes to evaluate the system.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://github.com/ics-unisg/smart-factory-monolith.

  2. 2.

    https://www.hello2morrow.com/products/sonargraph/architect9.

  3. 3.

    https://github.com/ics-unisg/smart-factory-microservices.

References

  1. Bjørndal, N., et al.: Migration from monolith to microservices: benchmarking a case study. Technical report (2020)

    Google Scholar 

  2. Ciceri, C., et al.: Software Architecture Metrics. O’Reilly Media, Inc. (2022)

    Google Scholar 

  3. Dobaj, J., Iber, J., Krisper, M., Kreiner, C.: A microservice architecture for the industrial internet-of-things. In: Proceedings of the 23rd European Conference on Pattern Languages of Programs, pp. 1–15 (2018)

    Google Scholar 

  4. Evans, E.: Domain-Driven Design: Tackling Complexity in the Heart of Software. Addison-Wesley Professional (2004)

    Google Scholar 

  5. Ford, N., Richards, M., Sadalage, P., Dehghani, Z.: Software Architecture: The Hard Parts. O’Reilly Media, Inc. (2021)

    Google Scholar 

  6. Fritzsch, J., Bogner, J., Zimmermann, A., Wagner, S.: From monolith to microservices: a classification of refactoring approaches. In: Software Engineering Aspects of Continuous Development and New Paradigms of Software Production and Deployment: First International Workshop, DEVOPS 2018, Chateau de Villebrumier, France, 5–6 March 2018, Revised Selected Papers 1, pp. 128–141. Springer, Cham (2019)

    Google Scholar 

  7. Furrer, F.J.: Future-Proof Software-systems. Springer (2019)

    Google Scholar 

  8. Gouigoux, J.P., Tamzalit, D.: From monolith to microservices: Lessons learned on an industrial migration to a web oriented architecture. In: 2017 IEEE International Conference on Software Architecture Workshops (ICSAW), pp. 62–65 (2017)

    Google Scholar 

  9. Janiesch, C., et al.: The internet of things meets business process management: a manifesto. IEEE Syst. Man Cybern. Mag. 6(4), 34–44 (2020)

    Article  Google Scholar 

  10. Jepsen, S.C., Worm, T.: Designing and evaluating interoperable industry 4.0 middleware software architecture: reconfiguration of robotic system. In: European Conference on Software Architecture, pp. 205–220. Springer (2023)

    Google Scholar 

  11. Kagermann, H., Wahlster, W.: Ten years of industrie 4.0. Sci 4(3), 26 (2022)

    Google Scholar 

  12. Kalske, M., Mäkitalo, N., Mikkonen, T.: Challenges when moving from monolith to microservice architecture. In: Current Trends in Web Engineering: ICWE 2017 International Workshops, Liquid Multi-Device Software and EnWoT, practi-O-web, NLPIT, SoWeMine, Rome, Italy, 5–8 June 2017, Revised Selected Papers 17, pp. 32–47. Springer (2018)

    Google Scholar 

  13. Kirikkayis, Y., Gallik, F., Seiger, R., Reichert, M.: Integrating IoT-driven events into business processes. In: International Conference on Advanced Information Systems Engineering, pp. 86–94. Springer (2023)

    Google Scholar 

  14. Krylovskiy, A., Jahn, M., Patti, E.: Designing a smart city internet of things platform with microservice architecture. In: 2015 3rd International Conference on Future Internet of Things and Cloud, pp. 25–30. IEEE (2015)

    Google Scholar 

  15. Lai, C., Boi, F., Buschettu, A., Caboni, R.: IoT and microservice architecture for multimobility in a smart city. In: 2019 7th International Conference on Future Internet of Things and Cloud (FiCloud), pp. 238–242. IEEE (2019)

    Google Scholar 

  16. Lee, E.A.: Cyber physical systems: design challenges. In: 2008 11th IEEE International Symposium on Object and Component-Oriented Real-Time Distributed Computing (ISORC), pp. 363–369. IEEE (2008)

    Google Scholar 

  17. Liu, Y., Yang, B., Ren, X., Liu, Q., Liu, S., Guan, X.: E2MS: an efficient and economical microservice migration strategy for smart manufacturing. IEEE Trans. Serv. Comput. (2024)

    Google Scholar 

  18. Macenski, S., Foote, T., Gerkey, B., Lalancette, C., Woodall, W.: Robot operating system 2: design, architecture, and uses in the wild. Sci. Robot. 7(66), eabm6074 (2022)

    Google Scholar 

  19. Malburg, L., Brand, F., Bergmann, R.: Adaptive management of cyber-physical workflows by means of case-based reasoning and automated planning. In: 26th EDOC Workshops. LNBIP, vol. 466, pp. 79–95. Springer (2023)

    Google Scholar 

  20. Malburg, L., Hoffmann, M., Bergmann, R.: Applying MAPE-K control loops for adaptive workflow management in smart factories. J. Intell. Inf. Syst. 1–29 (2023)

    Google Scholar 

  21. Malburg, L., Klein, P., Bergmann, R.: Semantic web services for AI-research with physical factory simulation models in industry 4.0. In: International Conference on Innovative Intelligent Industrial Production and Logistics, pp. 32–43. ScitePress (2020)

    Google Scholar 

  22. Malburg, L., Seiger, R., Bergmann, R., Weber, B.: Using physical factory simulation models for business process management research. In: Del Río Ortega, A., Leopold, H., Santoro, F.M. (eds.) BPM 2020. LNBIP, vol. 397, pp. 95–107. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-66498-5_8

    Chapter  Google Scholar 

  23. Martin, R.C.: Clean Architecture. Prentice Hall (2017)

    Google Scholar 

  24. Matlekovic, L., Schneider-Kamp, P.: From monolith to microservices: software architecture for autonomous UAV infrastructure inspection. arXiv preprint arXiv:2204.02342 (2022)

  25. Monostori, L.: Cyber-physical production systems: roots, expectations and R &D challenges. Procedia Cirp 17, 9–13 (2014)

    Article  MATH  Google Scholar 

  26. Nowak, M., Pautasso, C.: Team situational awareness and architectural decision making with the software architecture warehouse. In: European Conference on Software Architecture, pp. 146–161. Springer (2013)

    Google Scholar 

  27. Object Management Group: BPMN 2.0 specification (2011). https://www.omg.org/spec/BPMN/2.0/

  28. Peffers, K., Tuunanen, T., Rothenberger, M.A., Chatterjee, S.: A design science research methodology for information systems research. J. Manag. Inf. Syst. 24(3), 45–77 (2007)

    Article  Google Scholar 

  29. Razzaq, A.: A systematic review on software architectures for IoT systems and future direction to the adoption of microservices architecture. SN Comput. Sci. 1(6), 350 (2020)

    Article  MATH  Google Scholar 

  30. Richards, M., Ford, N.: Fundamentals of software architecture: an engineering approach. O’Reilly Media (2020)

    Google Scholar 

  31. Sarkar, S., Vashi, G., Abdulla, P.: Towards transforming an industrial automation system from monolithic to microservices. In: 23rd International Conference on Emerging Technologies and Factory Automation (ETFA), vol. 1, pp. 1256–1259. IEEE (2018)

    Google Scholar 

  32. Schnicke, F., Kuhn, T., Antonino, P.O.: Enabling industry 4.0 service-oriented architecture through digital twins. In: Muccini, H., et al. (eds.) ECSA 2020. CCIS, vol. 1269, pp. 490–503. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-59155-7_35

    Chapter  Google Scholar 

  33. Seiger, R., Herrmann, S., Aßmann, U.: Self-healing for distributed workflows in the internet of things. In: 2017 IEEE International Conference on Software Architecture Workshops (ICSAW), pp. 72–79. IEEE (2017)

    Google Scholar 

  34. Seiger, R., Malburg, L., Weber, B., Bergmann, R.: Integrating process management and event processing in smart factories: a systems architecture and use cases. J. Manuf. Syst. 63, 575–592 (2022)

    Article  MATH  Google Scholar 

  35. Siddiqui, H., Khendek, F., Toeroe, M.: Microservices based architectures for IoT systems-state-of-the-art review. Internet Things 100854 (2023)

    Google Scholar 

  36. Sonnleithner, L., Oberlehner, M., Kutsia, E., Zoitl, A., Bácsi, S.: Do you smell it too? Towards bad smells in IEC 61499 applications. In: 2021 26th IEEE International Conference on Emerging Technologies and Factory Automation (ETFA), pp. 1–4. IEEE (2021)

    Google Scholar 

  37. Sun, X., Liang, Y., Huang, H.: Design and implementation of internet of things platform based on microservice and lightweight container. In: 2020 IEEE 9th Joint International Information Technology and Artificial Intelligence Conference (ITAIC), vol. 9, pp. 1353–1357. IEEE (2020)

    Google Scholar 

  38. Traganos, K., Grefen, P., Vanderfeesten, I., Erasmus, J., Boultadakis, G., Bouklis, P.: The horse framework: a reference architecture for cyber-physical systems in hybrid smart manufacturing. J. Manuf. Syst. 61, 461–494 (2021)

    Article  Google Scholar 

  39. Urbina, M., Acosta, T., Lázaro, J., Astarloa, A., Bidarte, U.: Smart sensor: SOC architecture for the industrial internet of things. IEEE Internet Things J. 6(4), 6567–6577 (2019)

    Article  Google Scholar 

  40. Valderas, P., Torres, V., Serral, E.: Modelling and executing IoT-enhanced business processes through BPMN and microservices. J. Syst. Softw. 184, 111139 (2022)

    Article  MATH  Google Scholar 

  41. Xia, C., Zhang, Y., Wang, L., Coleman, S., Liu, Y.: Microservice-based cloud robotics system for intelligent space. Robot. Auton. Syst. 110, 139–150 (2018)

    Article  MATH  Google Scholar 

  42. Zuehlke, D.: Smartfactory-towards a factory-of-things. Annu. Rev. Control. 34(1), 129–138 (2010)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ronny Seiger .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2025 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

Seiger, R., Malburg, L. (2025). Revision of a Smart Factory Software Architecture from Monolith to Microservices. In: Kaczmarek-Heß, M., Rosenthal, K., Suchánek, M., Da Silva, M.M., Proper, H.A., Schnellmann, M. (eds) Enterprise Design, Operations, and Computing. EDOC 2024 Workshops . EDOC 2024. Lecture Notes in Business Information Processing, vol 537. Springer, Cham. https://doi.org/10.1007/978-3-031-79059-1_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-79059-1_13

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-79058-4

  • Online ISBN: 978-3-031-79059-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics