TriggerBench: A Performance Benchmark for Serverless Function Triggers
Paper in proceeding, 2022

Serverless computing offers a scalable event-based paradigm for deploying managed cloud-native applications. Function triggers are essential building blocks in serverless, as they initiate any function execution. However, function triggering is insufficiently studied and inherently hard to measure given the distributed, ephemeral, and asynchronous nature of event-based function coordination. To address this gap, we present TriggerBench, a cross-provider benchmark for evaluating serverless function triggers based on distributed tracing. We evaluate the trigger latency (i.e., time to transition between two functions) of eight types of triggers in Microsoft Azure and three in AWS. Our results show that all triggers suffer from long tail latency, storage triggers introduce variable multi-second delays, and HTTP triggers are most suitable for interactive applications. Our insights can guide developers in choosing optimal event or messaging triggers for latency-sensitive applications. Researchers can extend TriggerBench to study the latency, scalability, and reliability of further trigger types and cloud providers.

performance

benchmarking

serverless

triggers

observability

FaaS

distributed tracing

Author

Joel Scheuner

Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering

Marcus Bertilsson

Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering

Oskar Grönqvist

Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering

Henrik Tao

Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering

Henrik Lagergren

Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering

Jan-Philipp Steghöfer

University of Gothenburg

Philipp Leitner

Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering

Proceedings - 2022 IEEE International Conference on Cloud Engineering, IC2E 2022

96-103
9781665491150 (ISBN)

10th IEEE International Conference on Cloud Engineering, IC2E
Pacific Grove, USA,

Areas of Advance

Information and Communication Technology

Subject Categories

Software Engineering

Computer Science

DOI

10.1109/IC2E55432.2022.00018

Related datasets

Replication package for "TriggerBench: A performance benchmark for serverless function triggers" [dataset]

DOI: 10.5281/zenodo.6907484

More information

Latest update

1/3/2024 9