Developing AI and ML-Based Real-Time Streaming Microservices for Distributed Systems
Faloye Oluwadamilohun Mary
Ladoke Akintola University of Technology
Abstract
Microservices architecture has made it easier for spread-out systems to change and grow. You can process and analyze even more data-even faster-by adding AI and ML to microservices streaming data in real time. This paper discusses the design and development of intelligent microservices, with the main focus being how to combine AI/ML with microservices architecture. We discuss various pros and cons of the use of AI and ML in microservices, especially when it relates to fetching data from different locations in real time. Such integration could be very useful in real-life applications, such as online shopping, doctor visits, or money-related dealings. The recommendations for further research and development in this domain conclude the paper.
Keywords
Microservices Architecture, Artificial Intelligence (AI), Machine Learning (ML), Real-Time Streaming, Distributed Systems, Intelligent Microservices, Data Processing, Scalability, Flexibility, Automation.
References
[1] Lucas Filho, E. R.; Savva, G.; Yang, L.; Fu, K.; Shen, J.; Herodotou, H. (2025). Employing Streaming Machine Learning for Modeling Workload Patterns in Multi Tiered Data Storage Systems. Future Internet, 17(4):170. MDPI.
[2] Dunning, T.; Friedman, E. (2019). Streaming Microservices. In: Sakr, S.; Zomaya, A. Y. (eds.) Encyclopedia of Big Data Technologies. Springer, Cham.
[3] Song, Chenghao; Xu, Minxian; Ye, Kejiang; Wu, Huaming; Gill, Sukhpal Singh; Buyya, Rajkumar; Xu, Chengzhong. (2023). ChainsFormer: A Chain Latency aware Resource Provisioning Approach for Microservices Cluster. arXiv preprint.
[4] Fettes, Quintin; Karanth, Avinash; Bunescu, Razvan; Beckwith, Brandon; Subramoney, Sreenivas. (2023). Reclaimer: A Reinforcement Learning Approach to Dynamic Resource Allocation for Cloud Microservices. arXiv preprint.
[5] Mehran, Narges; Kimovski, Dragi; Prodan, Radu. (2021). A Two Sided Matching Model for Data Stream Processing in the Cloud Fog Continuum. arXiv preprint.
[6] Zhang, Hongyi; Bosch, Jan; Holmström Olsson, Helena. (2021). Real time End to End Federated Learning: An Automotive Case Study. arXiv preprint.
[7] Hamilton, Mark et al. (2020). Large Scale Intelligent Microservices: Deploying Machine Learning Algorithms within Databases. Papers with Code.
[8] Moreschini, Sergio; Pour, Shahrzad; Lanese, Ivan; Balouek Thomert, Daniel; Bogner, Justus; Li, Xiaozhou; Pecorelli, Fabiano; Soldani, Jacopo; Truyen, Eddy; Taibi, Davide. (2025). AI Techniques in the Microservices Life Cycle: A Systematic Mapping Study. Computing. SpringerLink.
[9] Designing Microservices Using AI: A Systematic Literature Review. (2024). MDPI.
[10] Duggirala, Sanghamithra & Kushwaha, Ajay Shriram. (2025). Event Driven Microservices: Building Responsive and Scalable Systems with Stream Processing. Universal Research Reports, 12(1).