Cloud-Native AI Workloads Using Microservice Architectures
Abstract
Production machine learning systems often run as monolithic applications where data preprocessing, model inference, and post-processing share a single container and scale as a unit. This coupling wastes compute resources when workloads are heterogeneous a GPU-bound inference stage idles CPU-bound preprocessing capacity, and vice versa. This paper presents a microservice architecture deployed on Kubernetes that decomposes an ML serving pipeline into six independently scalable services: API Gateway, Model Registry, Feature Store, Inference Engine (NVIDIA Triton), Training Pipeline, and Monitoring. Experiments on a five-node cluster with three workloads (ResNet-50 image classification, BERT-base text classification, XGBoost tabular prediction) show that the microservice design achieves 3.2× the peak throughput of an equivalent monolithic Flask deployment under 10× bursty loads. Tail latency (p99) drops by 45%, and GPU utilisation increases from 52% to 78%. Horizontal Pod Autoscaler (HPA) driven by inference-queue-depth metrics provisions additional pods within 18 seconds of load onset, containing throughput degradation to under 5% during burst transients.
Fields of Study & Subjects
Software System Performance and Reliability
Cloud Computing and Resource Management
IoT and Edge/Fog Computing
Publication details
- Journal / source
- International Journal of Technical Research Studies (IJTRS)
- Publisher
- Eduschool Academic Research and Publishers
- Volume
- 2
- Issue
- 1
- Pages
- 8–8
- Publication date
- 9 March 2026