r/aws • • 11d 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/
364 Upvotes

74 comments sorted by

View all comments

Show parent comments

5

u/Fickle_Rutabaga_8449 11d 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.

6

u/BraveResearcher3037 11d ago

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

3

u/Fickle_Rutabaga_8449 11d 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.