无预配置并发:用于无服务器计算的快速RDMA协同设计的远程分叉
No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing
摘要:
无服务器平台本质上面临着容器启动时间和供应并发之间的权衡(即,缓存的实例),这被远程容器初始化的频繁需要进一步夸大。本文介绍了MITOSIS,一个操作系统原语,提供快速远程分叉,它利用了一个深的协同设计的操作系统内核与RDMA。通过利用RDMA的快速远程读取功能和跨无服务器容器的部分状态传输,MITOSIS弥合了本地和远程容器初始化之间的性能差距。MITOSIS是第一个在一秒钟内从多台机器上的一个实例分叉超过10,000个新容器的容器,同时允许新容器有效地传输分叉容器的预物化状态。我们在Linux上实现了MITOSIS,并将其与流行的无服务器平台FN集成。在实际无服务器工作负载的负载峰值下,MITOSIS将函数尾部延迟降低了89%,内存使用量降低了几个数量级。对于需要状态传输的无服务器工作流程,MITOSIS将其执行时间缩短了86%。
英文摘要:
Serverless platforms essentially face a tradeoff between container startup time and provisioned concurrency (i.e., cached instances), which is further exaggerated by the frequent need for remote container initialization. This paper presents MITOSIS, an operating system primitive that provides fast remote fork, which exploits a deep codesign of the OS kernel with RDMA. By leveraging the fast remote read capability of RDMA and partial state transfer across serverless containers, MITOSIS bridges the performance gap between local and remote container initialization. MITOSIS is the first to fork over 10,000 new containers from one instance across multiple machines within a second, while allowing the new containers to efficiently transfer the pre-materialized states of the forked one. We have implemented MITOSIS on Linux and integrated it with FN, a popular serverless platform. Under load spikes in real-world serverless workloads, MITOSIS reduces the function tail latency by 89% with orders of magnitude lower memory usage. For serverless workflow that requires state transfer, MITOSIS improves its execution time by 86%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。