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
101–110 of 291 posts
Re: AWS Lambda pricing now per ms
#102Re: AWS Lambda pricing now per ms
#103Re: AWS Lambda pricing now per ms
#104Necessary 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.
Re: AWS Lambda pricing now per ms
#105Earlier quoted context omitted.
How long would you like it to be? Chris Munns - Lead of Dev Advocacy for Serverless@AWS
My lambdas run indefinitely. It's a bit silly, but basically every lambda spins up a bunch of threads, pulls messages, and then pushes them into internal buffers to be processed. There are reasons for this. What I care about is: * Scale to 0, and automatic scaling up without configuring it * Automatic patching of the OS * Fault isolation Lambda gives me that. So each one runs for 15 minutes, processing all data in an…
If data doesn't have to be processed sequentially an option is to configure the AWS Lambda function to get invoked for new data in the SQS queue [1], so you don't have to care about manually fetching data from SQS at all.
[1]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html
Re: AWS Lambda pricing now per ms
#106Earlier quoted context omitted.
To be clear, you're acknowledging Cloudflare has a much better pricing model but just not as many other services yet?
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.
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
#107Earlier quoted context omitted.
My lambdas run indefinitely. It's a bit silly, but basically every lambda spins up a bunch of threads, pulls messages, and then pushes them into internal buffers to be processed. There are reasons for this. What I care about is: * Scale to 0, and automatic scaling up without configuring it * Automatic patching of the OS * Fault isolation Lambda gives me that. So each one runs for 15 minutes, processing all data in an…
Today, for a nonstop workload you might save money with Fargate or ECS.
Re: AWS Lambda pricing now per ms
#108Re: AWS Lambda pricing now per ms
#109For 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
#110Earlier quoted context omitted.
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.
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.