Modelling Serverless Function Behaviours | SpringerLink
Skip to main content

Modelling Serverless Function Behaviours

  • Conference paper
  • First Online:
Economics of Grids, Clouds, Systems, and Services (GECON 2021)

Part of the book series: Lecture Notes in Computer Science ((LNCCN,volume 13072))

Abstract

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. 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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
¥17,985 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
JPY 3498
Price includes VAT (Japan)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
JPY 5719
Price includes VAT (Japan)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
JPY 7149
Price includes VAT (Japan)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://opcfoundation.org/about/opc-technologies/opc-ua/.

  2. 2.

    http://renew.de/.

  3. 3.

    The models in Reference nets and the simulation environment are made available through a Docker container with the aim of enhancing the reproducibility of experiments: https://github.com/rtolosana/fog-modelling.

References

  1. Lefevre, X.: Is serverless cheaper for your use case? Find out with this calculator. https://medium.com/serverless-transformation/is-serverless-cheaper-for-your-use-case-find-out-with-this-calculator-2f8a52fc6a68. Accessed June 2021

  2. Microsoft: Azure Function Pricing. https://azure.microsoft.com/en-gb/pricing/details/functions/. Accessed June 2021

  3. Amazon: AWS Lambda Pricing. https://aws.amazon.com/lambda/pricing/. Accessed June 2021

  4. Google: Google Function Pricing. https://cloud.google.com/functions/pricing. Accessed June 2021

  5. González, L.M.V., Rodero-Merino, L.: Finding your way in the fog: towards a comprehensive definition of fog computing. Comput. Commun. Rev. 44(5), 27–32 (2014)

    Article  Google Scholar 

  6. Renart, E.G., Da Silva Veith, A., Balouek-Thomert, D., De Assuncao, M.D., Lefevre, L., Parashar, M.: Distributed operator placement for IoT data analytics across edge and cloud resources. In: 2019 19th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (CCGRID), pp. 459–468 (2019)

    Google Scholar 

  7. Peña, M.A.L., Fernández, I.M.: SAT-IoT: an architectural model for a high-performance fog/edge/cloud IoT platform. In: 5th IEEE World Forum on Internet of Things, WF-IoT 2019, Limerick, Ireland, 15–18 April 2019, pp. 633–638. IEEE (2019)

    Google Scholar 

  8. Margariti, S.V., Dimakopoulos, V.V., Tsoumanis, G.: Modeling and simulation tools for fog computing a comprehensive survey from a cost perspective. Future Internet 12(5), 89 (2020)

    Article  Google Scholar 

  9. Lin, C., Khazaei, H.: Modeling and optimization of performance and cost of serverless applications. IEEE Trans. Parallel Distrib. Syst. 32(3), 615–632 (2021)

    Article  Google Scholar 

  10. Winzinger, S., Wirtz, G.: Model-based analysis of serverless applications. In: 2019 IEEE/ACM 11th International Workshop on Modelling in Software Engineering (MiSE), pp. 82–88 (2019)

    Google Scholar 

  11. Ntumba, P., Georgantas, N., Christophides, V.: Scheduling continuous operators for IoT edge analytics. In: Proceedings of the 4th International Workshop on Edge Systems, Analytics and Networking, pp. 55–60. Association for Computing Machinery (2021)

    Google Scholar 

  12. Murata, T.: Petri nets: properties, analysis and applications. Proc. IEEE 77(4), 541–580 (1989)

    Article  Google Scholar 

  13. Tolosana-Calasanz, R., Bañares, J.Á., Pham, C., Rana, O.F.: Enforcing QoS in scientific workflow systems enacted over cloud infrastructures. J. Comput. Syst. Sci. 78(3), 1300–1315 (2012)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rafael Tolosana-Calasanz .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Tolosana-Calasanz, R., Castañé, G.G., Bañares, J.Á., Rana, O. (2021). Modelling Serverless Function Behaviours. In: Tserpes, K., et al. Economics of Grids, Clouds, Systems, and Services. GECON 2021. Lecture Notes in Computer Science(), vol 13072. Springer, Cham. https://doi.org/10.1007/978-3-030-92916-9_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-92916-9_9

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-92915-2

  • Online ISBN: 978-3-030-92916-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics