Input-Based Ensemble-Learning Method for Dynamic Memory Configuration of Serverless Computing Functions

Siddharth Agarwal, Maria A. Rodriguez, Rajkumar Buyya
11/12/2024
cs.DCcs.AIeess.SY

No official code found. Best implementation: SidAg26/MemFigLess (0 stars, MIT, last commit 2025-08-25).

Abstract

In today's Function-as-a-Service offerings, a programmer is usually responsible for configuring function memory for its successful execution, which allocates proportional function resources such as CPU and network. However, right-sizing the function memory force developers to speculate performance and make ad-hoc configuration decisions. Recent research has highlighted that a function's input characteristics, such as input size, type and number of inputs, significantly impact its resource demand, run-time performance and costs with fluctuating workloads. This correlation further makes memory configuration a non-trivial task. On that account, an input-aware function memory allocator not only improves developer productivity by completely hiding resource-related decisions but also drives an opportunity to reduce resource wastage and offer a finer-grained cost-optimised pricing scheme. Therefore, we present MemFigLess, a serverless solution that estimates the memory requirement of a serverless function with input-awareness. The framework executes function profiling in an offline stage and trains a multi-output Random Forest Regression model on the collected metrics to invoke input-aware optimal configurations. We evaluate our work with the state-of-the-art approaches on AWS Lambda service to find that MemFigLess is able to capture the input-aware resource relationships and allocate upto 82% less resources and save up to 87% run-time costs.

View on arXivView PDF

Code Implementations(1)

SidAg26/MemFigLessCommunity76%
MIT

MemFigLess: Input-Based Ensemble-Learning Method for Dynamic Memory Configuration of Serverless Computing Functions

00HTML, PythonApr 23, 20251 years agoMIT

Similar Papers

Cite this paper

@article{agarwal2024inputbased,
  title  = {Input-Based Ensemble-Learning Method for Dynamic Memory Configuration of Serverless Computing Functions},
  author = {Siddharth Agarwal and Maria A. Rodriguez and Rajkumar Buyya},
  year   = {2024},
  eprint = {2411.07444},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.07444v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.07444.svg)](https://codeofpaper.com/paper/2411.07444)

Discussion