The serverless computing model strengthens the cloud computing tendency to abstract resource management. Serverless platforms are responsible for deploying and scaling the developer's applications. Serverless also incorporated the pay-as-you-go billing model, which only considers the time spent processing client requests. Such a decision created a natural incentive for improving the platform's efficient resource usage. This search for efficiency can lead to the cold start problem, which represents a delay to execute serverless applications. Among the solutions proposed to deal with the cold start, those based on the snapshot method stand out. Despite the rich exploration of the technique, there is a lack of research that evaluates the solution's trade-offs. In this direction, this work compares two solutions to mitigate the cold start: Prebaking and SEUSS. We analyzed the solution's performance with functions of different levels of complexity: NoOp, a function that renders Markdown to HTML, and a function that loads 41 MB of dependencies. Preliminary results indicated that Prebaking showed a 33% and 25% superior performance to startup the NoOp and Markdown functions, respectively. Further analysis also revealed that Prebaking's warmup mechanism reduced the Markdown first request processing time by 69%.
翻译:无服务器的计算模式加强了云计算抽象资源管理的云式趋势。 无服务器的平台负责部署和扩展开发者应用程序。 无服务器的平台负责部署和扩展开发者应用程序。 无服务器还纳入了“现收现付”计费模式,该模式只考虑处理客户客户请求的时间。这样的决定为改进平台的高效资源使用创造了自然激励。这种寻找效率可导致冷启动问题,这代表了执行无服务器应用程序的延迟。在拟议处理冷启动的解决方案中,那些基于快照方法的解决方案是突出的。尽管对技术进行了丰富的探索,但缺乏评估解决方案交易结果的研究。在这个方向上,这项工作比较了两种缓解冷启动的解决方案:预烧和SEUSS。我们分析了解决方案在不同复杂度功能下的表现:NoOp, 将标记降格到 HTML, 以及一个包含41 MM 依赖性功能的功能。初步结果表明,预烧显示在启动 NoOp 和 标记下调局功能时表现优于33%和25%。 进一步分析还显示, Prebaking 将第一次降为 的暖处理 69 。