4 ms·
This is awesome news. I would expect that we would probably see normal Lambda functions eventually follow suit to the 1ms pricing model, or at the very least, s
by jacurtis 6y ago
This is awesome news. I would expect that we would probably see normal Lambda functions eventually follow suit to the 1ms pricing model, or at the very least, something like 10ms incremenets.
For those who aren't super familiar with AWS, this announcement only covers "Lamda@Edge", this isn't the "normal" Lamda serverless function service. These are Lamda functions running at AWS Edge Locations, which are hundreds of CDN endpoints around the world. Lamda@Edge have various restrictions on what they can do, compared to the main Lambda service. They can only be triggered by CloudFront (AWS' CDN service). You could think of them as a "lite" version of Lambda. They are generally used for basic tasks like renaming/manipulating HTTP headers coming into the CDN. So they tend to run in just a few milliseconds.
Normal Lambda are currently billed in 100ms increments. But it would be great to see this come down. I run a few Lambda functions that take < 10ms to run and it would be nice to be able to get 10x the invocations than I am getting on them now because I have to pay the 100ms rate for a 10ms invocation. Granted its all so cheap, even at scale, that its hard to complain too much.
- stickydink 6y agoI think that changed a while ago - regular lambda functions being billed per millisecond? This is Lambda@Edge catching up.
- dastbe 6y ago> Normal Lambda are currently billed in 100ms increments. Lambda actually reduced their billing granularity to 1ms at Re:invent 2020. if anything, Lambda Edge is trailing :).
- byefruit 6y agohttps://aws.amazon.com/blogs/aws/new-for-aws-lambda-1ms-billing-granularity-adds-cost-savings/ https://aws.amazon.com/blogs/aws/new-for-aws-lambda-1ms-bill... Been 1ms for a few months now. =)
- maddyboo 6y agoSo Lambda@Edge is basically the equivalent of Cloudflare workers?
- rstupek 6y agoOr cloudflare workers are basically the equity of Lambda@Edge since it predates workers
- ignoramous 6y agoWorkers is wayyyy cheaper if you don't call into on other Intra AZ AWS deps: https://medium.com/@zackbloom/serverless-pricing-and-costs-aws-lambda-and-lambda-edge-169bfb58db75 https://medium.com/@zackbloom/serverless-pricing-and-costs-a... For instance, Cloudflare throws in fair-use bandwidth and its cache for free, while there's also no need to setup an API Gateway to serve http reqs (if forwarding http is all you're doing with apigw).
- njitbew 6y agoSounds like it. Which in turn is similar to Akamai EdgeWorker (Akamai's JavaScript-at-the-edge)
- damsta 6y agoRegular Lambdas use 1ms billing since 1st December of last year. https://aws.amazon.com/blogs/aws/new-for-aws-lambda-1ms-billing-granularity-adds-cost-savings/ https://aws.amazon.com/blogs/aws/new-for-aws-lambda-1ms-bill...