Lune

HPDC2022Top-tier venue

Locality-aware Load-Balancing For Serverless Clusters

Alexander Fuerst, Prateek Sharma

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Faster and Cheaper Serverless Computing on Harvested Resources cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Faster and Cheaper Serverless Computing on Harvested Resources cites 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 cites 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 cites Ilúvatar: A Fast Control Plane for Serverless Computing
  • Fork in the Road: Reflections and Optimizations for Cold Start Latency in Production Serverless Systems cites 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 cites Dirigent: Lightweight Serverless Orchestration
  • Fork in the Road: Reflections and Optimizations for Cold Start Latency in Production Serverless Systems cites Palette Load Balancing: Locality Hints for Serverless Functions
  • Ilúvatar: A Fast Control Plane for Serverless Computing cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Ilúvatar: A Fast Control Plane for Serverless Computing cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Ilúvatar: A Fast Control Plane for Serverless Computing cites Benchmarking, analysis, and optimization of serverless function snapshots
  • Dirigent: Lightweight Serverless Orchestration cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Dirigent: Lightweight Serverless Orchestration cites Ilúvatar: A Fast Control Plane for Serverless Computing
  • Dirigent: Lightweight Serverless Orchestration cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Dirigent: Lightweight Serverless Orchestration cites Palette Load Balancing: Locality Hints for Serverless Functions
  • Dirigent: Lightweight Serverless Orchestration cites Benchmarking, analysis, and optimization of serverless function snapshots
  • Libra: Harvesting Idle Resources Safely and Timely in Serverless Clusters cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Palette Load Balancing: Locality Hints for Serverless Functions cites Faster and Cheaper Serverless Computing on Harvested Resources
  • Palette Load Balancing: Locality Hints for Serverless Functions cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Benchmarking, analysis, and optimization of serverless function snapshots cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Benchmarking, analysis, and optimization of serverless function snapshots cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Palette Load Balancing: Locality Hints for Serverless FunctionsMania Abdi, Samuel Ginzburg, Xiayue Charles Lin, Jose M. Faleiro et al.EuroSys 2023 · 44 citations
  2. Ilúvatar: A Fast Control Plane for Serverless ComputingAlexander Fuerst, Abdul Rehman, Prateek SharmaHPDC 2023 · 10 citations
  3. Fork in the Road: Reflections and Optimizations for Cold Start Latency in Production Serverless SystemsXiaohu Chai, Tianyu Zhou, Keyang Hu, Jianfeng Tan et al.OSDI 2025 · 7 citations
  4. Libra: Harvesting Idle Resources Safely and Timely in Serverless ClustersHanfei Yu, Christian Fontenot, Hao Wang, Jian Li et al.HPDC 2023 · 7 citations
  5. Dirigent: Lightweight Serverless OrchestrationLazar Cvetkovic, François Costa, Mihajlo Djokic, Michal Friedman et al.SOSP 2024 · 6 citations

Builds on5

  1. Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud ProviderMohammad Shahrad, Rodrigo Fonseca, Iñigo Goiri, Gohar Irfan Chaudhry et al.USENIX ATC 2020 · 946 citations
  2. Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less BootingDong Du, Tianyi Yu, Yubin Xia, Binyu Zang et al.ASPLOS 2020 · 280 citations
  3. Benchmarking, analysis, and optimization of serverless function snapshotsDmitrii Ustiugov, Plamen Petrov, Marios Kogias, Edouard Bugnion et al.ASPLOS 2021 · 162 citations
  4. Faster and Cheaper Serverless Computing on Harvested ResourcesYanqi Zhang, Iñigo Goiri, Gohar Irfan Chaudhry, Rodrigo Fonseca et al.SOSP 2021 · 131 citations
  5. Revisiting Consistent Hashing with Bounded LoadsJohn Chen, Benjamin Coleman, Anshumali ShrivastavaAAAI 2021 · 10 citations

Related papers

  1. FaasCache: keeping serverless computing alive with greedy-dual cachingAlexander Fuerst, Prateek SharmaASPLOS 2021 · 223 citations
  2. Burst Computing: Quick, Sudden, Massively Parallel Processing on Serverless ResourcesDaniel Barcelona Pons, Aitor Arjona, Pedro García López, Enrique Molina-Giménez et al.USENIX ATC 2025 · 3 citations
  3. Metronome: Differentiated Delay Scheduling for Serverless FunctionsZhuangbin Chen, Juzheng Zheng, Zibin ZhengICSE 2026 · 1 citation
  4. Concurrency-Informed Orchestration for Serverless FunctionsQichang Liu, Yue Cheng, Haiying Shen, Ao Wang et al.ASPLOS 2025 · 7 citations
  5. SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless FunctionsCheryl Lee, Zhouruixin Zhu, Tianyi Yang, Yintong Huo et al.ICDE 2024 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines