FaaSNet:阿里云函数计算可扩展快速配置自定义无服务器容器运行时
FaaSNet: Scalable and Fast Provisioning of Custom Serverless Container Runtimes at Alibaba Cloud Function Compute
摘要:
无服务器计算或功能即服务(FaaS)通过允许用户部署细粒度功能,同时提供完全托管的资源配置和自动扩展,实现了构建和扩展应用程序的新方式。自定义FaaS容器支持越来越受欢迎,因为它可以更好地控制操作系统、版本控制和工具,以实现FaaS应用程序的现代化。然而,提供快速的容器供应给FaaS提供商带来了不小的挑战,因为容器供应成本很高,而且现实世界的FaaS工作负载呈现出高度动态的模式。在本文中,我们设计FaaSNet,一个高度可扩展的中间件系统,用于加速FaaS容器配置。FaaSNet由全球最大的云提供商之一阿里云功能计算的FaaS平台的工作负载和基础设施需求驱动。FaaSNet通过轻量级的自适应功能树(FT)结构实现可扩展的容器配置。FaaSNet使用I/O高效的按需获取机制,进一步降低大规模配置成本。我们在阿里云函数计算中实现并集成了FaaSNet。测试结果表明,FaaSNet:(1)在8.3秒内完成在1000台虚拟机上配置2500个函数容器;(2)扩展速度分别比阿里云当前的FaaS平台和最先进的P2P容器注册中心(Kraken)快13.4倍和16.3倍;(3)在承受突发工作负载时,所用时间比优化基准少75.2%。
英文摘要:
Serverless computing, or Function-as-a-Service (FaaS), enables a new way of building and scaling applications by allowing users to deploy fine-grained functions while providing fully-managed resource provisioning and auto-scaling. Custom FaaS container support is gaining traction as it enables better control over OSes, versioning, and tooling for modernizing FaaS applications. However, providing rapid container provisioning introduces non-trivial challenges for FaaS providers, since container provisioning is costly, and real-world FaaS workloads exhibit highly dynamic patterns. In this paper, we design FaaSNet, a highly-scalable middleware system for accelerating FaaS container provisioning. FaaSNet is driven by the workload and infrastructure requirements of the FaaS platform at one of the world's largest cloud providers, Alibaba Cloud Function Compute. FaaSNet enables scalable container provisioning via a lightweight, adaptive function tree (FT) structure. FaaSNet uses an I/O efficient, on-demand fetching mechanism to further reduce provisioning costs at scale. We implement and integrate FaaSNet in Alibaba Cloud Function Compute. Evaluation results show that FaaSNet: (1) finishes provisioning 2500 function containers on 1000 virtual machines in 8.3 seconds, (2) scales 13.4x and 16.3x faster than Alibaba Cloud's current FaaS platform and a state-of-the-art P2P container registry (Kraken), respectively, and (3) sustains a bursty workload using 75.2% less time than an optimized baseline.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。