[Paper Review] Fifer: Tackling Underutilization in the Serverless Era
Fifer is a stage-aware, adaptive resource management framework for serverless function-chains that improves container utilization and cluster energy efficiency by intelligently batching requests using slack-aware scheduling and LSTM-based load prediction. It reduces container count by up to 80% while maintaining sub-1000ms SLOs, achieving 4× higher utilization and 31% lower energy consumption compared to state-of-the-art schedulers.
Datacenters are witnessing a rapid surge in the adoption of serverless functions for microservices-based applications. A vast majority of these microservices typically span less than a second, have strict SLO requirements, and are chained together as per the requirements of an application. The aforementioned characteristics introduce a new set of challenges, especially in terms of container provisioning and management, as the state-of-the-art resource management frameworks, employed in serverless platforms, tend to look at microservice-based applications similar to conventional monolithic applications. Hence, these frameworks suffer from microservice-agnostic scheduling and colossal container over-provisioning, especially during workload fluctuations, thereby resulting in poor resource utilization. In this work, we quantify the above shortcomings using a variety of workloads on a multi-node cluster managed by Kubernetes and Brigade serverless framework. To address them, we propose \emph{Fifer} -- an adaptive resource management framework to efficiently manage function-chains on serverless platforms. The key idea is to make \emph{Fifer} (i) utilization conscious by efficiently bin packing jobs to fewer containers using function-aware container scaling and intelligent request batching, and (ii) at the same time, SLO-compliant by proactively spawning containers to avoid cold-starts, thus minimizing the overall response latency. Combining these benefits, \emph{Fifer} improves container utilization and cluster-wide energy consumption by 4x and 31%, respectively, without compromising on SLO's, when compared to the state-of-the-art schedulers employed by serverless platforms.
Motivation & Objective
- To address the underutilization and inefficiency in serverless platforms caused by microservice-agnostic scheduling and over-provisioning of containers.
- To reduce container sprawl and energy consumption in datacenters hosting millisecond-scale, latency-critical function-chains.
- To maintain strict SLO compliance (≤1000ms) while minimizing cold-starts and optimizing resource allocation across function stages.
- To enable efficient, adaptive container provisioning by leveraging inter-stage slack and predictive load modeling.
- To decouple cold-start mitigation from request execution through proactive container pre-warming based on workload forecasts.
Proposed method
- Fifer employs a novel slack estimation technique to identify unused time budget (slack) across function stages in a chain, enabling intelligent request batching.
- It uses an LSTM-based load prediction model trained on historical request traces to forecast future workloads and proactively scale containers.
- The framework implements stage-aware container provisioning, dynamically adjusting container counts per function stage based on predicted load and available slack.
- Fifer combines request batching with proactive container spawning to minimize cold-start latency while reducing the total number of containers.
- It maintains SLO compliance by ensuring that batching does not exceed the available slack, and by pre-warming containers before peak loads.
- The system is integrated with Kubernetes and the Brigade serverless framework to enable real-world evaluation on a multi-node cluster.
Experimental results
Research questions
- RQ1How can serverless function-chains be scheduled to minimize container over-provisioning while maintaining strict end-to-end SLOs?
- RQ2What is the impact of inter-stage slack on efficient request batching and container utilization in serverless workloads?
- RQ3Can predictive load modeling improve container provisioning decisions and reduce cold-start overheads in short-lived, high-throughput function chains?
- RQ4To what extent can stage-aware resource management reduce energy consumption and improve cluster efficiency in serverless environments?
- RQ5How does Fifer's approach compare to state-of-the-art schedulers in terms of container utilization, SLO compliance, and energy efficiency?
Key findings
- Fifer reduces the average number of containers spawned by up to 80% compared to state-of-the-art schedulers in serverless platforms.
- The framework improves container utilization by 4× across evaluated workloads on an 80-core cluster and in large-scale simulations.
- Fifer achieves a 31% reduction in cluster-wide energy consumption without violating any SLOs.
- By leveraging slack-aware batching and proactive container pre-warming, Fifer maintains end-to-end latency within the 1000ms SLO requirement.
- The LSTM-based load predictor enables accurate forecasting, allowing Fifer to scale containers in anticipation of load spikes with minimal latency overhead.
- The system demonstrates robust performance across diverse workloads, including ML inference and content recommendation pipelines, under varying request arrival patterns.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.