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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 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.
Many orchestrators could exist but this aspect is not considered.
References
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
Ali, S., Jarwar, M., Chong, I.: Design methodology of microservices to support predictive analytics for IoT applications. Sensors 18(12), 4226 (2018)
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)
Barnaghi, P., Sheth, A.: On searching the internet of things: requirements and challenges. IEEE Intell. Syst. 31(6), 71–75 (2016)
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
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)
\(\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)
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
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)
DZone: the internet of things, application, protocols, and best practices (2017). https://dzone.com/guides/iot-applications-protocols-and-best-practices
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)
Lewis, J., Fowler, M.: Microservices (2014). http://martinfowler.com/articles/microservices.html
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
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)
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
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
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)
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)
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)
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)
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)
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)
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)
Satyanarayanan, M., Bahl, P., Cáceres, R., Davies, N.: The case for VM-based cloudlets in mobile computing. IEEE Pervasive Comput. 8(4) (2009)
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)
Valderas, P., Torres, V., Pelechano, V.: A microservice composition approach based on the choreography of BPMN fragments. Inf. Soft. Technol. 127, 106370 (2020)
Varghese, B., Wang, N., Nikolopoulos, D., Buyya, R.: Feasibility of fog computing. arXiv preprint arXiv:1701.05451 (2017)
Weiser, M.: The computer for the 21\(^{st}\) century. Newslett. ACM SIGMOBILE Mobile Comput. Commun. Rev. 3(3), 3–11 (1999)
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)
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
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
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)