Towards Demystifying Intra-Function Parallelism in Serverless Computing
Michael Kiener, Mohak Chadha, Michael Gerndt

TL;DR
This paper investigates how intra-function parallelism affects performance and cost in serverless computing platforms like AWS Lambda, GCF, and GCR, revealing that effective parallelization can significantly reduce costs despite infrastructure abstraction.
Contribution
It provides an empirical analysis of intra-function parallelism in serverless environments, highlighting the impact of CPU core allocation and demonstrating substantial cost savings.
Findings
Parallelization can reduce costs by up to 81%.
Number of vCPUs does not always match available CPU cores.
Parallel workloads benefit significantly from increased CPU resources.
Abstract
Serverless computing offers a pay-per-use model with high elasticity and automatic scaling for a wide range of applications. Since cloud providers abstract most of the underlying infrastructure, these services work similarly to black-boxes. As a result, users can influence the resources allocated to their functions, but might not be aware that they have to parallelize them to profit from the additionally allocated virtual CPUs (vCPUs). In this paper, we analyze the impact of parallelization within a single function and container instance for AWS Lambda, Google Cloud Functions (GCF), and Google Cloud Run (GCR). We focus on compute-intensive workloads since they benefit greatly from parallelization. Furthermore, we investigate the correlation between the number of allocated CPU cores and vCPUs in serverless environments. Our results show that the number of available cores to a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCloud Computing and Resource Management · Distributed and Parallel Computing Systems · IoT and Edge/Fog Computing
