English

Formalizing Event-Driven Behavior of Serverless Applications

Programming Languages 2019-12-10 v1 Software Engineering

Abstract

We present new operational semantics for serverless computing that model the event-driven relationships between serverless functions, as well as their interaction with platforms services such as databases and object stores. These semantics precisely encapsulate how control transfers between functions, both directly and through reads and writes to platform services. We use these semantics to define the notion of the service call graph for serverless applications that captures program flows through functions and services. Finally, we construct service call graphs for twelve serverless JavaScript applications, using a prototype of our call graph construction algorithm, and we evaluate their accuracy.

Keywords

Cite

@article{arxiv.1912.03584,
  title  = {Formalizing Event-Driven Behavior of Serverless Applications},
  author = {Matthew Obetz and Stacy Patterson and Ana Milanova},
  journal= {arXiv preprint arXiv:1912.03584},
  year   = {2019}
}
R2 v1 2026-06-23T12:39:04.808Z