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).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
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)
Eivy, A.: Be wary of the economics of “serverless” cloud computing. IEEE Cloud Comput. 4(2), 6–12 (2017)
Field, A., Miles, J., Field, Z.: Discovering Statistics Using R. SAGE Publications, Thousand Oaks (2012)
Figiela, K., Gajek, A., Zima, A., Obrok, B., Malawski, M.: Performance evaluation of heterogeneous cloud functions. Concurr. Comput. Pract. Exp. 30(23), e4792 (2018)
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
Jain, R.: The Art of Computer Systems Performance Analysis. Wiley, Hoboken (1991)
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)
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)
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
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)
McGrath, G., Brenner, P.R.: Serverless computing: design, implementation, and performance. In: 2017 IEEE 37th International Conference on Distributed Computing Systems Workshops (ICDCSW) (2017)
Roberts, M.: Serverless architectures (2018). https://martinfowler.com/articles/serverless.html
Rogers, O.: Economics of serverless cloud computing. Technical report, 451 Research, June 2017. https://bit.ly/2nB4m6t
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)
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)
Acknowledgments
This research was supported by FAPESC and UDESC.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
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)