5 ms·
I am impressed that computation is billed by the ms nowadays. I'm an ignorant in AWS Lambda but how do you know if their ms measurement is accurate? Is there a
by 4lejandrito 6y ago
I am impressed that computation is billed by the ms nowadays.
I'm an ignorant in AWS Lambda but how do you know if their ms measurement is accurate? Is there any way to verify this?
- munns 6y agoYou are billed by the execution time of the function. So from the millisecond we hand the event over to you until you return a response or timeout. - Chris - Serverless@AWS
- pistoriusp 6y agoAre 15 minute max execution times still the norm?
- rajinikantham 6y agoYes. I didn't see anything about relaxing those limits today in the keynote. Once can hope and dream..
- digianarchist 6y agoI saw the news around running container images as artifacts which is welcome. Still the 15 min limit restricts a lot of use cases. https://aws.amazon.com/blogs/aws/new-for-aws-lambda-container-image-support/ https://aws.amazon.com/blogs/aws/new-for-aws-lambda-containe...
- snypox 6y agoAs far as I know, if you run for more than a few seconds Lambda’s cost will _really_ not worth it. One should prefer ECS or Batch.
- digianarchist 6y agoOn Fargate? I agree.
- astuyvenberg 6y agoIt's still measured by wall clock time - not CPU time. I'd love to see them bill for actual CPU time.
- cle 6y agoI'd bet a significant portion of their margins come from this, given Lambda's focus on I/O-bound workloads.
- heimatau 6y agoIf the profits exist there, then others might eventually find it advantageous to have this metric in the future. Maybe even accounting for strong and weak nuclear forces (not sarcasm...we are engineering at the quantum level now, soon it will be apart of a business metric. Instead of 'equipment' being servers, it might be the domain-space-time used).
- donor20 6y agoThey would be willing to do this probably if you let them evict your entire workload from memory during the period you were not paying for it, and then were able to charge you for CPU time and some additional charge to reload workload into memory from hibernation. Most workloads ALSO hold memory (which is a key constraint) over the entire wall clock time, and the delays and impacts/costs of hibernating out the memory and then bringing it back so you can just be charged for CPU time may not make sense.
- alexeldeib 6y agoThey could also charge you some rate for CPU seconds + Gb-seconds of memory used? Sort of the ultimately flexible cloud platform. You could apply the same sort of thinking to other resources, but it works best for CPU/memory I think.
- jacques_chester 6y agoThat would be ideal, as it more closely fits consumption to billing. But potentially harder for end users to reason about. AWS's bills are already notorious.