Earlier quoted context omitted.
Except that none of the rest of your infrastructure is there, and that APIs represent just a non-majority part of Lambda workloads.
To be clear, you're acknowledging Cloudflare has a much better pricing model but just not as many other services yet?
AWS Lambda pricing now per ms
141–150 of 291 posts
Re: AWS Lambda pricing now per ms
#142Necessary change. Now writing stuff in fast languages suddenly matter in cost, changing the landscape of when these solutions might become viable for a chase.
I've been here for a while resisting the temptation to write a sarcastic comment. Speed has been the opposite of what matters for decades. Every change is always trading speed for something else. And suddenly some offer by Amazon is going to change that? Seems unlikely.
All else being equal, faster services are cheaper to run. Faster services can service more requests per compute/memory resource, which means you don't have to buy as many servers/containers/whatever. This is particularly important if you're being billed by the ms, which is the context we're talking about here.
Re: AWS Lambda pricing now per ms
#143I've learned that AWS pricing tends to improve over time, and I appreciate it. I just recently switched from a startup offering authorization to AWS Cognito because the startup kept raising their price(s). It's nice to see this drop, though I'm sure Amazon does it due to competition as well.
I just recently switched from a startup offering authorization to AWS Cognito because the startup kept raising their price(s). Maybe because they know Cognito is horrible? ;) OTOH, I have never seen DynamoDB prices decreasing.
Re: AWS Lambda pricing now per ms
#144Necessary change. Now writing stuff in fast languages suddenly matter in cost, changing the landscape of when these solutions might become viable for a chase.
And you can pick any language you'd like as it supports arbitrary containers now too: https://news.ycombinator.com/item?id=25267182
This is really, really exciting!
Re: AWS Lambda pricing now per ms
#145Earlier quoted context omitted.
From the research I did, here's how languages stack up in Lambda runtime (lowest first): 1. Python & JS 2. Go 3. C# & Java I couldn't find any data on Rust. The understanding at the time was that Python & JS runtimes are built-in, so the interpreter is "already running" Go is the fastest of compiled languages, but just can't beat the built-in runtimes. C# and Java were poorest as they're spinning up a larger runtime…
I’m not sure I’m interested in a hello world benchmark if it takes Python 5 seconds to import its dependencies in the real world.
Re: AWS Lambda pricing now per ms
#146Earlier quoted context omitted.
> 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.
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).
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
#147Earlier quoted context omitted.
I don't think they are doing it to be nice to consumers. I think they are doing it to cost less than competitors.
FWIW I was informed by an AWS employee that their internal philosophy is to keep pricing at cost+ levels, which is a strategic play - it forces the operations to remain lean and discourages many competitors from trying to wedge themselves into the cost-price gap. Fat profit margins attract competition, this is what happened when Oracle/Unix combo were chewed up by Microsoft Windows/SQL from the bottom, and then Linux…
- Jeff Bezos
Re: AWS Lambda pricing now per ms
#148Earlier quoted context omitted.
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?
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
#149Re: AWS Lambda pricing now per ms
#150For 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.
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
-Harlan, the ex-intern