arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.13162cs.DCcs.SYeess.SY
收藏

AWS Lambda中的按需容器加载

On-demand Container Loading in AWS Lambda

Marc Brooker, Mike Danilov, Chris Greenwood, Phil Piwonka

AI总结:

本文介绍了AWS Lambda为支持高达10GiB容器镜像而构建的按需存储与缓存系统,该系统结合缓存、去重、收敛加密、纠删码和块级按需加载技术,解决了大规模、高请求率和低延迟下的安全、效率与成本挑战,并已为百万客户处理了数百万亿调用。

摘要:

AWS Lambda是一项无服务器事件驱动计算服务,属于有时被称为函数即服务(FaaS)的云计算产品类别。当我们首次发布AWS Lambda时,函数被限制为250MB的代码和依赖项,打包为一个简单的压缩归档文件。2020年,我们发布了支持部署高达10GiB容器镜像作为Lambda函数的功能,允许客户将更大的代码库和依赖项集合引入Lambda。支持更大的包,同时仍满足Lambda的快速扩展(单个客户每秒新增多达15,000个容器,总计更多)、高请求率(每秒数百万请求)、高规模(数百万独特工作负载)和低启动时间(低至50ms)的目标,提出了重大挑战。我们描述了我们构建的存储和缓存系统,该系统针对按需交付容器镜像进行了优化,以及我们在大规模设计、构建和运营它方面的经验。我们关注安全、效率、延迟和成本方面的挑战,以及我们如何在一个结合了缓存、去重、收敛加密、纠删码和块级按需加载的系统中解决这些挑战。自构建该系统以来,它已为超过一百万AWS客户可靠地处理了数百万亿Lambda调用,并展示了对负载和基础设施故障的出色弹性。

英文摘要:

AWS Lambda is a serverless event-driven compute service, part of a category of cloud compute offerings sometimes called Function-as-a-service (FaaS). When we first released AWS Lambda, functions were limited to 250MB of code and dependencies, packaged as a simple compressed archive. In 2020, we released support for deploying container images as large as 10GiB as Lambda functions, allowing customers to bring much larger code bases and sets of dependencies to Lambda. Supporting larger packages, while still meeting Lambda's goals of rapid scale (adding up to 15,000 new containers per second for a single customer, and much more in aggregate), high request rate (millions of requests per second), high scale (millions of unique workloads), and low start-up times (as low as 50ms) presented a significant challenge. We describe the storage and caching system we built, optimized for delivering container images on-demand, and our experiences designing, building, and operating it at scale. We focus on challenges around security, efficiency, latency, and cost, and how we addressed these challenges in a system that combines caching, deduplication, convergent encryption, erasure coding, and block-level demand loading. Since building this system, it has reliably processed hundreds of trillions of Lambda invocations for over a million AWS customers, and has shown excellent resilience to load and infrastructure failures.

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

↑