News for hackers. Stuff that matters.
Re:AWS Lambda pricing now per ms by catchmeifyoucan on Tuesday December 01, 2020 @12:17PM (#25267211)
For reference - Lambda functions used to billed at 100ms intervals. My Node.Js function usually only takes 37-40ms to run. So this is a pretty good advancement for cost savings.
Re:AWS Lambda pricing now per ms by munns on Tuesday December 01, 2020 @12:53PM (#25267688)
Awesome! That was the idea here. Lots of sub 100ms workloads and we really want you to be able to pay for what you use.

- Chris, Serverless@AWS

Re:AWS Lambda pricing now per ms by ignoramous on Tuesday December 01, 2020 @01:19PM (#25267997)
> ...we really want you to be able to pay for what you use.

Cloudflare Workers has the right pricing model. They only charge for CPU time and not wall time. They also do not charge for bandwidth.

> Lots of sub 100ms workloads...

AWS Lambda (or Lambda at Edge), as it stands, is 10x more expensive for sub 50ms workloads (Workers does allow upto 100ms for the 99.9th percentile) that can fit 128MB RAM.

https://medium.com/@zackbloom/serverless-pricing-and-costs-a...

Re:AWS Lambda pricing now per ms by astral303 on Tuesday December 01, 2020 @11:09PM (#25273151)
That's because keeping track of request state is not free. Ask an edge router. If you have a request open, even though it's not doing CPU, that request has to be in a queue somewhere, tracked for a response that can be transmitted back.

I don't know the infra costs of operating lambda, but my guess is that it's far from CPU-dominated.

I would not be surprised if the Cloudflare pricing model is making a tradeoff to make CPU-bound workloads pay for more of the infra than the rest. It's a valid trade-off to make as a business offering, and it might be feasible given the mixture of workloads. Whether it's the right way is debatable. Whether this model can be tanked by an army of actors taking advantage of CPU-insensitive pricing remains to be seen, or is an acceptable risk that you can take (which you can observe and protect against).

Re:AWS Lambda pricing now per ms by munns on Tuesday December 01, 2020 @01:23PM (#25268049)
Except that none of the rest of your infrastructure is there, and that APIs represent just a non-majority part of Lambda workloads.
Re:AWS Lambda pricing now per ms by ukd1 on Tuesday December 01, 2020 @03:01PM (#25269201)
Yet, if you're a Cloudflare user, all of your edges are there - so it doesn't matter. We use Workers extensively for "edge" related things. Lambda, never - but for working with S3 buckets, sure. They feel similar, but differently specialized.
Re:AWS Lambda pricing now per ms by sitkack on Wednesday December 02, 2020 @10:43PM (#25285103)
Lambdas are UDFs for S3.
Re:AWS Lambda pricing now per ms by mrits on Tuesday December 01, 2020 @01:29PM (#25268133)
To be clear, you're acknowledging Cloudflare has a much better pricing model but just not as many other services yet?
Re:AWS Lambda pricing now per ms by CapriciousCptl on Tuesday December 01, 2020 @02:09PM (#25268628)
They're not easily comparable (I tried using Cloudflare Workers before going back to AWS). Lambda@Edge runs Node or Python. Cloudflare Workers runs V8 with "worker isolates" which has a few more caveats, an imperfect but improving dev experience, and doesn't work with a lot of npm packages.
Re:AWS Lambda pricing now per ms by eins1234 on Tuesday December 01, 2020 @03:39PM (#25269583)
What would be really useful for my use case (running browser tests on a schedule) is if Cloudflare workers actually supported running full headless chromium automation in addition to just V8 isolates. Right now I'm using puppeteer/playwright + Lambda, but would love to have more options.
Re:AWS Lambda pricing now per ms by Normal_gaussian on Tuesday December 01, 2020 @04:55PM (#25270507)
Headless browser tests seem to be quite far away from the problems cloudflare workers are trying to solve.

https://developers.cloudflare.com/workers/platform/limits

Workers aren't the same as lambdas, they are a super slim JS environments. At 50ms max runtime most browsers won't even start, let alone fetch and process a page.

Re:AWS Lambda pricing now per ms by ignoramous on Tuesday December 01, 2020 @05:00PM (#25270568)
CloudWatch Synthetics may fit your usecase? https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitori...

Then there are more specialized browser-testing providers like LambdaTest.com and BrowserStack.com

Re:AWS Lambda pricing now per ms by chrisweekly on Tuesday December 01, 2020 @10:56PM (#25273086)
and the venerable WPT (private instances, not the free public one at webpagetest.org)
Re:AWS Lambda pricing now per ms by wdb on Tuesday December 01, 2020 @08:59PM (#25272443)
I wished Google Cloud supported something similar Lambda@edge but I think my only alternative is Cloudflare Workers at the moment.
Re:AWS Lambda pricing now per ms by munns on Tuesday December 01, 2020 @01:32PM (#25268177)
No to be clear I'm saying you are comparing things that are way more different than our friends at Cloudflare would like you to think. They aren't brought up in any of the convos I have with customers.
Re:AWS Lambda pricing now per ms by gwerbret on Tuesday December 01, 2020 @02:42PM (#25268978)
> No to be clear I'm saying you are comparing things that are way more different than our friends at Cloudflare would like you to think.

Care to expand on that? What exactly do you mean by "things are way more different"?

Re:AWS Lambda pricing now per ms by ctvo on Tuesday December 01, 2020 @03:35PM (#25269544)
Last I looked Cloudflare Workers had different limits and constraints:

https://developers.cloudflare.com/workers/platform/limits

It's a quick Google. 128MB max memory, 6 concurrent out going connections max, 1MB code size limit. The use case here is a subset of what AWS Lambda can handle. The supported languages also differ (only things that have a JS / wasm conversion for Cloudflare Workers).

I haven't looked deeply, so please correct me if I'm wrong, but I understand there's also restrictions on the built-in APIs available [1] and npm packages supported for NodeJS.

I would assume some of the above contributes to the price difference.

1 - https://developers.cloudflare.com/workers/runtime-apis/web-s...

Re:AWS Lambda pricing now per ms by acer4666 on Tuesday December 01, 2020 @03:20PM (#25269396)
This is pretty standard AWS marketing spiel. They make vague assertions of "ah but you're not considering the big picture...." with no details
Re:AWS Lambda pricing now per ms by staticassertion on Tuesday December 01, 2020 @06:05PM (#25271237)
If you want to compare two things that are different in a ton of ways, don't be mad when someone points it out.
Re:AWS Lambda pricing now per ms by ignoramous on Wednesday December 02, 2020 @02:32AM (#25274040)
It isn't about the products, it is about the pricing model in a similar market.

Second, for sub 50ms workloads [0], Workers is absolutely a superior solution to API Gateway + Lambda or Cloudfront + Lambda at Edge if the workloads can fit 128MB RAM and package/compile to 1MB JavaScript or WASM executables, in terms of cost, speed, latency, ease of development etc

[0] For Workers, 50ms is all CPU time and that is definitely not the case with Lambda which may even charge you for the time it takes to setup the runtime to run the code and time spent doing Network IO and bandwith and RAM and vCPUs and what not.

Re:AWS Lambda pricing now per ms by sushshshsh on Tuesday December 01, 2020 @03:48PM (#25269686)
Based. "That's just an edge case. Our customers love this service!"

It's like going to a restaurant that uses bottled water instead of tap water, and they dont provide an answer as to what the benefits of bottled water are

Re:AWS Lambda pricing now per ms by nl on Tuesday December 01, 2020 @09:35PM (#25272664)
Not from AWS, but the isolation model is completely different.

On Lambda you get a full environment inside an OS container. On CloudFlare you get a WASM process.

The Lambda model is more compatible which can be a real benefit.

Re:AWS Lambda pricing now per ms by ignoramous on Tuesday December 01, 2020 @01:37PM (#25268241)
But you're telling us that Lambda's prices are justifiably higher because of the strong vendor lock-in? AWS is starting to sound more like Oracle. Ironic. :)

Besides the fact that Cloudflare's part of the Bandwidth Alliance with GCP and other infrastructure providers from which AWS is conspicuously absent, Cloudflare's also slowly but surely building a portfolio of cloud services.

Re:AWS Lambda pricing now per ms by jrd259 on Tuesday December 01, 2020 @03:10PM (#25269295)
This reply is in bad faith. He did not attempt to "justify" the pricing with "vendor lock-in". Indeed, the prices went down, not up.
Re:AWS Lambda pricing now per ms by ignoramous on Tuesday December 01, 2020 @03:38PM (#25269572)
Lambda's pricing is indeed higher than Cloudflare Workers for sub 50ms workloads (that fit 128MB RAM).

Cloudflare's alliance with other infrastructure providers mean Cloudflare's platform isn't really limited to "API" workloads. This is discounting the fact that Cloudflare recently announced Workers Unlimited for workloads that need to run longer (upto 30mins) though then they do charge for bandwidth.

Re:AWS Lambda pricing now per ms by alisonkisk on Tuesday December 01, 2020 @04:15PM (#25269985)
The question here isn't the price change here (which is in some sense mainly about balancing short functions and long functions, removing the penalty for short functions) , it's where the pricing is at overall vs Cloudflare.
Re:AWS Lambda pricing now per ms by alisonkisk on Tuesday December 01, 2020 @04:13PM (#25269964)
This comment would be much more useful if you gave some clear examples of the difference (presumably something you get on Lambda that makes it worth more per ms than Cloudflare).

Otherwise it's just "AWS said, Cloudflare said"

Re:AWS Lambda pricing now per ms by alex_reg on Tuesday December 01, 2020 @03:00PM (#25269190)
It's nice to get a semi-official confirmation of AWS pricing strategy: create lock in, then overcharge.
Re:AWS Lambda pricing now per ms by StreamBright on Wednesday December 02, 2020 @08:50AM (#25276295)
>> AWS Lambda (or Lambda at Edge), as it stands, is 10x more expensive for sub 50ms workloads

Not sure about this, most use cases of Lambda use other resources and do not exist in a vacuum. Comparison should be made using complete systems not only parts.

Re:AWS Lambda pricing now per ms by tejohnso on Tuesday December 01, 2020 @01:46PM (#25268358)
> They also do not charge for bandwidth.

Is there fine print on this? Can I put 100TB / mo through their caching servers at the lowest $20 price tier?

Re:AWS Lambda pricing now per ms by manigandham on Tuesday December 01, 2020 @02:02PM (#25268559)
Not if you're actually taking up that much cache storage but bandwidth has plenty of examples of high usage on low tiers. They usually allow it as long as you're not affecting the rest of the network adversely since the lines are already paid for (which is the right approach IMO).
Re:AWS Lambda pricing now per ms by anonymoushn on Tuesday December 01, 2020 @01:49PM (#25268398)
Yes, but you'll probably get an email about it.
Re:AWS Lambda pricing now per ms by ignoramous on Tuesday December 01, 2020 @05:10PM (#25270694)
Very high bandwidth usage for Cloudflare Workers workloads is not against ToS according to Cloudflare's CEO: https://news.ycombinator.com/item?id=20790857
Re:AWS Lambda pricing now per ms by jthomerson on Tuesday December 01, 2020 @01:57PM (#25268503)
Chris, while I've seen the change in my accounts on regular Lambda, I don't yet see it on Lambda@Edge. I think Lambda@Edge is the place where we'd benefit from this change the most, because many L@E scenarios take single-digit milliseconds, and the cost of L@E is 3x regular Lambda.

Any word on whether we'll also see this change on L@E billing?

Re:AWS Lambda pricing now per ms by munns on Tuesday December 01, 2020 @02:00PM (#25268526)
Yes, to be clear this change was just for Lambda. L@E is honestly a completely different service run by a different part of AWS that just happens to share parts of our core worker platform. I am not 100% aware of when they might adjust their own pricing on this, but also couldn't share any roadmap here (sorry).
Re:AWS Lambda pricing now per ms by daxfohl on Tuesday December 01, 2020 @02:18PM (#25268722)
How does that even work? Lambda seems like a challenge even with the entirety of the datacenter resources to work with. Running it in constrained edge environments with a VM per function seems like black magic.
Re:AWS Lambda pricing now per ms by munns on Tuesday December 01, 2020 @02:53PM (#25269102)
The naming is a bit of a misnomer, today L@E doesn't run at the edge (in our PoPs) but when you deploy it copies to every region and then CloudFront routes you to the lowest latency region for your request.
Re:AWS Lambda pricing now per ms by austinpena on Tuesday December 01, 2020 @04:12PM (#25269952)
So is L@E multi region then? Like if I have two concurrent requests across the globe are they serviced from two locations?
Re:AWS Lambda pricing now per ms by munns on Tuesday December 01, 2020 @04:28PM (#25270162)
Yes, but you deploy it from one region.
Re:AWS Lambda pricing now per ms by hlieberman on Tuesday December 01, 2020 @02:22PM (#25268763)
Wait, are you Chris Munns from Music2Go? If so, massively small world. My email is username @setec.io; would love to hear from you.

-Harlan, the ex-intern

Re:AWS Lambda pricing now per ms by munns on Tuesday December 01, 2020 @02:29PM (#25268839)
It me.
Re:AWS Lambda pricing now per ms by Roritharr on Tuesday December 01, 2020 @05:00PM (#25270565)
I have only a lambda@edge function which usually runs between 10-20ms.

If this also covers lambda@edge, this will save us quite some money.

Re:AWS Lambda pricing now per ms by groundthrower on Tuesday December 01, 2020 @01:52PM (#25268436)
Hi, are there any plans on offering instances with more CPU cores than the maximum 2 as I guess you have today?
Re:AWS Lambda pricing now per ms by munns on Tuesday December 01, 2020 @01:53PM (#25268452)
Yes, announced today you can go up to 10gb/6 vCPUs: https://aws.amazon.com/blogs/aws/new-for-aws-lambda-function...
Re:AWS Lambda pricing now per ms by groundthrower on Tuesday December 01, 2020 @02:00PM (#25268534)
Okay, nice. And if I would like like 32 vCpus? Having an application today that has a huge degree of parallelism, but utilizing an external cloud provider that offers dedicated machines with very affordable pricing. Would really like to use lambdas instead though.
Re:AWS Lambda pricing now per ms by munns on Tuesday December 01, 2020 @02:06PM (#25268596)
Interesting. Not possible today. We'd still encourage paralyzation up through multiple concurrency of functions being executed.
Re:AWS Lambda pricing now per ms by JoshTriplett on Tuesday December 01, 2020 @02:46PM (#25269029)
I would love to see this as well: having 96-vCPU Lambda instances (or instances that match the biggest C-family instance you have) would solve a lot of problems for me. The execution model of Lambda (start a runtime, handle requests, AWS handles pool management) feels much easier to use than managing a pool.

Someone from AWS once commented to me that "if you're ever having to manage a pool rather than letting us manage it, that's a gap in our services".

Re:AWS Lambda pricing now per ms by chrisweekly on Tuesday December 01, 2020 @10:59PM (#25273106)
"paralyzation" -> parallelization, yeah? :)
Re:AWS Lambda pricing now per ms by munns on Wednesday December 02, 2020 @11:04AM (#25277631)
It was a long day yesterday, thank you :)
Re:AWS Lambda pricing now per ms by YuriNiyazov on Tuesday December 01, 2020 @04:31PM (#25270200)
Hey Chris. Happy to see your awesome trajectory from Meetup admin to The Serverless AWS guy.
Re:AWS Lambda pricing now per ms by munns on Tuesday December 01, 2020 @04:59PM (#25270553)
::waves at Yuri::

Thanks! It's been a fun/interesting 4 years in this space :)

Re:AWS Lambda pricing now per ms by jeffbee on Tuesday December 01, 2020 @12:51PM (#25267658)
Just out of curiosity, what are you getting out of your 160 million CPU cycles? Are you mostly on the CPU, or mostly waiting for something (database call or whatever)?
Re:AWS Lambda pricing now per ms by londons_explore on Tuesday December 01, 2020 @01:30PM (#25268142)
I want to do something that a low level hacker could do in 100 clock cycles with hardcoded bit twiddling and some avx-512, but I want to use nodejs, so I'm gonna need at least 100 million clock cycles to parse all the npm modules...
Re:AWS Lambda pricing now per ms by fwip on Tuesday December 01, 2020 @02:22PM (#25268765)
Not sure why you need a whole bunch of npm modules to do bit twiddling in a performance-sensitive lambda function. Sounds like you just don't like Javascript.

Edit: You're spending like 80ms on cold-start of your lambda function, plus network overhead. If you can spare that, you can likely spare the half a millisecond for the 999,900 cycles you're complaining about.

Re:AWS Lambda pricing now per ms by eb0la on Tuesday December 01, 2020 @01:38PM (#25268250)
So this confirms there is a lot of competition in the serverless space: aws lambda, Azure cloud functions, Google cloud functions, serverless containers. Like knative, Google cloud run...
Re:AWS Lambda pricing now per ms by franga2000 on Wednesday December 02, 2020 @04:08AM (#25274678)
Just out of curiosity, could you share what kind of things you use it for?

I've never used Lambda, but any time I have a function that I need to run in response to some event or perodically (that's what Lambda is, right?), it's set up in a background worker specifically because it's long and slow, as anything fast can be done synchronously without the overhead.

Re:AWS Lambda pricing now per ms by Cthulhu_ on Wednesday December 02, 2020 @07:27AM (#25275731)
Lambda is not specifically made for long and slow tasks; AWS Lambda specifically has a maximum execution time of 15 minutes (and you have to explicitly configure it to do so, see https://aws.amazon.com/about-aws/whats-new/2018/10/aws-lambd....).

For longer tasks, spinning up an EC2 or Beanstalk instance is probably the way to go.

As for what to use it for, we used it in our application (deployed to Netlify which uses Lambda under the hood) where lambdas operated like a 'proxy' to various 3rd party API suppliers (Commercetools, Adyen, some age verification service), and those too would use a lambda function to ping back at us (e.g. when payment was confirmed). Worked pretty well, although in retrospect I would've preferred a 'normal', monolithic server to do the same thing.

Re:AWS Lambda pricing now per ms by tgv on Tuesday December 01, 2020 @12:28PM (#25267370)
Warm or cold?
Re:AWS Lambda pricing now per ms by jimmaswell on Tuesday December 01, 2020 @02:35PM (#25268896)
How many people actually use lambda? Always came off as a gimmick to me.
Re:AWS Lambda pricing now per ms by munns on Tuesday December 01, 2020 @02:57PM (#25269145)
Enough that in 2019 it was the most popular topic at re:Invent (our big user conference) and that today per our re:Invent announcement almost half of all new compute workloads in Amazon are based on it. Pretty heavily used across different industries and verticals.
Re:AWS Lambda pricing now per ms by tealpod on Monday December 07, 2020 @09:28AM (#25332386)
I rarely use lambda but I use alot of Google firebase-functions for majority of my server code. From my experience lambda/firebase-functions/Azure-functions are very popular.One simple usecase I can tell is payment-successful return-hook from payment servers like Stripe.Its a tiny task which just logs payment-success info and triggers a email..etc.
Re:AWS Lambda pricing now per ms by diegocg on Tuesday December 01, 2020 @04:23PM (#25270086)
They can seem not that useful by themselves. Their power comes from the integration with the rest of AWS services.
Re:AWS Lambda pricing now per ms by Supermancho on Tuesday December 01, 2020 @12:20PM (#25267251)
> So this is a pretty good advancement for cost savings.

For some people. Those cost savings are made up somewhere else. Ultimately, Amazon is not a loss leader.

Re:AWS Lambda pricing now per ms by Smaug123 on Tuesday December 01, 2020 @12:21PM (#25267266)
… yes? I don't use AWS Lambda at all, so I don't see any cost savings. It's implicit that not everyone will see the savings.
Re:AWS Lambda pricing now per ms by camhart on Tuesday December 01, 2020 @12:20PM (#25267263)
Why only for some people? It always rounded up to 100ms. If your function took 101ms, it was billed as 200ms.
Re:AWS Lambda pricing now per ms by jlouis on Tuesday December 01, 2020 @12:24PM (#25267320)
If it takes 60 seconds, that's 600 steps. 601 steps isn't that much of a saving.

It matters close to 0.

Re:AWS Lambda pricing now per ms by alpha_squared on Tuesday December 01, 2020 @12:30PM (#25267405)
If a process takes that long, lambda would be a poor architectural choice.
Re:AWS Lambda pricing now per ms by Pfhreak on Tuesday December 01, 2020 @12:37PM (#25267481)
Not necessarily. For low frequency workloads with reasonably long step times, Lambda can still make sense. (E.g. When videos appear in this S3 bucket, process them.)

You might only drop videos in once a week, but when you do you want to run some code against them. There are plenty of distributed workflow reasons to run long running Lambdas infrequently rather than spinning up and down an EC2 instance.

Re:AWS Lambda pricing now per ms by alpha_squared on Tuesday December 01, 2020 @12:49PM (#25267625)
Lambdas are underpowered and often poor choices for compute-heavy workloads. Unless there's an urgency to processing infrequent videos, it might make more sense to backlog messages to the queue and use spot instances for draining the queue and processing videos, especially from a cost perspective. Though I acknowledge that this is a more complex setup.
Re:AWS Lambda pricing now per ms by throwaway894345 on Tuesday December 01, 2020 @01:12PM (#25267918)
I haven’t heard that lambdas are “underpowered” before, but I’m interested to learn more. Could you elaborate just a bit on why they are underpowered?
Re:AWS Lambda pricing now per ms by alpha_squared on Tuesday December 01, 2020 @02:35PM (#25268891)
As was mentioned by qvrjuec in a sibling comment, hardware is limited. I seem to remember CPU speeds listed alongside available memory for AWS Lambdas, but the pricing page seems to just list memory now[0]. At the highest end, you're still limited to ~10.2GB of memory, which is considerably lower than what's available via EC2. And while I have no personal experience with the EC2 finer-grained pricing that was announced[1], it sounds like that approach may be a better approach to the described scenario above. We can nitpick on these architectural details, but my response was largely that there are other architectural alternatives that could be more ideal; especially in response to a comment that seems to dismiss the value of pricing at finer time intervals.

[0] https://aws.amazon.com/lambda/pricing/

[1] https://www.cnbc.com/2017/09/18/aws-starts-charging-for-ec2-...

Re:AWS Lambda pricing now per ms by throwaway894345 on Tuesday December 01, 2020 @04:54PM (#25270489)
> We can nitpick on these architectural details, but my response was largely that there are other architectural alternatives that could be more ideal; especially in response to a comment that seems to dismiss the value of pricing at finer time intervals.

Not trying to nitpick anything; just curious what was meant by "underpowered". Seems like there's still a breadth of compute-intensive use cases that are more appropriate for lambda--e.g., cost is more sensitive than latency and I have too low a volume of requests for a dedicated EC2 instance to make economic sense. This has been where I've spent most of my career, but no doubt there are many use cases where this doesn't hold.

Re:AWS Lambda pricing now per ms by qvrjuec on Tuesday December 01, 2020 @01:40PM (#25268275)
Limitations on hardware one can run a lambda function on and constraints on execution time mean they are "underpowered" compared to other options, like ECS Fargate tasks.
Re:AWS Lambda pricing now per ms by throwaway894345 on Tuesday December 01, 2020 @01:49PM (#25268392)
Does Fargate allow you to run on beefier hardware? I know you can bring your own hardware with vanilla ECS. I’m aware of the execution time constraints (15 minutes), but I thought we were talking about 60s?
Re:AWS Lambda pricing now per ms by lstamour on Tuesday December 01, 2020 @12:46PM (#25267597)
Right but the first thought I had was, couldn’t you fan out and run a lambda for each frame or a group of related frames? (E.g. Batch HLS processing would be really easy!) If so, you’re back to short lambdas again. It’s really the sweet spot for using Lambda after all: lots of big jobs can be broken down into lots of little jobs, etc.
Re:AWS Lambda pricing now per ms by Pfhreak on Tuesday December 01, 2020 @01:38PM (#25268256)
Plausibly. But that might be more effort than just writing the code to ingest a video file (or some other big data blob) in the simplest, most straightforward way possible.
Re:AWS Lambda pricing now per ms by CodeWriter23 on Tuesday December 01, 2020 @02:43PM (#25268993)
If your process takes more than 10 seconds, the extra 100ms charge is pretty much noise.
Re:AWS Lambda pricing now per ms by roland35 on Tuesday December 01, 2020 @01:00PM (#25267788)
Lambda has a 15 minute limit, I'm not sure exactly how it compares to ec2 but for a low duty cycle application it still makes sense! It is also pretty easy to combine a lambda to SNS or SQS
Re:AWS Lambda pricing now per ms by staticassertion on Tuesday December 01, 2020 @12:55PM (#25267719)
My lambdas run for 15 minutes. I feel that they're still a great choice :)
Re:AWS Lambda pricing now per ms by archgoon on Tuesday December 01, 2020 @02:19PM (#25268738)
Huh... that's the limit of lambda functions, are you doing some sort of work in 15 minute chunks?
Re:AWS Lambda pricing now per ms by staticassertion on Tuesday December 01, 2020 @06:10PM (#25271288)
Instead of processing 10 messages off of SQS per lambda we process 10, then start polling for more using the same lambda, and don't stop until the lambda is just about to die.
Re:AWS Lambda pricing now per ms by _rs on Wednesday December 02, 2020 @12:32AM (#25273549)
Forgive me if this is naive, but why not trigger a lambda for each message separately? I think they’ll automatically reuse lambdas instead of spinning down
Re:AWS Lambda pricing now per ms by jlouis on Tuesday December 01, 2020 @12:47PM (#25267611)
I used an extreme to show the point. At 800 ms the savings are also less than closer to 0.
Re:AWS Lambda pricing now per ms by SamBam on Tuesday December 01, 2020 @01:14PM (#25267942)
Yes, but even then it's still a saving, however small, not a loss, so I feel to see this point of this.
Re:AWS Lambda pricing now per ms by bpodgursky on Tuesday December 01, 2020 @12:55PM (#25267720)
If Amazon reduces costs behind the scenes, they can maintain the same revenue while lowering prices for everyone, by helping people deploy previously cost-prohibitive infrastructure.

(ie, if people now use 1.5x as many Lambdas, they can lower costs by 1/3, and everyone wins).

Re:AWS Lambda pricing now per ms by pdelgallego on Tuesday December 01, 2020 @02:16PM (#25268701)
The Jevons paradox applies to compute. In economics, the Jevons paradox occurs when technological progress increases the efficiency with which a resource is used, but the rate of consumption of that resource rises due to increasing demand. The more efficient (or cheaper) compute gets the more uses we find for it, rising the consumption of it.

People think about pricing as a zero sum game. In reality, there are very few things in the world that are zero sum games.

Re:AWS Lambda pricing now per ms by vikramkr on Tuesday December 01, 2020 @01:23PM (#25268045)
This is also a competitive market. Aws has to fight against gcp and azure for new customers, and in a competitive market, you don't get a guarantee to make up the money you lose somewhere else.