News for hackers. Stuff that matters.
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"