On-demand Container Loading in AWS Lambda

05/22/2023
by   Marc Brooker, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/09/2022

Doppler: Automated SKU Recommendation in Migrating SQL Workloads to the Cloud

Selecting the optimal cloud target to migrate SQL estates from on-premis...
research
12/28/2017

Reliable Messaging to Millions of Users with MigratoryData

Web-based notification services are used by a large range of businesses ...
research
11/26/2019

Starling: A Scalable Query Engine on Cloud Function Services

Much like on-premises systems, the natural choice for running database a...
research
04/01/2023

Managing Cold-start in The Serverless Cloud with Temporal Convolutional Networks

Serverless cloud is an innovative cloud service model that frees custome...
research
08/11/2020

Scheduling Methods to Reduce Response Latency of Function as a Service

Function as a Service (FaaS) permits cloud customers to deploy to cloud ...
research
10/03/2019

SEUSS: Rapid serverless deployment using environment snapshots

Modern FaaS systems perform well in the case of repeat executions when f...
research
02/26/2021

Serverless Workflows with Durable Functions and Netherite

Serverless is an increasingly popular choice for service architects beca...

Please sign up or login with your details

Forgot password? Click here to reset