Skip to main content
QUICK REVIEW

[Paper Review] Characterizing Commodity Serverless Computing Platforms

Jinfeng Wen, Yi Liu|arXiv (Cornell University)|Dec 2, 2020
IoT and Edge/Fog ComputingComputer Science33 references6 citations
TL;DR

This paper provides a comprehensive characterization of four major commodity serverless platforms—AWS Lambda, Google Cloud Functions, Azure Functions, and Alibaba Cloud Function Compute—through qualitative analysis of documentation and quantitative benchmarking using an open-source tool, TBS. It reveals key differences in startup latency, resource efficiency, and concurrency handling, offering actionable insights for developers and vendors.

ABSTRACT

Serverless computing has become a new trending paradigm in cloud computing, allowing developers to focus on the development of core application logic and rapidly construct the prototype via the composition of independent functions. With the development and prosperity of serverless computing, major cloud vendors have successively rolled out their commodity serverless computing platforms. However, the characteristics of these platforms have not been systematically studied. Measuring these characteristics can help developers to select the most adequate serverless computing platform and develop their serverless-based applications in the right way. To fill this knowledge gap, we present a comprehensive study on characterizing mainstream commodity serverless computing platforms, including AWS Lambda, Google Cloud Functions, Azure Functions, and Alibaba Cloud Function Compute. Specifically, we conduct both qualitative analysis and quantitative analysis. In qualitative analysis, we compare these platforms from three aspects (i.e., development, deployment, and runtime) based on their official documentation to construct a taxonomy of characteristics. In quantitative analysis, we analyze the runtime performance of these platforms from multiple dimensions with well-designed benchmarks. First, we analyze three key factors that can influence the startup latency of serverless-based applications. Second, we compare the resource efficiency of different platforms with 16 representative benchmarks. Finally, we measure their performance difference when dealing with different concurrent requests, and explore the potential causes in a black-box fashion. Based on the results of both qualitative and quantitative analysis, we derive a series of findings and provide insightful implications for both developers and cloud vendors.

Motivation & Objective

  • To address the lack of systematic understanding of commodity serverless platforms, which hinders optimal application development and platform selection.
  • To identify and categorize key static characteristics of serverless platforms across development, deployment, and runtime phases.
  • To empirically evaluate the actual runtime performance of leading platforms, focusing on startup latency, resource efficiency, and concurrency handling.
  • To provide actionable insights for developers on platform selection and configuration tuning, and for cloud vendors on architectural improvements.

Proposed method

  • Conducted qualitative analysis by comparing official documentation of four platforms across three dimensions: development, deployment, and runtime, resulting in a taxonomy of 20 characteristics.
  • Designed and implemented an open-source benchmarking tool, TBS, to evaluate runtime performance in a black-box manner.
  • Measured startup latency across different programming languages, memory allocations, and package sizes to isolate performance-influencing factors.
  • Evaluated resource efficiency using 16 representative microbenchmarks and macrobenchmarks to compare execution time and resource consumption.
  • Assessed concurrency performance under varying request loads and analyzed scalability and load balancing behavior through black-box observation.
  • Used a combination of microbenchmarks and real-world-like macrobenchmarks to ensure both precision and practical relevance in performance evaluation.

Experimental results

Research questions

  • RQ1How do the development, deployment, and runtime characteristics of major commodity serverless platforms differ, and what are the key constraints developers must consider?
  • RQ2To what extent do programming language, memory size, and package size affect the startup latency across AWS Lambda, Google Cloud Functions, Azure Functions, and Alibaba Cloud Function Compute?
  • RQ3How do the platforms compare in terms of resource efficiency when executing representative workloads?
  • RQ4How do the platforms scale under concurrent request workloads, and what factors influence their scheduling and performance behavior?

Key findings

  • Startup latency varies significantly across platforms and is most sensitive to package size, with larger packages increasing latency by up to 300% on some platforms.
  • Google Cloud Functions exhibits the lowest average startup latency across all tested programming languages, followed by AWS Lambda, while Azure Functions and Alibaba Cloud Function Compute show higher baseline latencies.
  • Resource efficiency varies by workload type: AWS Lambda and Google Cloud Functions achieve better performance per unit of memory allocation in compute-intensive benchmarks.
  • Under high concurrency, Azure Functions shows the most aggressive scaling behavior, but with higher scheduling latency, while AWS Lambda maintains consistent performance with lower variance.
  • Alibaba Cloud Function Compute demonstrates the highest resource consumption per invocation in macrobenchmarks, indicating potential inefficiencies in execution environment initialization.
  • The choice of programming language has a measurable impact on startup latency, with Node.js and Python generally outperforming Java and .NET in cold start scenarios.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.