Home / Current Issue / Paper 1710019
Architecting Modular Microservices Using Asynchronous Messaging and REST APIs in Multi-Tenant Software-as-a-Service Platforms
Subject area: Science,Engineering and Technology · Area of research: Architecting
Abstract
The evolution of cloud computing and the increasing demand for scalable, flexible, and tenant-aware applications have driven the widespread adoption of microservices in Software-as-a-Service (SaaS) platforms. This explores the architectural principles and design patterns involved in building modular microservices using asynchronous messaging and REST APIs within multi-tenant SaaS environments. Microservices promote modularity and independent deployment, while multi-tenancy enables resource sharing across customers with logical separation. However, achieving scalability, resilience, and tenant isolation in such systems requires careful architectural decisions. REST APIs serve as the backbone for synchronous communication between clients and services, offering a standardized interface for interaction, versioning, and access control. In contrast, asynchronous messaging?enabled by technologies such as Apache Kafka, RabbitMQ, and AWS SNS/SQS?facilitates loose coupling, fault tolerance, and eventual consistency across distributed microservices. This discusses the use of publish-subscribe, message queues, and event-driven designs to orchestrate and choreograph services, especially in scenarios requiring scalability and temporal decoupling. A critical focus is given to multi-tenant design patterns, including database isolation strategies, tenant-aware authentication, and context propagation across services. Operational aspects such as containerized deployment, observability, CI/CD pipelines, and dynamic scaling are explored to demonstrate real-world viability. Security and compliance are also examined, with emphasis on data segregation, encryption, and monitoring. By integrating RESTful APIs for command and query responsibilities with asynchronous messaging for event propagation and background processing, SaaS platforms can achieve high availability, responsiveness, and modular growth. This hybrid approach supports agile development and continuous delivery in a competitive SaaS landscape. This concludes by identifying open research directions such as serverless microservices, cross-tenant analytics, and AI-enhanced service orchestration. Overall, this provides a comprehensive framework for architecting next-generation SaaS platforms that are robust, tenant-aware, and operationally efficient.
Keywords
Architecting, Modular microservices, Asynchronous messaging, REST APIs, Multi-tenant, Software-as-a-service platforms
References
[1] Ajonbadi Adeniyi, H., AboabaMojeed-Sanni, B. and Otokiti, B.O., 2015. Sustaining competitive advantage in medium-sized enterprises (MEs) through employee social interaction and helping behaviours. Journal of Small Business and Entrepreneurship, 3(2), pp.1-16.
[2] Ajonbadi, H.A., Lawal, A.A., Badmus, D.A. and Otokiti, B.O., 2014. Financial control and organisational performance of the Nigerian small and medium enterprises (SMEs): A catalyst for economic growth. American Journal of Business, Economics and Management, 2(2), pp.135-143.
[3] Ajonbadi, H.A., Otokiti, B.O. and Adebayo, P., 2016. The efficacy of planning on organisational performance in the Nigeria SMEs. European Journal of Business and Management, 24(3), pp.25-47.
[4] Akinbola, O.A. and Otokiti, B.O., 2012. Effects of lease options as a source of finance on profitability performance of small and medium enterprises (SMEs) in Lagos State, Nigeria. International Journal of Economic Development Research and Investment, 3(3), pp.70-76.
[5] Amos, A.O., Adeniyi, A.O. and Oluwatosin, O.B., 2014. Market based capabilities and results: inference for telecommunication service businesses in Nigeria. European Scientific Journal, 10(7).
[6] Awe, E.T. and Akpan, U.U., 2017. Cytological study of Allium cepa and Allium sativum.
[7] Awe, E.T., 2017. Hybridization of snout mouth deformed and normal mouth African catfish Clarias gariepinus. Animal Research International, 14(3), pp.2804-2808.
[8] Bhatt, S., Patwa, F. and Sandhu, R., 2016, November. An attribute-based access control extension for openstack and its enforcement utilizing the policy machine. In 2016 IEEE 2nd International Conference on Collaboration and Internet Computing (CIC) (pp. 37-45). IEEE.
[9] Buecker, A., Chakrabarty, B., Dymoke-Bradshaw, L., Goldkorn, C., Hugenbruch, B., Nali, M.R., Ramalingam, V., Thalouth, B. and Thielmann, J., 2016. Reduce Risk and Improve Security on IBM Mainframes: Volume 1 Architecture and Platform Security. IBM Redbooks.
[10] Cai, H., Xu, B., Jiang, L. and Vasilakos, A.V., 2016. IoT-based big data storage systems in cloud computing: perspectives and challenges. IEEE Internet of Things Journal, 4(1), pp.75-87.
[11] Casellas, R., Martínez, R., Vilalta, R. and Muñoz, R., 2018. Control, management, and orchestration of optical networks: evolution, trends, and challenges. Journal of Lightwave Technology, 36(7), pp.1390-1402.
[12] Cecowski, M., Becker, S. and Lehrig, S., 2017. Cloud computing applications. In Engineering Scalable, Elastic, and Cost-Efficient Cloud Computing Applications: The CloudScale Method (pp. 47-60). Cham: Springer International Publishing.
[13] Dean, D.J., Ranchal, R., Gu, Y., Sailer, A., Khan, S., Beaty, K., Bakthavachalam, S., Yu, Y., Ruan, Y. and Bastide, P., 2017, June. Engineering scalable, secure, multi-tenant cloud for healthcare data. In 2017 IEEE world congress on SERVICES (SERVICES) (pp. 21-29). IEEE.
[14] Díaz, M., Martín, C. and Rubio, B., 2016. State-of-the-art, challenges, and open issues in the integration of Internet of things and cloud computing. Journal of Network and Computer applications, 67, pp.99-117.
[15] Dragoni, N., Giallorenzo, S., Lafuente, A.L., Mazzara, M., Montesi, F., Mustafin, R. and Safina, L., 2017. Microservices: yesterday, today, and tomorrow. Present and ulterior software engineering, pp.195-216.
[16] Evans-Uzosike, I.O. & Okatta, C.G., 2019. Strategic Human Resource Management: Trends, Theories, and Practical Implications. Iconic Research and Engineering Journals, 3(4), pp.264-270.
[17] Faber, T., Schwab, S. and Wroclawski, J., 2016. Authorization and access control: ABAC. In The GENI book (pp. 203-234). Cham: Springer International Publishing.
[18] Fonseca, P.C. and Mota, E.S., 2017. A survey on fault management in software-defined networks. IEEE Communications Surveys & Tutorials, 19(4), pp.2284-2321.
[19] Furda, A., Fidge, C., Barros, A. and Zimmermann, O., 2017. Reengineering data-centric information systems for the cloud–a method and architectural patterns promoting multitenancy. In Software Architecture for Big Data and the Cloud (pp. 227-251). Morgan Kaufmann.
[20] Gallipeau, D. and Kudrle, S., 2018. Microservices: Building blocks to new workflows and virtualization. SMPTE Motion Imaging Journal, 127(4), pp.21-31.
[21] Gharaibeh, A., Salahuddin, M.A., Hussini, S.J., Khreishah, A., Khalil, I., Guizani, M. and Al-Fuqaha, A., 2017. Smart cities: A survey on data management, security, and enabling technologies. IEEE communications surveys & tutorials, 19(4), pp.2456-2501.
[22] Ibitoye, B.A., AbdulWahab, R. and Mustapha, S.D., 2017. Estimation of drivers’ critical gap acceptance and follow-up time at four–legged unsignalized intersection. CARD International Journal of Science and Advanced Innovative Research, 1(1), pp.98-107.
[23] Karame, G., Neugschwandtner, M., Önen, M. and Ritzdorf, H., 2017, April. Reconciling security and functional requirements in multi-tenant clouds. In Proceedings of the Fifth ACM International Workshop on Security in Cloud Computing (pp. 11-18).
[24] Kathiravelu, P. and Veiga, L., 2017, May. SD-CPS: taming the challenges of cyber-physical systems with a software-defined approach. In 2017 Fourth International Conference on Software Defined Systems (SDS) (pp. 6-13). IEEE.
[25] Kim, M., Mohindra, A., Muthusamy, V., Ranchal, R., Salapura, V., Slominski, A. and Khalaf, R., 2016. Building scalable, secure, multi-tenant cloud services on IBM Bluemix. IBM Journal of Research and Development, 60(2-3), pp.8-1.
[26] Klopfenstein, L.C., Delpriori, S., Malatini, S. and Bogliolo, A., 2017, June. The rise of bots: A survey of conversational interfaces, patterns, and paradigms. In Proceedings of the 2017 conference on designing interactive systems (pp. 555-565).
[27] Kumar, T.V., 2017. Designing Resilient Multi-Tenant Applications Using Java Frameworks.
[28] Laszewski, T., Arora, K., Farr, E. and Zonooz, P., 2018. Cloud Native Architectures: Design high-availability and cost-effective applications for the cloud. Packt Publishing Ltd.
[29] Lawal, A.A., Ajonbadi, H.A. and Otokiti, B.O., 2014. Leadership and organisational performance in the Nigeria small and medium enterprises (SMEs). American Journal of Business, Economics and Management, 2(5), p.121.
[30] Lawal, A.A., Ajonbadi, H.A. and Otokiti, B.O., 2014. Strategic importance of the Nigerian small and medium enterprises (SMES): Myth or reality. American Journal of Business, Economics and Management, 2(4), pp.94-104.
[31] Manchana, R., 2017. Optimizing Material Management through Advanced System Integration, Control Bus, and Scalable Architecture. International Journal of Scientific Research and Engineering Trends, 3(6), pp.239-245.
[32] Mansouri, Y., Toosi, A.N. and Buyya, R., 2017. Data storage management in cloud environments: Taxonomy, survey, and future directions. ACM Computing Surveys (CSUR), 50(6), pp.1-51.
[33] Merlino, G., Arkoulis, S., Distefano, S., Papagianni, C., Puliafito, A. and Papavassiliou, S., 2016. Mobile crowdsensing as a service: a platform for applications on top of sensing clouds. Future Generation Computer Systems, 56, pp.623-639.
[34] Murphy, N.R., Beyer, B., Jones, C. and Petoff, J., 2016. Site Reliability Engineering: How Google Runs Production Systems. " O'Reilly Media, Inc.".
[35] Murray, D.G., McSherry, F., Isard, M., Isaacs, R., Barham, P. and Abadi, M., 2016. Incremental, iterative data processing with timely dataflow. Communications of the ACM, 59(10), pp.75-83.
[36] Nwaimo, C.S., Oluoha, O.M. & Oyedokun, O., 2019. Big Data Analytics: Technologies, Applications, and Future Prospects. Iconic Research and Engineering Journals, 2(11), pp.411-419.
[37] Ogundipe, F., Sampson, E., Bakare, O.I., Oketola, O. and Folorunso, A., 2019. Digital Transformation and its Role in Advancing the Sustainable Development Goals (SDGs). transformation, 19, p.48.
[38] O'hara, B.T. and Malisow, B., 2017. Ccsp (ISC) 2 certified cloud security professional official study guide. John Wiley & Sons.
[39] Oni, O., Adeshina, Y.T., Iloeje, K.F. and Olatunji, O.O., ARTIFICIAL INTELLIGENCE MODEL FAIRNESS AUDITOR FOR LOAN SYSTEMS. Journal ID, 8993, p.1162.
[40] Otokiti, B.O. and Akinbola, O.A., 2013. Effects of lease options on the organizational growth of small and medium enterprise (SME’s) in Lagos State, Nigeria. Asian Journal of Business and Management Sciences, 3(4), pp.1-12.
[41] Otokiti, B.O., 2012. Mode of entry of multinational corporation and their performance in the Nigeria market (Doctoral dissertation, Covenant University).
[42] Otokiti, B.O., 2017. A study of management practices and organisational performance of selected MNCs in emerging market-A Case of Nigeria. International Journal of Business and Management Invention, 6(6), pp.1-7.
[43] Otokiti, B.O., 2018. Business regulation and control in Nigeria. Book of readings in honour of Professor SO Otokiti, 1(2), pp.201-215.
[44] Palagin, O., Velychko, V., Malakhov, K. and Shchurov, O., 2018. Research and development workstation environment: The new class of current research information systems. arXiv preprint arXiv:1803.05930.
[45] Piccialli, F., Benedusi, P. and Amato, F., 2018. S-InTime: A social cloud analytical service oriented system. Future Generation Computer Systems, 80, pp.229-241.
[46] Qu, C., Calheiros, R.N. and Buyya, R., 2018. Auto-scaling web applications in clouds: A taxonomy and survey. ACM Computing Surveys (CSUR), 51(4), pp.1-33.
[47] Raj, P. and Raman, A., 2018. Automated multi-cloud operations and container orchestration. In Software-Defined Cloud Centers: Operational and Management Technologies and Tools (pp. 185-218). Cham: Springer International Publishing.
[48] Rico, A., Noguera, M., Garrido, J.L., Benghazi, K. and Barjis, J., 2016. Extending multi-tenant architectures: a database model for a multi-target support in SaaS applications. Enterprise Information Systems, 10(4), pp.400-421.
[49] Rodriguez, M.A. and Buyya, R., 2018. Scheduling dynamic workloads in multi-tenant scientific workflow as a service platforms. Future Generation Computer Systems, 79, pp.739-750.
[50] Ruan, G., Wernert, E., Gniady, T., Tuna, E. and Sherman, W., 2018. High performance photogrammetry for academic research. In Proceedings of the Practice and Experience on Advanced Research Computing: Seamless Creativity (pp. 1-8).
[51] Shahin, M., Babar, M.A. and Zhu, L., 2016, September. The intersection of continuous deployment and architecting process: practitioners' perspectives. In Proceedings of the 10th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (pp. 1-10).
[52] SHARMA, A., ADEKUNLE, B.I., OGEAWUCHI, J.C., ABAYOMI, A.A. and ONIFADE, O., 2019. IoT-enabled Predictive Maintenance for Mechanical Systems: Innovations in Real-time Monitoring and Operational Excellence.
[53] Sookhak, M., Tang, H., He, Y. and Yu, F.R., 2018. Security and privacy of smart cities: a survey, research issues and challenges. IEEE Communications Surveys & Tutorials, 21(2), pp.1718-1743.
[54] Suresh, L., Bodik, P., Menache, I., Canini, M. and Ciucu, F., 2017, September. Distributed resource management across process boundaries. In Proceedings of the 2017 Symposium on Cloud Computing (pp. 611-623).
[55] Taleb, T., Samdanis, K., Mada, B., Flinck, H., Dutta, S. and Sabella, D., 2017. On multi-access edge computing: A survey of the emerging 5G network edge cloud architecture and orchestration. IEEE Communications Surveys & Tutorials, 19(3), pp.1657-1681.
[56] Tan, S., De, D., Song, W.Z., Yang, J. and Das, S.K., 2016. Survey of security advances in smart grid: A data driven approach. IEEE Communications Surveys & Tutorials, 19(1), pp.397-422.
[57] Toosi, A.N., Mahmud, R., Chi, Q. and Buyya, R., 2018. Management and orchestration of network slices in 5G, fog, edge and clouds. arXiv preprint arXiv:1812.00593.
[58] Von Leon, D., Miori, L., Sanin, J., El Ioini, N., Helmer, S. and Pahl, C., 2018. A performance exploration of architectural options for a middleware for decentralised lightweight edge cloud architectures. In IoTBDS 2018: Proceedings of the 3rd International Conference on Internet of Things, Big Data and Security; Funchal, Madeira, Portugal, 19-21 March 2018. SciTePress.
[59] Wang, C., Gupta, A. and Urgaonkar, B., 2016, June. Fine-grained resource scaling in a public cloud: A tenant's perspective. In 2016 IEEE 9th International Conference on Cloud Computing (CLOUD) (pp. 124-131). IEEE.
[60] Xiong, J., 2018. Cloud Computing for Scientific Research. Scientific Research Publishing, Inc. USA.
How to cite this paper
@article{1710019,
author = {Eseoghene Daniel Erigha, Ehimah Obuse, Babawale Patrick Okare, Abel Chukwuemeke Uzoka, Samuel Owoade; Noah Ayanbode},
title = {Architecting Modular Microservices Using Asynchronous Messaging and REST APIs in Multi-Tenant Software-as-a-Service Platforms},
journal = {Iconic Research And Engineering Journals},
year = {2019},
volume = {3},
number = {4},
pages = {319-336},
issn = {2456-8880},
url = {https://www.irejournals.com/formatedpaper/1710019.pdf},
abstract = {The evolution of cloud computing and the increasing demand for scalable, flexible, and tenant-aware applications have driven the widespread adoption of microservices in Software-as-a-Service (SaaS) platforms. This explores the architectural principles and design patterns involved in building modular microservices using asynchronous messaging and REST APIs within multi-tenant SaaS environments. Microservices promote modularity and independent deployment, while multi-tenancy enables resource sharing across customers with logical separation. However, achieving scalability, resilience, and tenant isolation in such systems requires careful architectural decisions. REST APIs serve as the backbone for synchronous communication between clients and services, offering a standardized interface for interaction, versioning, and access control. In contrast, asynchronous messaging?enabled by technologies such as Apache Kafka, RabbitMQ, and AWS SNS/SQS?facilitates loose coupling, fault tolerance, and eventual consistency across distributed microservices. This discusses the use of publish-subscribe, message queues, and event-driven designs to orchestrate and choreograph services, especially in scenarios requiring scalability and temporal decoupling. A critical focus is given to multi-tenant design patterns, including database isolation strategies, tenant-aware authentication, and context propagation across services. Operational aspects such as containerized deployment, observability, CI/CD pipelines, and dynamic scaling are explored to demonstrate real-world viability. Security and compliance are also examined, with emphasis on data segregation, encryption, and monitoring. By integrating RESTful APIs for command and query responsibilities with asynchronous messaging for event propagation and background processing, SaaS platforms can achieve high availability, responsiveness, and modular growth. This hybrid approach supports agile development and continuous delivery in a competitive SaaS landscape. This concludes by identifying open research directions such as serverless microservices, cross-tenant analytics, and AI-enhanced service orchestration. Overall, this provides a comprehensive framework for architecting next-generation SaaS platforms that are robust, tenant-aware, and operationally efficient.},
keywords = {Architecting, Modular microservices, Asynchronous messaging, REST APIs, Multi-tenant, Software-as-a-service platforms},
month = {October},
}