Locality-aware Load-Balancing For Serverless Clusters
摘要
While serverless computing provides more convenient abstractions for developing and deploying applications, the Function-as-a-Service (FaaS) programming model presents new resource management challenges for the FaaS provider. In this paper, we investigate load-balancing policies for serverless clusters. Locality, i.e., running repeated invocations of a function on the same server, is a key determinant of performance because it increases warm-starts and reduces cold-start overheads. We find that the locality vs. load tradeoff is crucial and presents a large design space.
We enhance consistent hashing for FaaS, and develop CH-RLU: Consistent Hashing with Random Load Updates, a simple practical load-balancing policy which provides more than 2× reduction in function latency. Our policy deals with highly heterogeneous, skewed, and bursty function workloads, and is a drop-in replacement for OpenWhisk's existing load-balancer. We leverage techniques from caching such as SHARDS for popularity detection, and develop a new approach that places functions based on a tradeoff between locality, load, and randomness.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Faster and Cheaper Serverless Computing on Harvested Resources 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- Faster and Cheaper Serverless Computing on Harvested Resources 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Fork in the Road: Reflections and Optimizations for Cold Start Latency in Production Serverless Systems 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- Fork in the Road: Reflections and Optimizations for Cold Start Latency in Production Serverless Systems 引用了 Ilúvatar: A Fast Control Plane for Serverless Computing
- Fork in the Road: Reflections and Optimizations for Cold Start Latency in Production Serverless Systems 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Fork in the Road: Reflections and Optimizations for Cold Start Latency in Production Serverless Systems 引用了 Dirigent: Lightweight Serverless Orchestration
- Fork in the Road: Reflections and Optimizations for Cold Start Latency in Production Serverless Systems 引用了 Palette Load Balancing: Locality Hints for Serverless Functions
- Ilúvatar: A Fast Control Plane for Serverless Computing 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- Ilúvatar: A Fast Control Plane for Serverless Computing 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Ilúvatar: A Fast Control Plane for Serverless Computing 引用了 Benchmarking, analysis, and optimization of serverless function snapshots
- Dirigent: Lightweight Serverless Orchestration 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- Dirigent: Lightweight Serverless Orchestration 引用了 Ilúvatar: A Fast Control Plane for Serverless Computing
- Dirigent: Lightweight Serverless Orchestration 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Dirigent: Lightweight Serverless Orchestration 引用了 Palette Load Balancing: Locality Hints for Serverless Functions
- Dirigent: Lightweight Serverless Orchestration 引用了 Benchmarking, analysis, and optimization of serverless function snapshots
- Libra: Harvesting Idle Resources Safely and Timely in Serverless Clusters 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Palette Load Balancing: Locality Hints for Serverless Functions 引用了 Faster and Cheaper Serverless Computing on Harvested Resources
- Palette Load Balancing: Locality Hints for Serverless Functions 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Benchmarking, analysis, and optimization of serverless function snapshots 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- Benchmarking, analysis, and optimization of serverless function snapshots 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
引用它的顶会 Paper7
- Palette Load Balancing: Locality Hints for Serverless FunctionsMania Abdi, Samuel Ginzburg, Xiayue Charles Lin, Jose M. Faleiro 等EuroSys 2023 · 44 次引用
- Ilúvatar: A Fast Control Plane for Serverless ComputingAlexander Fuerst, Abdul Rehman, Prateek SharmaHPDC 2023 · 10 次引用
- Fork in the Road: Reflections and Optimizations for Cold Start Latency in Production Serverless SystemsXiaohu Chai, Tianyu Zhou, Keyang Hu, Jianfeng Tan 等OSDI 2025 · 7 次引用
- Libra: Harvesting Idle Resources Safely and Timely in Serverless ClustersHanfei Yu, Christian Fontenot, Hao Wang, Jian Li 等HPDC 2023 · 7 次引用
- Dirigent: Lightweight Serverless OrchestrationLazar Cvetkovic, François Costa, Mihajlo Djokic, Michal Friedman 等SOSP 2024 · 6 次引用
它引用的 Paper5
- Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud ProviderMohammad Shahrad, Rodrigo Fonseca, Iñigo Goiri, Gohar Irfan Chaudhry 等USENIX ATC 2020 · 946 次引用
- Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less BootingDong Du, Tianyi Yu, Yubin Xia, Binyu Zang 等ASPLOS 2020 · 280 次引用
- Benchmarking, analysis, and optimization of serverless function snapshotsDmitrii Ustiugov, Plamen Petrov, Marios Kogias, Edouard Bugnion 等ASPLOS 2021 · 162 次引用
- Faster and Cheaper Serverless Computing on Harvested ResourcesYanqi Zhang, Iñigo Goiri, Gohar Irfan Chaudhry, Rodrigo Fonseca 等SOSP 2021 · 131 次引用
- Revisiting Consistent Hashing with Bounded LoadsJohn Chen, Benjamin Coleman, Anshumali ShrivastavaAAAI 2021 · 10 次引用
相关 Paper
- FaasCache: keeping serverless computing alive with greedy-dual cachingAlexander Fuerst, Prateek SharmaASPLOS 2021 · 223 次引用
- Burst Computing: Quick, Sudden, Massively Parallel Processing on Serverless ResourcesDaniel Barcelona Pons, Aitor Arjona, Pedro García López, Enrique Molina-Giménez 等USENIX ATC 2025 · 3 次引用
- Metronome: Differentiated Delay Scheduling for Serverless FunctionsZhuangbin Chen, Juzheng Zheng, Zibin ZhengICSE 2026 · 1 次引用
- Concurrency-Informed Orchestration for Serverless FunctionsQichang Liu, Yue Cheng, Haiying Shen, Ao Wang 等ASPLOS 2025 · 7 次引用
- SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless FunctionsCheryl Lee, Zhouruixin Zhu, Tianyi Yang, Yintong Huo 等ICDE 2024 · 13 次引用
