通过收集空闲资源加速无服务器计算
Accelerating Serverless Computing by Harvesting Idle Resources
摘要:
无服务器计算可自动进行细粒度的资源扩展,并简化具有无状态功能的在线服务的开发和部署。然而,由于各种函数类型、依赖关系和输入大小,用户分配适当的资源仍然是不平凡的。资源分配的错误配置会使功能配置不足或配置过度,并导致持续的低资源利用率。本文介绍了Freyr,一种用于无服务器平台的新资源管理器(RM),它通过从过度配置的功能到配置不足的功能动态收集空闲资源来最大限度地提高资源效率。Freyr实时监控每个功能的资源利用率,检测过度配置和不足配置,并通过应用深度强化学习算法和安全机制来学习安全地收集空闲资源并有效地加速功能。我们已经在一个13节点的Apache OpenWhisk集群中实现并部署了一个Freyr原型。实验结果表明,38.8%的函数调用有空闲资源被Freyr收获,39.2%的调用被收获的资源加速。与基线RM相比,Freyr将第99百分位数功能反应潜伏期降低了32.1%。
英文摘要:
Serverless computing automates fine-grained resource scaling and simplifies the development and deployment of online services with stateless functions. However, it is still non-trivial for users to allocate appropriate resources due to various function types, dependencies, and input sizes. Misconfiguration of resource allocations leaves functions either under-provisioned or over-provisioned and leads to continuous low resource utilization. This paper presents Freyr, a new resource manager (RM) for serverless platforms that maximizes resource efficiency by dynamically harvesting idle resources from over-provisioned functions to under-provisioned functions. Freyr monitors each function's resource utilization in real-time, detects over-provisioning and under-provisioning, and learns to harvest idle resources safely and accelerates functions efficiently by applying deep reinforcement learning algorithms along with a safeguard mechanism. We have implemented and deployed a Freyr prototype in a 13-node Apache OpenWhisk cluster. Experimental results show that 38.8% of function invocations have idle resources harvested by Freyr, and 39.2% of invocations are accelerated by the harvested resources. Freyr reduces the 99th-percentile function response latency by 32.1% compared to the baseline RMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。