Abstract
With the emergence of Function-as-a-Service (FaaS) in the cloud, pay-per-use pricing models became available along with the traditional fixed price model for VMs and increased the complexity of selecting the optimal platform for a given service. We present FaaStest - an autonomous solution for cost and performance optimization of FaaS services by taking a hybrid approach - learning the behavioral patterns of the service and dynamically selecting the optimal platform. Moreover, we combine a prediction based solution for reducing cold starts of FaaS services. Experiments present a reduction of over 50% in cost and over 90% in response time for FaaS calls.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Amazon On-Demand Pricing. https://aws.amazon.com/ec2/pricing/
Amazon Web Services pricing. https://aws.amazon.com/lambda/pricing/
Dealing with cold starts in AWS Lambda. https://medium.com/thundra/dealing-with-cold-starts-in-aws-lambda-a5e3aa8f532
Does coding language memory or package size affects colds tarts of AWS Lambda. https://read.acloud.guru/does-coding-language-memory-or-package-size-affect-cold-starts-of-aws-lambda-a15e26d12c76
Economics of serverless computing. https://451research.com/report-long?icid=4406?utm_source=trending_topics&utm_term=cloud_pricing
Fission official documentation. https://docs.fission.io/0.7.2/
Fission serverless function as a service for kubernetes. https://kubernetes.io/blog/2017/01/fission-serverless-functions-as-service-for-kubernetes/
From Containers to AWS Lambda. https://blog.travelex.io/from-containers-to-aws-lambda-23f712f9e925
Function as a Service (FaaS) - why you should care and what you need to know. https://www.redhat.com/files/summit/session-assets/2017/S109151-serverless.pdf
Function-as-a-Service Market Global Forecast to 2021. https://www.researchandmarkets.com/research/nfq5pr/functionasaserv
Gartner Forecasts Worldwide Public Cloud Services Revenue to Reach $260 Billion in 2017. https://www.gartner.com/newsroom/id/3815165
Get functional! 5 open source frameworks for serverless computing. https://www.infoworld.com/article/3193119/open-source-tools/get-functional-5-open-source-frameworks-for-serverless-computing.html
Go Serverless - pros and cons. https://devops.com/go-serverless-pros-cons/
Keep your lambdas warm (interval based solution). https://serverless.com/blog/keep-your-lambdas-warm/
Node Cellar source code. https://github.com/ccoenraets/nodecellar
Open source project suggesting Warmup support for AWS Lambda functions to prevent cold starts. https://github.com/thundra-io/thundra-lambda-warmup/blob/master/README.md
Resolving cold start in AWS Lambda. https://medium.com/@lakshmanLD/resolving-cold-start
Serverless, a new cloud trend. https://medium.com/slalom-engineering/serverless-the-new-cloud-trend-e2f163433431
Serverless challenges (cold start). https://hackernoon.com/the-key-challenges-serverless-will-have-to-overcome-to-succeed-in-2018-af3132ed4995
The Financial Case for Moving to the Cloud. gartner.com/smarterwithgartner/the-financial-case-for-moving-to-the-cloud/
The hidden costs of Serverless. https://medium.com/@amiram_26122/the-hidden-costs-of-serverless-6ced7844780b
Worldwide Public Cloud Services Spending Forecast to Reach \$160 Billion This Year, According to IDC. https://www.idc.com/getdoc.jsp?containerId=prUS43511618
Baldini, I., et al.: Serverless computing: current trends and open problems. In: Chaudhary, S., Somani, G., Buyya, R. (eds.) Research Advances in Cloud Computing, pp. 1–20. Springer, Singapore (2017). https://doi.org/10.1007/978-981-10-5026-8_1
Bhattacherjee, A., Park, S.C.: Why end-users move to the cloud: a migration-theoretic analysis. Eur. J. Inf. Syst. 23(3), 357–372 (2014)
Boza, E.F., Abad, C.L., Villavicencio, M., Quimba, S., Plaza, J.A.: Reserved, on demand or serverless: model-based simulations for cloud budget planning. In: 2017 IEEE Ecuador Technical Chapters Meeting (ETCM), pp. 1–6. IEEE (2017)
Buyya, R., Yeo, C.S., Venugopal, S., Broberg, J., Brandic, I.: Cloud computing and emerging it platforms: vision, hype, and reality for delivering computing as the 5th utility. Future Gener. Comput. Syst. 25(6), 599–616 (2009)
Eivy, A.: Be wary of the economics of “serverless” cloud computing. IEEE Cloud Comput. 4(2), 6–12 (2017)
Hendrickson, S., Sturdevant, S., Harter, T., Venkataramani, V., Arpaci-Dusseau, A.C., Arpaci-Dusseau, R.H.: Serverless computation with OpenLambda. Elastic 60, 80 (2016)
Lee, H., Satyam, K., Fox, G.C.: Evaluation of production serverless computing environments. In: 3rd International Workshop on Serverless Computing (WoSC) (2018)
Lynn, T., Rosati, P., Lejeune, A., Emeakaroha, V.: A preliminary review of enterprise serverless cloud computing (Function-as-a-Service) platforms. In: 2017 IEEE International Conference on Cloud Computing Technology and Science (CloudCom), pp. 162–169. IEEE (2017)
Oakes, E., Yang, L., Houck, K., Harter, T., Arpaci-Dusseau, A.C., Arpaci-Dusseau, R.H.: Pipsqueak: lean Lambdas with large libraries. In: 2017 IEEE 37th International Conference on Distributed Computing Systems Workshops (ICDCSW), pp. 395–400. IEEE (2017)
Panetta, K.: Top trends in the gartner hype cycle for emerging technologies (2017). https://www.gartner.com/smarterwithgartner/top-trends-in-the-gartner-hype-cycle-for-emerging-technologies-2017/
Shillaker, S.: A provider-friendly serverless framework for latency-critical applications. In: 12th Eurosys Doctoral Workshop, Porto, Portugal (2018)
Varghese, B., Buyya, R.: Next generation cloud computing: new trends and research directions. Future Gener. Comput. Syst. 79, 849–861 (2018)
Villamizar, M., et al.: Cost comparison of running web applications in the cloud using monolithic, microservice, and AWS Lambda architectures. SOCA 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 2018), pp. 133–146. USENIX Association (2018)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Horovitz, S., Amos, R., Baruch, O., Cohen, T., Oyar, T., Deri, A. (2019). FaaStest - Machine Learning Based Cost and Performance FaaS Optimization. In: Coppola, M., Carlini, E., D’Agostino, D., Altmann, J., Bañares, J. (eds) Economics of Grids, Clouds, Systems, and Services. GECON 2018. Lecture Notes in Computer Science(), vol 11113. Springer, Cham. https://doi.org/10.1007/978-3-030-13342-9_15
Download citation
DOI: https://doi.org/10.1007/978-3-030-13342-9_15
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-13341-2
Online ISBN: 978-3-030-13342-9
eBook Packages: Computer ScienceComputer Science (R0)