Skip to main content

Investigating Performance and Cost in Function-as-a-Service Platforms

  • Conference paper
  • First Online:
Advances on P2P, Parallel, Grid, Cloud and Internet Computing (3PGCIC 2019)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 96))

Abstract

The function-as-a-service (FaaS) service model has been gaining adoption at a fast pace. In this service model, cloud applications are structured as self-contained code modules called functions that are instantiated on-demand, and billing is based on the number of function invocations and on function execution time. Developers are attracted to FaaS because it promises to remove two drawbacks of the traditional IaaS and PaaS service models, the need to provision and manage infrastructure, and the need to pay for unused resources. In practice, however, things are a little less rosy: developers still have to choose the amount of memory allocated to functions, and costs are less predictable, especially because they are tied to function performance. This work investigates performance and cost variations within and across FaaS providers. Our results show that performance and cost can be significantly affected by the choice of memory allocation, FaaS provider, and programming language: we observed differences of up to \(8.5\times \) in performance and 67\(\times \) in cost between providers (with the same language and memory size), and \(16.8\times \) in performance and \(67.2\times \) in cost between programming languages (with the same provider and memory).

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • 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

Notes

  1. 1.

    https://aws.amazon.com/lambda/.

  2. 2.

    https://cloud.google.com/functions/.

  3. 3.

    https://www.ibm.com/cloud/functions.

References

  1. Adzic, G., Chatley, R.: Serverless computing: Economic and architectural impact. In: Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering, ESEC/FSE 2017, pp. 884–889. ACM, New York (2017)

    Google Scholar 

  2. Eivy, A.: Be wary of the economics of “serverless” cloud computing. IEEE Cloud Comput. 4(2), 6–12 (2017)

    Article  Google Scholar 

  3. Field, A., Miles, J., Field, Z.: Discovering Statistics Using R. SAGE Publications, Thousand Oaks (2012)

    Google Scholar 

  4. Figiela, K., Gajek, A., Zima, A., Obrok, B., Malawski, M.: Performance evaluation of heterogeneous cloud functions. Concurr. Comput. Pract. Exp. 30(23), e4792 (2018)

    Article  Google Scholar 

  5. Horovitz, S., Amos, R., Baruch, O., Cohen, T., Oyar, T., Deri, A.: FaaStest – machine learning based cost and performance FaaS optimization. In: 15th GECON, Pisa, Italy, pp. 171–186. Springer, Heidelberg, September 2018

    Chapter  Google Scholar 

  6. Jain, R.: The Art of Computer Systems Performance Analysis. Wiley, Hoboken (1991)

    MATH  Google Scholar 

  7. Jonas, E., Pu, Q., Venkataraman, S., Stoica, I., Recht, B.: Occupy the cloud: distributed computing for the 99%. In: SoCC 2017, pp. 445–451. ACM, New York (2017)

    Google Scholar 

  8. Lee, H., Satyam, K., Fox, G.C.: Evaluation of production serverless computing environments. In: IEEE 11th International Conference on Cloud Computing, pp. 442–450 (2018)

    Google Scholar 

  9. Leitner, P., Cito, J., Stöckli, E.: Modelling and managing deployment costs of microservice-based cloud applications. In: IEEE/ACM 9th UCC, pp. 165–174, December 2016

    Google Scholar 

  10. Lloyd, W., Ramesh, S., Chinthalapati, S., Ly, L., Pallickara, S.: Serverless computing: an investigation of factors influencing microservice performance. In: 2018 IEEE International Conference on Cloud Engineering (IC2E), pp. 159–169. IEEE (2018)

    Google Scholar 

  11. McGrath, G., Brenner, P.R.: Serverless computing: design, implementation, and performance. In: 2017 IEEE 37th International Conference on Distributed Computing Systems Workshops (ICDCSW) (2017)

    Google Scholar 

  12. Roberts, M.: Serverless architectures (2018). https://martinfowler.com/articles/serverless.html

  13. Rogers, O.: Economics of serverless cloud computing. Technical report, 451 Research, June 2017. https://bit.ly/2nB4m6t

  14. Villamizar, M., et al.: Cost comparison of running web applications in the cloud using monolithic, microservice, and AWS Lambda architectures. Serv. Oriented Comput. Appl. 11(2), 233–247 (2017)

    Article  Google Scholar 

  15. Wang, L., Li, M., Zhang, Y., Ristenpart, T., Swift, M.: Peeking behind the curtains of serverless platforms. In: 2018 USENIX Annual Technical Conference (USENIX ATC 18), USENIX Association, Boston, MA, pp. 133–146 (2018)

    Google Scholar 

Download references

Acknowledgments

This research was supported by FAPESC and UDESC.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rafael R. Obelheiro .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Bortolini, D., Obelheiro, R.R. (2020). Investigating Performance and Cost in Function-as-a-Service Platforms. In: Barolli, L., Hellinckx, P., Natwichai, J. (eds) Advances on P2P, Parallel, Grid, Cloud and Internet Computing. 3PGCIC 2019. Lecture Notes in Networks and Systems, vol 96. Springer, Cham. https://doi.org/10.1007/978-3-030-33509-0_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-33509-0_16

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-33508-3

  • Online ISBN: 978-3-030-33509-0

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics