arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.13894cs.DCcs.OScs.PF
收藏

快照预热无服务器冷启动方法的性能评估

Performance Evaluation of Snapshot Methods to Warm the Serverless Cold Start

Paulo Silva, Thiago Emmanuel Pereira

摘要:

无服务器计算模型加强了云计算对资源管理进行抽象的趋势。无服务器平台负责部署和扩展开发人员的应用程序。Serverless还采用了按需付费的计费模型,该模型只考虑处理客户端请求所花费的时间。这一决定为提高平台的资源利用效率创造了自然的激励。这种对效率的追求可能会导致冷启动问题,这意味着执行无服务器应用程序的延迟。在提出的处理冷启动的解决方案中,那些基于快照方法的解决方案脱颖而出。尽管对该技术进行了丰富的探索,但缺乏评估解决方案的权衡的研究。在这个方向上,这项工作比较了两种解决方案,以减轻冷启动:预烘烤和SEUSS。我们使用不同复杂程度的函数分析了该解决方案的性能:NoOp,一个将Markdown渲染为HTML的函数,以及一个加载41 MB依赖项的函数。初步结果表明,Prebaking分别比NoOp和Markdown函数的启动性能高出33%和25%。进一步的分析还显示,Prebaking的预热机制将Markdown的首次请求处理时间减少了69%。

英文摘要:

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

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑