Abstract
Microservices are an architectural and organizational paradigm for Internet application development. In cloud data centers, delay-sensitive applications receive massive user requests, which are fed into multiple queues and subsequently served by multiple microservice instances. Accordingly, effective deployment of multiple queues and containers significantly reduces queuing delay, processing delay, and communication delay, boosting overall service performance. Due to the increased complexity of call dependencies, probabilistic routing paths, and microservice multiplexing, the deployment of service instances fully interacts with request routing, bringing great difficulties to service orchestration. In this case, it is valuable to simultaneously consider service deployment and request routing in a fine-grained manner. However, most existing studies considered them as two independent components with local optimization, while data dependencies and the deployment of multiple queues/containers are not well handled. Therefore, this paper proposes to jointly optimize the deployment and request routing of microservice call graphs based on fine-grained queuing network analysis and container orchestration. We first formulate the joint optimization problem as a mixed-integer nonlinear program and then exploit open Jackson queuing networks to model the intrinsic data dependencies and analyze response latency and microservice multiplexing. To optimize the overall cost and latency, this paper presents an efficient two-stage heuristic algorithm. The algorithm consists of a resource-splitting-based deployment approach and a partition-mapping-based routing method, which employ instance-level optimization to enhance performance. Further, this paper also provides mathematical analysis on the performance and complexity of the propose algorithm. Finally, comprehensive trace-driven experiments demonstrate that the overall performance of our approach is better than existing microservice benchmarks. Extensive simulation results show that average deployment cost is reduced by 27.4% and the end-to-end response latency is reduced by 15.1% on average.
Funding Information
  • National Key Research and Development Program of China (2022ZD0117104)
  • National Natural Science Foundation of China (62171189, 62272183)
  • Key Research and Development Program of Hubei Province, China (2022BAA038, 2023BAB074, 2021BAA026)

This publication has 36 references indexed in Scilit: