arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.11240cs.DC
收藏

Pagurus:通过交互式容器共享消除无服务器计算中的冷启动

Pagurus: Eliminating Cold Startup in Serverless Computing with Inter-Action Container Sharing

Zijun Li, Quan Chen, Minyi Guo

摘要:

无服务器计算通过容器在云租户之间提供细粒度的资源共享。每个函数调用(动作)都在一个单独的容器中运行。当用户函数没有已经启动的容器时,必须为其创建一个新的容器。然而,容器的冷启动时间长导致动作的响应延迟长。我们的调查表明,一些用户操作的容器共享大部分的软件包。如果一个需要新容器的动作可以从其他动作中“移除”一个类似的热容器,那么就可以消除长时间的冷启动。基于上述发现,我们提出了Pagurus,一个运行时容器管理系统,用于消除无服务器计算中的冷启动。Pagurus由每个动作的动作间容器调度器和动作内容器调度器组成。交互操作容器调度器在操作之间调度共享容器。内部操作容器调度器处理容器生命周期的管理。我们的实验结果表明,Pagurus有效地消除了耗时的容器冷启动。Pagurus可以在10ms内开始运行一个动作,即使没有热容器。

英文摘要:

Serverless computing provides fine-grain resource sharing between Cloud tenants through containers. Each function invocation (action) runs in an individual container. When there is not an already started container for a user function, a new container has to be created for it. However, the long cold startup time of a container results in the long response latency of the action. Our investigation shows that the containers for some user actions share most of the software packages. If an action that requires a new container can ``borrow'' a similar warm container from other actions, the long cold startup can be eliminated. Based on the above finding, we propose Pagurus, a runtime container management system for eliminating the cold startup in serverless computing. Pagurus is comprised of an inter-action container scheduler and an intra-action container scheduler for each action. The inter-action container scheduler schedules shared containers among actions. The intra-action container scheduler deals with the management of the container lifecycle. Our experimental results show that Pagurus effectively eliminates the time-consuming container cold startup. An action may start to run in 10ms with Pagurus, even if there is not warm container for it.

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

↑