Joint Deployment and Request Routing for Microservice Call Graphs in Data Centers
- 11 September 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Parallel and Distributed Systems
- Vol. 34 (11) , 2994-3011
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.Keywords
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:
- Joint optimization of service request routing and instance placement in the microservice systemJournal of Network and Computer Applications, 2019
- Machine Learning Methods for Reliable Resource Provisioning in Edge-Cloud ComputingACM Computing Surveys, 2019
- Re-Architecting NFV Ecosystem with Microservices: State of the Art and Research ChallengesIEEE Network, 2019
- An Open-Source Benchmark Suite for Microservices and Their Hardware-Software Implications for Cloud & Edge Systems2019
- DRS: Auto-Scaling for Real-Time Stream AnalyticsIEEE/ACM Transactions on Networking, 2017
- Joint Optimization of Chain Placement and Request Scheduling for Network Function Virtualization2017
- A Survey on Data Center Networking (DCN): Infrastructure and OperationsIEEE Communications Surveys & Tutorials, 2016
- Multi-resource packing for cluster schedulersACM SIGCOMM Computer Communication Review, 2014
- Enhanced First-Fit Decreasing Algorithm for Energy-Aware Job Scheduling in Cloud2014
- Data Center Networks2013