Published December 9, 2021 | Version v1
Conference paper Open

Modelling Serverless Function Behaviours

  • 1. ROR icon Universidad de Zaragoza
  • 2. ROR icon University College Cork
  • 3. ROR icon Cardiff University

Description

The serverless computing model extends potential deploy- ment 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. Cost and latency constraints in stream processing user applications often push computations closer to the sources of data, leading to challenges for dynamically distributing stream operators across the edge/ fog/ cloud heterogeneous nodes and the routing of data flows. Various approaches to support operator placement across edge and cloud resources and data routing are beginning to be addressed through the serverless model. 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.

Files

GECON21_Serverless.pdf

Files (837.2 kB)

Name Size Download all
md5:fe8bda4a8d7fdcc59f43de4b6db14cb9
837.2 kB Preview Download

Additional details

Software

Repository URL
https://zenodo.org/records/5672524
Programming language
Java