Skip to main content

2024 | OriginalPaper | Buchkapitel

Formalizing Microservices Patterns with Event-B: The Case of Service Registry

verfasst von : Sebastián Vergara, Laura González, Raúl Ruggia

Erschienen in: Service-Oriented Computing – ICSOC 2023 Workshops

Verlag: Springer Nature Singapore

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Microservices have emerged as an architectural style in which applications are composed of small and focused services. Several patterns have been proposed to guide the construction of microservices applications. However, they are usually stated in natural-language, which may lead to ambiguity and erroneous application. This paper addresses these issues by advancing in the formalization of microservices patterns using the Event-B method. An Event-B model for the Service Registry pattern is proposed, which is then leveraged for verification/validation purposes. The overall goal is to contribute to the comprehension of microservices patterns and the quality of microservices applications.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Abrial, J.R.: Modeling in Event-B: System and Software Engineering, 1st edn. Cambridge University Press, Cambridge (2010)CrossRef Abrial, J.R.: Modeling in Event-B: System and Software Engineering, 1st edn. Cambridge University Press, Cambridge (2010)CrossRef
5.
Zurück zum Zitat Ait-Sadoune, I., Ait-Ameur, Y.: Formal modelling and verification of transactional web service composition: a refinement and proof approach with Event-B. In: Thalheim, B., Schewe, K.D., Prinz, A., Buchberger, B. (eds.) Correct Software in Web Applications and Web Services. TEXTSMONOGR, pp. 1–27. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-17112-8_1CrossRef Ait-Sadoune, I., Ait-Ameur, Y.: Formal modelling and verification of transactional web service composition: a refinement and proof approach with Event-B. In: Thalheim, B., Schewe, K.D., Prinz, A., Buchberger, B. (eds.) Correct Software in Web Applications and Web Services. TEXTSMONOGR, pp. 1–27. Springer, Cham (2015). https://​doi.​org/​10.​1007/​978-3-319-17112-8_​1CrossRef
7.
Zurück zum Zitat Bayley, I., Zhu, H.: Formal specification of the variants and behavioural features of design patterns. J. Syst. Softw. 83(2), 209–221 (2010)CrossRef Bayley, I., Zhu, H.: Formal specification of the variants and behavioural features of design patterns. J. Syst. Softw. 83(2), 209–221 (2010)CrossRef
8.
Zurück zum Zitat Bergner, K.: Specification of Large ß Object Networks with Component Diagrams. CS-Press (1997) Bergner, K.: Specification of Large ß Object Networks with Component Diagrams. CS-Press (1997)
13.
Zurück zum Zitat González, L., Ruggia, R.: Formalizing a policy-based compliance control solution with Event-B. In: Proceedings of the 14th International Conference on Software Technologies. SCITEPRESS (2019) González, L., Ruggia, R.: Formalizing a policy-based compliance control solution with Event-B. In: Proceedings of the 14th International Conference on Software Technologies. SCITEPRESS (2019)
14.
Zurück zum Zitat Hachicha, M., Dammak, E., Halima, R.B., Kacem, A.H.: A correct by construction approach for modeling and formalizing self-adaptive systems. In: 2016 17th IEEE/ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD), pp. 379–384. IEEE (2016) Hachicha, M., Dammak, E., Halima, R.B., Kacem, A.H.: A correct by construction approach for modeling and formalizing self-adaptive systems. In: 2016 17th IEEE/ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD), pp. 379–384. IEEE (2016)
18.
Zurück zum Zitat Llambías, G., Ruggia, R.: A middleware-based platform for the integration of bioinformatic services. CLEI Electron. J. 18 (2015) Llambías, G., Ruggia, R.: A middleware-based platform for the integration of bioinformatic services. CLEI Electron. J. 18 (2015)
20.
Zurück zum Zitat Mikkonen, T.: Formalizing design patterns. In: Proceedings of the 20th International Conference on Software Engineering, pp. 115–124. IEEE (1998) Mikkonen, T.: Formalizing design patterns. In: Proceedings of the 20th International Conference on Software Engineering, pp. 115–124. IEEE (1998)
22.
Zurück zum Zitat Nicholson, J., Eden, A.H., Gasparis, E., Kazman, R.: Automated verification of design patterns: a case study. Sci. Comput. Program. 80, 211–222 (2014)CrossRef Nicholson, J., Eden, A.H., Gasparis, E., Kazman, R.: Automated verification of design patterns: a case study. Sci. Comput. Program. 80, 211–222 (2014)CrossRef
24.
Zurück zum Zitat Richardson, C.: Microservices Patterns: With Examples in Java, 1st edn. Manning Publications (2018) Richardson, C.: Microservices Patterns: With Examples in Java, 1st edn. Manning Publications (2018)
25.
Zurück zum Zitat Ritter, D., Rinderle-Ma, S., Montali, M., Rivkin, A., Sinha, A.: Formalizing application integration patterns. In: 2018 IEEE 22nd International Enterprise Distributed Object Computing Conference (EDOC), pp. 11–20. IEEE (2018) Ritter, D., Rinderle-Ma, S., Montali, M., Rivkin, A., Sinha, A.: Formalizing application integration patterns. In: 2018 IEEE 22nd International Enterprise Distributed Object Computing Conference (EDOC), pp. 11–20. IEEE (2018)
28.
Zurück zum Zitat Taibi, D., Lenarduzzi, V., Pahl, C.: Architectural patterns for microservices: a systematic mapping study. In: Proceedings of the 8th International Conference on Cloud Computing and Services Science, Portugal. SCITEPRESS (2018) Taibi, D., Lenarduzzi, V., Pahl, C.: Architectural patterns for microservices: a systematic mapping study. In: Proceedings of the 8th International Conference on Cloud Computing and Services Science, Portugal. SCITEPRESS (2018)
29.
Zurück zum Zitat Taibi, T., Ngo, D.C.L.: Formal specification of design patterns - a balanced approach. J. Object Technol. 2(4), 127–140 (2003)CrossRef Taibi, T., Ngo, D.C.L.: Formal specification of design patterns - a balanced approach. J. Object Technol. 2(4), 127–140 (2003)CrossRef
31.
Zurück zum Zitat Tounsi, I., Hadj Kacem, M., Hadj Kacem, A., Drira, K.: A refinement-based approach for building valid SOA design patterns. Int. J. Cloud Comput. 4(1), 78–104 (2015)CrossRef Tounsi, I., Hadj Kacem, M., Hadj Kacem, A., Drira, K.: A refinement-based approach for building valid SOA design patterns. Int. J. Cloud Comput. 4(1), 78–104 (2015)CrossRef
32.
Zurück zum Zitat Tounsi, I., Saidi, A., Hadj Kacem, M., Hadj Kacem, A.: Internet of Things design patterns modeling proven correct by construction: application to aged care solution. Future Gener. Comput. Syst. 148, 395–407 (2023)CrossRef Tounsi, I., Saidi, A., Hadj Kacem, M., Hadj Kacem, A.: Internet of Things design patterns modeling proven correct by construction: application to aged care solution. Future Gener. Comput. Syst. 148, 395–407 (2023)CrossRef
33.
Zurück zum Zitat Vergara, S., González, L., Ruggia, R.: Towards formalizing microservices architectural patterns with Event-B. In: 2020 IEEE International Conference on Software Architecture Companion (ICSA-C), pp. 71–74 (2020) Vergara, S., González, L., Ruggia, R.: Towards formalizing microservices architectural patterns with Event-B. In: 2020 IEEE International Conference on Software Architecture Companion (ICSA-C), pp. 71–74 (2020)
Metadaten
Titel
Formalizing Microservices Patterns with Event-B: The Case of Service Registry
verfasst von
Sebastián Vergara
Laura González
Raúl Ruggia
Copyright-Jahr
2024
Verlag
Springer Nature Singapore
DOI
https://doi.org/10.1007/978-981-97-0989-2_20

Premium Partner