Jiagu: Optimizing Serverless Computing Resource Utilization with Harmonized Efficiency and Practicability
<|reference_start|>Jiagu: Optimizing Serverless Computing Resource Utilization with Harmonized Efficiency and Practicability: Current serverless platforms struggle to optimize resource utilization due to their dynamic and fine-grained nature. Conventional techniques like overcommitment and autoscaling fall short, often sacrificing utilization for practicability or incurring performance trade-offs. Overcommitment requires predicting performance to prevent QoS violation, introducing trade-off between prediction accuracy and overheads. Autoscaling requires scaling instances in response to load fluctuations quickly to reduce resource wastage, but more frequent scaling also leads to more cold start overheads. This paper introduces Jiagu, which harmonizes efficiency with practicability through two novel techniques. First, pre-decision scheduling achieves accurate prediction while eliminating overheads by decoupling prediction and scheduling. Second, dual-staged scaling achieves frequent adjustment of instances with minimum overhead. We have implemented a prototype and evaluated it using real-world applications and traces from the public cloud platform. Our evaluation shows a 54.8% improvement in deployment density over commercial clouds (with Kubernetes) while maintaining QoS, and 81.0%--93.7% lower scheduling costs and a 57.4%--69.3% reduction in cold start latency compared to existing QoS-aware schedulers in research work.<|reference_end|>
@article{liu2024jiagu:,
    title={Jiagu: Optimizing Serverless Computing Resource Utilization with
  Harmonized Efficiency and Practicability},
    author={Qingyuan Liu, Yanning Yang, Dong Du, Yubin Xia, Ping Zhang, Jia Feng,
  James Larus, Haibo Chen},
    journal={arXiv preprint arXiv:2403.00433},
    year={2024},
    archivePrefix={arXiv},
    eprint={2403.00433},
    primaryClass={cs.DC}
}