当前位置: X-MOL 学术arXiv.cs.OS › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Performance Evaluation of Snapshot Methods to Warm the Serverless Cold Start
arXiv - CS - Operating Systems Pub Date : 2021-05-28 , DOI: arxiv-2105.13894
Paulo Silva, Thiago Emmanuel Pereira

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

中文翻译:

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

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