Morphis: SLO-Aware Resource Scheduling for Microservices with Time-Varying Call Graphs
Authors:
- Yu TangYTYu Tang
- Hailiang ZhaoHZHailiang Zhao
- Chuansheng LuCLChuansheng Lu
- Yifei ZhangYZYifei Zhang
- Kingsum ChowKCKingsum Chow
- Shuiguang DengSDShuiguang Deng
- Rui ShiRSRui Shi
Preprint
Abstract
Modern microservice systems exhibit continuous structural evolution in their runtime call graphs due to workload fluctuations, fault responses, and deployment activities. Despite this complexity, our analysis of over 500,000 production traces from ByteDance reveals a latent regularity: execution paths concentrate around a small set of recurring invocation patterns. However, existing resource management approaches fail to exploit this structure. Industrial autoscalers like Kubernetes HPA ignore inter-service dependencies, while recent academic methods often assume static topologies, rendering them ineffective under dynamic execution contexts. In this work, we propose Morphis, a dependency-aware provisioning framework that unifies pattern-aware trace analysis with global optimization. It introduces structural fingerprinting that decomposes traces into a stable execution backbone and interpretable deviation subgraphs. Then, resource allocation is formulated as a constrained optimization problem over predicted pattern distributions, jointly minimizing aggregate CPU usage while satisfying end-to-end tail-latency SLOs. Our extensive evaluations on the TrainTicket benchmark demonstrate that Morphis reduces CPU consumption by 35-38% compared to state-of-the-art baselines while maintaining 98.8% SLO compliance.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- Bridge the Islands: Pointer Analysis for Microservice SystemsProceedings of the ACM on Software Engineering, 2025
- DRPC: Distributed Reinforcement Learning Approach for Scalable Resource Provisioning in Container-Based ClustersIEEE Transactions on Services Computing, 2024
- PBScaler: A Bottleneck-Aware Autoscaling Framework for Microservice-Based ApplicationsIEEE Transactions on Services Computing, 2024
- Topology-Aware Scheduling Framework for Microservice Applications in CloudIEEE Transactions on Parallel and Distributed Systems, 2023
- Characterizing and synthesizing the workflow structure of microservices in ByteDance CloudJournal of Software: Evolution and Process, 2022
- An In-Depth Study of Microservice Call Graph and Runtime PerformanceIEEE Transactions on Parallel and Distributed Systems, 2022
- Online Deployment Algorithms for Microservice Systems With Complex DependenciesIEEE Transactions on Cloud Computing, 2022
- Burst-Aware Predictive Autoscaling for Containerized MicroservicesIEEE Transactions on Services Computing, 2020