Serverless Data Science - Are We There Yet? A Case Study of Model Serving
Yuncheng Wu, Tien Tuan Anh Dinh, Guoyu Hu, Meihui Zhang, Yeow Meng Chee, Beng Chin Ooi
摘要
Machine learning (ML) is an important part of modern data science applications. Data scientists today have to manage the end-to-end ML life cycle that includes both model training and model serving, the latter of which is essential, as it makes their works available to end-users. Systems of model serving require high performance, low cost, and ease of management. Cloud providers are already offering model serving choices, including managed services and self-rented servers. Recently, serverless computing, whose advantages include high elasticity and a fine-grained cost model, brings another option for model serving.
Our goal in this paper is to examine the viability of serverless as a mainstream model serving platform. To this end, we first conduct a comprehensive evaluation of the performance and cost of serverless against other model serving systems on Amazon Web Service and Google Cloud Platform. We find that serverless outperforms many cloud-based alternatives. Further, there are settings under which it even achieves better performance than GPU-based systems. Next, we present the design space of serverless model serving, which comprises multiple dimensions, including cloud platforms, serving runtimes, and other function-specific parameters. For each dimension, we analyze the impact of different choices and provide suggestions for data scientists to better utilize serverless model serving. Finally, we discuss challenges and opportunities in building a more practical serverless model serving system.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- FSD-Inference: Fully Serverless Distributed Inference with Scalable Cloud Communication 引用了 Batch: machine learning inference serving on serverless platforms with adaptive batching
- FSD-Inference: Fully Serverless Distributed Inference with Scalable Cloud Communication 引用了 Lambada: Interactive Data Analytics on Cold Data Using Serverless Cloud Infrastructure
- Optimus: Warming Serverless ML Inference via Inter-Function Model Transformation 引用了 FaasCache: keeping serverless computing alive with greedy-dual caching
- Optimus: Warming Serverless ML Inference via Inter-Function Model Transformation 引用了 Batch: machine learning inference serving on serverless platforms with adaptive batching
- Optimus: Warming Serverless ML Inference via Inter-Function Model Transformation 引用了 Lambada: Interactive Data Analytics on Cold Data Using Serverless Cloud Infrastructure
- SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless Functions 引用了 FaasCache: keeping serverless computing alive with greedy-dual caching
- Vexless: A Serverless Vector Data Management System Using Cloud Functions 引用了 Lambada: Interactive Data Analytics on Cold Data Using Serverless Cloud Infrastructure
- BladeDISC: Optimizing Dynamic Shape Machine Learning Workloads via Compiler Approach 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
引用它的顶会 Paper7
- Optimus: Warming Serverless ML Inference via Inter-Function Model TransformationZicong Hong, Jian Lin, Song Guo, Sifu Luo 等EuroSys 2024 · 29 次引用
- Vexless: A Serverless Vector Data Management System Using Cloud FunctionsYongye Su, Yinqi Sun, Minjia Zhang, Jianguo WangSIGMOD 2024 · 27 次引用
- BladeDISC: Optimizing Dynamic Shape Machine Learning Workloads via Compiler ApproachZhen Zheng, Zaifeng Pan, Dalin Wang, Kai Zhu 等SIGMOD 2024 · 14 次引用
- SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless FunctionsCheryl Lee, Zhouruixin Zhu, Tianyi Yang, Yintong Huo 等ICDE 2024 · 13 次引用
- FSD-Inference: Fully Serverless Distributed Inference with Scalable Cloud CommunicationJoe Oakley, Hakan FerhatosmanogluICDE 2024 · 6 次引用
它引用的 Paper6
- ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel 等ICLR 2020 · 7,418 次引用
- Serving DNNs like Clockwork: Performance Predictability from the Bottom UpArpan Gujarati, Reza Karimi, Safya Alzayat, Wei Hao 等OSDI 2020 · 392 次引用
- FaasCache: keeping serverless computing alive with greedy-dual cachingAlexander Fuerst, Prateek SharmaASPLOS 2021 · 223 次引用
- Batch: machine learning inference serving on serverless platforms with adaptive batchingAhsan Ali, Riccardo Pinciroli, Feng Yan, Evgenia SmirniSC 2020 · 184 次引用
- Lambada: Interactive Data Analytics on Cold Data Using Serverless Cloud InfrastructureIngo Müller, Renato Marroquín, Gustavo AlonsoSIGMOD 2020 · 135 次引用
相关 Paper
- Towards Demystifying Serverless Machine Learning TrainingJiawei Jiang, Shaoduo Gan, Yue Liu, Fanlin Wang 等SIGMOD 2021 · 107 次引用
- INFless: a native serverless system for low-latency, high-throughput inferenceYanan Yang, Laiping Zhao, Yiming Li, Huanyu Zhang 等ASPLOS 2022 · 145 次引用
- Optimizing Distributed Deployment of Mixture-of-Experts Model Inference in Serverless ComputingMengfan Liu, Wei Wang, Chuan WuINFOCOM 2025 · 6 次引用
- HydraServe: Minimizing Cold Start Latency for Serverless LLM Serving in Public CloudsChiheng Lou, Sheng Qi, Chao Jin, Dapeng Nie 等NSDI 2026 · 22 次引用
- SeSeMI: Secure Serverless Model Inference on Sensitive DataGuoyu Hu, Yuncheng Wu, Gang Chen, Tien Tuan Anh Dinh 等ICDE 2025 · 1 次引用
