Hacker News new | ask | show | jobs
by deleugpn 956 days ago
As you can see on the website (https://bref.sh/) there's 13 billion monthly AWS Lambda invocations using Bref (PHP).
1 comments

That doesn't really say much. Isn't the whole point of serverless to support high-volume, individually-inexpensive, invocations?

For context, 13B is like roughly a <strike>$2000</strike> (edit: more like $4000, sorry) spend on Cloudflare Workers, similar cost (harder to calculate but ballpark similar) on Lambda. That could be a single company spending the bulk of that.

(Further edit: Lambda pricing is way off too. See reply below.)

That ballpark is not even close to the park. My company spends ~$500/month on AWS Lambda and we're doing about 2M/req/day with Bref. There's still 12B 940M requests to account for
Thank you, and sorry about that!

How come Lambda is so expensive for you?

At 13000M invocations/mo, that's $2600 in requests. Is it the GB-seconds duration charge that get you?

The GB-second is the relevant cost of AWS Lambda. # of invocations is pretty irrelevant.

60'000'000 requests

1536MB RAM

300ms response avg

(calculation includes free tier):

Request costs: $11.80/month

Execution costs: $443.42/month

Total AWS Lambda costs: $455.22/month

I see, thank you for the explanation! Sorry for my mistaken assumptions.