Research index
Modeling Serverless Function Behaviours
Tolosana-Calasanz, Castañé, Bañares and 1 other
Code Ocean1 Jan 2021Open access
Modeling Serverless Function Behaviours
Tolosana-Calasanz, Castañé, Bañares and 1 other · Code Ocean · 2021
Free to read at the publisher
You can read the abstract here, or the full text at the publisher.
Abstract
This code implements a simulator for serverless computing for the conference paper "Modeling Serverless Function Behaviours". The serverless computing model extends potential deployment options for cloud applications, by allowing users to focus on building and deploying their code without needing to configure or manage the underlying computational resources. Understanding how stream processing operators can be mapped into serverless functions also offers cost incentives for users – as charging is now on a subsecond basis (rather than hourly). A dynamic Petri net model of serverless functions is proposed in this work, which takes account of the computational requirements of functions, the resources on which these functions are hosted, and key parameters that impact the behaviour of serverless functions –such as warm/cold start up times. The model can be used by developers/ users of serverless functions to understand how deployment optimisation can be used to reduce application time, and to analyse various scenarios on choosing function granularity, data size and cost. The Petri net models become interpretable / executable through the Renew interpreter.