[Paper Review] Let's Trace It: Fine-Grained Serverless Benchmarking using Synchronous and Asynchronous Orchestrated Applications
This paper introduces ServiBench, an open-source, fine-grained serverless benchmarking suite that uses synchronous and asynchronous orchestrated applications to enable end-to-end performance analysis via distributed tracing. It reveals that end-to-end latency in serverless workloads is often dominated by external service calls, orchestration, or trigger coordination rather than function computation, offering actionable insights for performance optimization.
Making serverless computing widely applicable requires detailed performance understanding. Although contemporary benchmarking approaches exist, they report only coarse results, do not apply distributed tracing, do not consider asynchronous applications, and provide limited capabilities for (root cause) analysis. Addressing this gap, we design and implement ServiBench, a serverless benchmarking suite. ServiBench (i) leverages synchronous and asynchronous serverless applications representative of production usage, (ii) extrapolates cloud-provider data to generate realistic workloads, (iii) conducts comprehensive, end-to-end experiments to capture application-level performance, (iv) analyzes results using a novel approach based on (distributed) serverless tracing, and (v) supports comprehensively serverless performance analysis. With ServiBench, we conduct comprehensive experiments on AWS, covering five common performance factors: median latency, cold starts, tail latency, scalability, and dynamic workloads. We find that the median end-to-end latency of serverless applications is often dominated not by function computation but by external service calls, orchestration, or trigger-based coordination. We release collected experimental data under FAIR principles and ServiBench as a tested, extensible open-source tool.
Motivation & Objective
- To address the lack of application-level, production-representative serverless benchmarking that supports both synchronous and asynchronous patterns.
- To enable comprehensive, reproducible performance evaluation using distributed tracing for end-to-end latency analysis.
- To provide a FAIR-compliant, open-source toolset and dataset for researchers and practitioners to analyze and compare serverless platform behavior.
- To identify and quantify the root causes of latency in real-world serverless applications beyond function execution time.
Proposed method
- ServiBench employs ten real, open-source serverless applications representing diverse orchestration patterns, including HTTP triggers, event-driven workflows, and message queue integration.
- It generates realistic workloads by extrapolating cloud-provider metrics, such as memory-to-CPU ratios and invocation patterns, to simulate production-like conditions.
- The framework integrates distributed tracing to capture end-to-end latency across functions and external services, enabling white-box analysis of performance bottlenecks.
- It uses a trace upscaler to enhance low-coverage Azure Functions traces, improving the fidelity of latency measurements.
- The tool automates deployment, load generation, metric collection, and trace analysis, enabling full reproducibility of experiments.
- Results are analyzed using a novel latency breakdown technique that isolates contributions from orchestration, external services, and function execution.
Experimental results
Research questions
- RQ1What are the dominant contributors to end-to-end latency in real-world serverless applications, and how do they vary across different orchestration patterns?
- RQ2To what extent do external service calls and orchestration logic contribute to latency compared to pure function computation?
- RQ3How do performance characteristics such as cold starts, tail latency, and scalability vary across different serverless application architectures on AWS?
- RQ4Can distributed tracing effectively identify root causes of performance degradation in serverless systems with asynchronous workflows?
- RQ5How can benchmarking tools be designed to support reproducible, FAIR-compliant, and extensible performance analysis in serverless computing?
Key findings
- Median end-to-end latency in serverless applications is frequently dominated by external service calls, orchestration logic, or trigger-based coordination rather than the execution time of the functions themselves.
- Asynchronous workflows introduce significant latency overhead due to event queueing and inter-function coordination, particularly in multi-stage processing pipelines.
- Cold starts remain a significant factor in tail latency, especially for applications with infrequent invocations or high-velocity burst workloads.
- The performance of serverless applications is highly sensitive to the choice of external services and their integration patterns, with some services introducing disproportionate delays.
- Tracing-based analysis reveals that orchestration layers—such as API Gateway or message queues—can contribute up to 40% of total latency in complex workflows.
- The study demonstrates that traditional micro-benchmarks fail to capture real-world performance characteristics, especially in event-driven and distributed serverless architectures.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.