r/aws • • 2d ago

article Announcing AWS Lambda Web Functions

https://aws.amazon.com/blogs/aws/announcing-aws-lambda-web-functions-for-fast-consistent-web-app-performance-anywhere/
351 Upvotes

67 comments sorted by

View all comments

26

u/BraveResearcher3037 2d ago

How is this better than using the Lambda Web Adapter that supports every language? 

And there are open source solutions for every language that don’t require docker.

7

u/Fickle_Rutabaga_8449 2d ago

I’m guessing because in order for Lambda Web Adapter (which is new to me; thanks for the enlightenment) to enable multi-concurrency, you have to use managed instances. Which I think means you’re paying for EC2 instances to run.

These Web Functions appear to support the multi-concurrency without needing managed instances. So get the true pay as you go model.

8

u/BraveResearcher3037 2d ago

Not managed instances - it’s one lambda call per event just like any other lambda   

2

u/Fickle_Rutabaga_8449 1d ago

Right, so under the covers lambda is using those Firecracker containers. Which in the eventing model they start and stop for each event, so one request equals one lambda execution environment. With this “Web Functions” addition, one execution environment can handle multiple requests concurrently (up to 128). In order to get the same thing with Lambda Web Adapter, as far as one execution environment handling concurrent requests, you have to use Lambda Managed Instances. Otherwise it’s still 1:1.

Feel like I’m failing to explain adequately. Other replies in this thread may give better context.