Skip to main content

Microservices Deployment on a Multi-platform Ecosystem: A Contract-Based Approach

  • Conference paper
  • First Online:
Software Technologies (ICSOFT 2022)

Abstract

To address the limitations of running monolithic applications, many organizations opt for microservices as a technology of choice that would make these applications agile. In addition to microservices, organizations are tapping into other technologies like cloud and edge to ensure computational, communication, and storage resource provisioning to their applications. To confirm this provisioning, this paper presents a contract-based approach for deploying microservices on top of a multi-platform ecosystem consisting of cloud, edge, and IoT devices. The approach integrates different contracts that capture the orchestration and choreography interactions during the deployment of microservices on different platforms. Technologies like Kubernetes and Amazon Web Services implementing a case study are used to demonstrate this deployment’s technical doability.

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 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.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.

    www.nginx.com/blog/microservices-at-netflix-architectural-best-practices.

  2. 2.

    Puliafito et al. report that “the average round trip time between an Amazon Cloud server in Virginia (U.S.A.) and a device in the U.S. Pacific Coast is 66 ms; it is equal to 125 ms if the end device is in Italy; and reaches 302 ms when the device is in Beijing” [22].

  3. 3.

    Many orchestrators could exist but this aspect is not considered.

References

  1. Abdmeziem, M.R., Tandjaoui, D., Romdhani, I.: Architecting the internet of things: state of the art. In: Koubaa, A., Shakshuki, E. (eds.) Robots and Sensor Clouds. SSDC, vol. 36, pp. 55–75. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-22168-7_3

    Chapter  Google Scholar 

  2. Ali, S., Jarwar, M., Chong, I.: Design methodology of microservices to support predictive analytics for IoT applications. Sensors 18(12), 4226 (2018)

    Google Scholar 

  3. Balint, F., Truong, H.: On supporting contract-aware IoT dataspace services. In: IEEE International Conference on Mobile Cloud Computing, Services, and Engineering. San Francisco, USA (2017)

    Google Scholar 

  4. Barnaghi, P., Sheth, A.: On searching the internet of things: requirements and challenges. IEEE Intell. Syst. 31(6), 71–75 (2016)

    Google Scholar 

  5. Bonomi, F., Milito, R., Natarajan, P., Zhu, J.: Fog computing: a platform for internet of things and analytics. In: Bessis, N., Dobre, C. (eds.) Big Data and Internet of Things: A Roadmap for Smart Environments. SCI, vol. 546, pp. 169–186. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-05029-4_7

    Chapter  Google Scholar 

  6. Butzin, B., Golatowski, F., Timmermann, D.: Microservices approach for the internet of things. In: Proceedings of the 21st IEEE International Conference on Emerging Technologies and Factory Automation (ETFA’2016). Berlin, Germany (2016)

    Google Scholar 

  7. \(\check{S}\)tefani\(\check{c}\), P., Rana, O., Stankovski, V.: Budget and performance-efficient application deployment along edge-fog-cloud ecosystem. In: Proceedings of the 11th International Workshop on Science Gateways (IWSG’2019). Ljubljana, Slovenia (2019)

    Google Scholar 

  8. Chung, J., Chao, K.: A view on service-oriented architecture. Serv. Oriented Comput. Appl. 1(2), 93–95 (2007). https://doi.org/10.1007/s11761-007-0011-2

    Article  Google Scholar 

  9. De Donno, M., Tange, K., Dragoni, N.: Foundations and evolution of modern computing paradigms: Cloud, IoT, Edge, and Fog. IEEE Access 7, 150936–150948 (2019)

    Article  Google Scholar 

  10. DZone: the internet of things, application, protocols, and best practices (2017). https://dzone.com/guides/iot-applications-protocols-and-best-practices

  11. Ghosh, A., Khalid, O., Bin Rais, R., Rehman, A., Malik, S., Ali Khan, I.: Data offloading in IoT Environments: modeling, analysis, and verification. EURASIP J. Wireless Commun. Network. 2019, 53 (2019)

    Google Scholar 

  12. Lewis, J., Fowler, M.: Microservices (2014). http://martinfowler.com/articles/microservices.html

  13. Longo, A., Zappatore, M., Bochicchio, M.A.: A cloud-based approach to dynamically manage service contracts for local public transportation. Int. J. Grid Util. Comput. 10(6), 694 (2019). https://doi.org/10.1504/IJGUC.2019.102750

    Article  Google Scholar 

  14. Maamar, Z., Baker, T., Faci, N., Ugljanin, E., Al-Khafajiy, M., Burégio, V.: Towards a seamless coordination of cloud and fog: illustration through the internet-of-things. In: Proceedings of the 34th ACM/SIGAPP Symposium on Applied Computing (SAC’2019). Limassol, Cyprus (2019)

    Google Scholar 

  15. Maamar, Z., Baker, T., Sellami, M., Asim, M., Ugljanin, E., Faci, N.: Cloud vs edge: who serves the Internet-of-things better. Int. Technol. Lett. 1(5), e66 (2018). https://doi.org/10.1002/itl2.66

    Article  Google Scholar 

  16. Maamar, Z., Faci, N., Sakr, S., Boukhebouze, M., Barnawi, A.: Network-based social coordination of business processes. Inf. Syst. 58, 56–74 (2016). https://doi.org/10.1016/j.is.2016.02.005

    Article  Google Scholar 

  17. Maamar, Z., N., F., El Haddad, J., Yahya, F., Askar, M.: Multi-party contract management for microservices. In: Proceedings of the 17th International Conference on Software Technologies (ICSOFT’2022). Lisbon, Portugal (2022)

    Google Scholar 

  18. Marino, F., Moiso, C., Petracca, M.: Automatic contract negotiation, service discovery and mutual authentication solutions: a survey on the enabling technologies of the forthcoming IoT ecosystems. Comput. Netw. 148, 176–195 (2019)

    Article  Google Scholar 

  19. Mendez-Bonilla, O., Franch, X., Quer, C.: Requirements patterns for COTS systems. In: Proceedings of the Seventh International Conference on Composition-Based Software Systems (ICCBSS’2008). Madrid, Spain (2008)

    Google Scholar 

  20. Nieves, E., Hernández, G., Gil González, A., Rodríguez-González, S., Corchado, J.: Fog computing architecture for personalized recommendation of banking products. Expert Syst. with Appl. 140, 112900 (2020)

    Google Scholar 

  21. Pan, J., Wang, J., Hester, A., AlQerm, I., Liu, Y., Zhao, Y.: EdgeChain: an edge-IoT framework and prototype based on blockchain and smart contracts. IEEE Internet Things J. 6(3) 4719–4732 (2018)

    Google Scholar 

  22. Puliafito, C., Mingozzi, E., Longo, F., Puliafito, A., Rana, O.: Fog computing for the internet of things: a survey. ACM Trans. Internet Technol. 19(2), 1–41 (2019)

    Article  Google Scholar 

  23. Qin, Y., Sheng, Q., Falkner, N., Dustdar, S., Wang, H., Vasilakos, A.: When things matter: a data-centric view of the internet of things. CoRR abs/1407.2704 (2014)

    Google Scholar 

  24. Satyanarayanan, M., Bahl, P., Cáceres, R., Davies, N.: The case for VM-based cloudlets in mobile computing. IEEE Pervasive Comput. 8(4) (2009)

    Google Scholar 

  25. Thramboulidis, K., Vachtsevanou, D., Kontou, I.: CPuS-IoT: a cyber-physical microservice and IoT-based framework for manufacturing assembly systems. Annu. Rev. Control. 47, 237–248 (2019)

    Article  Google Scholar 

  26. Valderas, P., Torres, V., Pelechano, V.: A microservice composition approach based on the choreography of BPMN fragments. Inf. Soft. Technol. 127, 106370 (2020)

    Google Scholar 

  27. Varghese, B., Wang, N., Nikolopoulos, D., Buyya, R.: Feasibility of fog computing. arXiv preprint arXiv:1701.05451 (2017)

  28. Weiser, M.: The computer for the 21\(^{st}\) century. Newslett. ACM SIGMOBILE Mobile Comput. Commun. Rev. 3(3), 3–11 (1999)

    Article  Google Scholar 

  29. Zorzi, M., Gluhak, A., Lange, S., Bassi, A.: From today’s Intranet of things to a future Internet of things: a wireless- and mobility-related view. IEEE Wireless Commun. 17(6), 44–51 (2010)

    Article  Google Scholar 

Download references

Acknowledgements

The authors would like to thank Fadwa Yahya, Mohammad Askar, Vanilson Arruda Burégio, and Edvan Soares for their contributions to the work reported in this chapter.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zakaria Maamar .

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

Maamar, Z., Faci, N., El Haddad, J. (2023). Microservices Deployment on a Multi-platform Ecosystem: A Contract-Based Approach. In: Fill, HG., van Sinderen, M., Maciaszek, L.A. (eds) Software Technologies. ICSOFT 2022. Communications in Computer and Information Science, vol 1859. Springer, Cham. https://doi.org/10.1007/978-3-031-37231-5_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-37231-5_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-37230-8

  • Online ISBN: 978-3-031-37231-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics