[Paper Review] Developing a Process in Architecting Microservice Infrastructure with Docker, Kubernetes, and Istio
This paper proposes a triphasic, codebase- and platform-agnostic process to migrate monolithic Java Spring applications to microservices using Docker, Kubernetes, and Istio. The method enables stable, scalable deployment through containerization, service mesh communication via Istio, configuration management with Kubernetes ConfigMaps, and automated rollouts via GitOps pipelines, reducing inter-service latency through optimized call batching.
As an application usage grows, its owner scales up vertically by replacing old machines with more powerful ones. This methodology is expensive and leads to resource waste. In response to the business needs, internet giants have developed the microservice architecture, which lets developers divide up their application into smaller units that can be hosted on multiple machines, thus enabling horizontal scale up. We propose a triphasic incremental process to transform a traditional application into a microservice application that guarantees stability during the operation. Then we demonstrated such methodology in a prototype microservice application based on an existing monolithic application. First, the developer splits a monolithic application into atomic services and aggregated services. Second, these services are packaged, containerized, and then deployed on Kubernetes. During this stage, Istio is deployed on the Kubernetes cluster to establish pod level communications, delegate traffic flows and filter requests, and enable the autoscaler. Other external add-ons, such as database connections, are defined in service entry. In the last stage, we developed an algorithm guideline to minimize inter-service calls by compiling all needed calls into a list and perform one finalized call. Although it increases memory usage, it avoided the wait time incurred during interservice calls. We then investigated managing configurations using config maps, recommended a pipeline being developed to perform automatic rollover.
Motivation & Objective
- To address the lack of a replicable, scalable, and portable methodology for transforming monolithic Java Spring applications into microservices.
- To enable stable, incremental migration without vendor or language lock-in.
- To minimize inter-service communication overhead while maintaining system reliability and performance.
- To implement automated configuration management and continuous deployment using GitOps principles.
- To ensure compatibility with existing data infrastructure and support future extensibility.
Proposed method
- Divide the monolith into atomic and aggregated services to enable modular decomposition.
- Containerize services using Docker and orchestrate them via Kubernetes for dynamic scaling and management.
- Integrate Istio as a service mesh to manage service-to-service communication, traffic routing, request filtering, and automatic autoscaling.
- Use Kubernetes ConfigMaps to externalize configuration, enabling remote updates without redeploying application code.
- Implement a GitOps pipeline (e.g., using Weave Flux) to trigger automatic pod restarts upon configuration changes in a remote Git repository.
- Develop an algorithm to batch inter-service calls, reducing latency by minimizing round-trip calls and achieving O(2(N + L)) runtime complexity.
Experimental results
Research questions
- RQ1How can a monolithic application be incrementally transformed into a microservice architecture with minimal disruption?
- RQ2How can service discovery and inter-service communication be effectively managed in a Kubernetes-based microservice environment?
- RQ3What data strategy ensures efficient read/write performance while remaining compatible with existing data infrastructure?
- RQ4How can configuration management be decoupled from code and automated for continuous deployment?
- RQ5What techniques minimize inter-service communication overhead without sacrificing functionality?
Key findings
- The triphasic process successfully transformed a monolithic Java Spring application into a scalable, containerized microservice architecture using Docker, Kubernetes, and Istio.
- Istio enabled dynamic traffic management, request filtering, and automatic scaling based on predefined thresholds.
- ConfigMaps allowed externalized, version-controlled configuration that could be updated independently of application code.
- The GitOps pipeline enabled fully automated, idempotent configuration rollouts with no manual intervention required.
- The batching algorithm reduced inter-service call latency by consolidating multiple calls into a single request, improving performance by minimizing round-trip delays.
- Memory usage increased slightly due to batching, but the performance gain from reduced wait times outweighed the cost.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.