Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider

Mohammad Shahrad, Rodrigo Fonseca, Íñigo Goiri, Gohar Chaudhry, Paul Batum +5 more
3/6/2020
1,024 citations
cs.DC

Official code: Azure/AzurePublicDataset (1,227 stars, Jupyter Notebook, CC-BY-4.0, last commit 2026-10-01).

Abstract

Function as a Service (FaaS) has been gaining popularity as a way to deploy computations to serverless backends in the cloud. This paradigm shifts the complexity of allocating and provisioning resources to the cloud provider, which has to provide the illusion of always-available resources (i.e., fast function invocations without cold starts) at the lowest possible resource cost.

Show full abstract

Doing so requires the provider to deeply understand the characteristics of the FaaS workload. Unfortunately, there has been little to no public information on these characteristics. Thus, in this paper, we first characterize the entire production FaaS workload of Azure Functions. We show for example that most functions are invoked very infrequently, but there is an 8-order-of-magnitude range of invocation frequencies. Using observations from our characterization, we then propose a practical resource management policy that significantly reduces the number of function coldstarts,while spending fewerresources than state-of-the-practice policies.

View on arXivView PDF

Code Implementations(1)

CC-BY-4.0

Microsoft Azure Traces

1,227187Jupyter Notebook, PythonAug 18, 20172 months agoCC-BY-4.0

Similar Papers

Cite this paper

@article{shahrad2020serverless,
  title  = {Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider},
  author = {Mohammad Shahrad and Rodrigo Fonseca and Íñigo Goiri and Gohar Chaudhry and Paul Batum and Jason Cooke and Eduardo Laureano and Colby Tresness and Mark Russinovich and Ricardo Bianchini},
  year   = {2020},
  eprint = {2003.03423},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.03423}
}

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

Discussion