How Does It Function? Characterizing Long-term Trends in Production Serverless Workloads

Artjom Joosen, Ahmed Hassan, Martin Asenov, Rajkarn Singh, Luke Darlow +2 more
12/15/2023
102 citations
cs.PFcs.DCcs.LG

Official code: sir-lab/data-release (94 stars, Jupyter Notebook, last commit 2026-01-08).

Abstract

This paper releases and analyzes two new Huawei cloud serverless traces. The traces span a period of over 7 months with over 1.4 trillion function invocations combined.

Show full abstract

The first trace is derived from Huawei's internal workloads and contains detailed per-second statistics for 200 functions running across multiple Huawei cloud data centers. The second trace is a representative workload from Huawei's public FaaS platform. This trace contains per-minute arrival rates for over 5000 functions running in a single Huawei data center. We present the internals of a production FaaS platform by characterizing resource consumption, cold-start times, programming languages used, periodicity, per-second versus per-minute burstiness, correlations, and popularity. Our findings show that there is considerable diversity in how serverless functions behave: requests vary by up to 9 orders of magnitude across functions, with some functions executed over 1 billion times per day; scheduling time, execution time and cold-start distributions vary across 2 to 4 orders of magnitude and have very long tails; and function invocation counts demonstrate strong periodicity for many individual functions and on an aggregate level. Our analysis also highlights the need for further research in estimating resource reservations and time-series prediction to account for the huge diversity in how serverless functions behave. Datasets and code available at https://github.com/sir-lab/data-release

View on arXivView PDF

Code Implementations(1)

Huawei Cloud datasets

9413Jupyter NotebookAug 30, 202310 months ago

Similar Papers

Cite this paper

@article{joosen2023does,
  title  = {How Does It Function? Characterizing Long-term Trends in Production Serverless Workloads},
  author = {Artjom Joosen and Ahmed Hassan and Martin Asenov and Rajkarn Singh and Luke Darlow and Jianfeng Wang and Adam Barker},
  year   = {2023},
  eprint = {2312.10127},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.10127v1}
}

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/2312.10127.svg)](https://codeofpaper.com/paper/2312.10127)

Discussion