|
|
|
|
|
by lentil
2338 days ago
|
|
> I also remember comparing AWS Lambda at Edge vs Cloudflare Workers ... costs were something like 10x apart. According to the AWS pricing example[1] 10 million requests per month on Lambda@Edge costs $9.13. The same thing on Cloudflare Workers[2] costs $5.00. So I would expect it to be closer to 2x. Although as you say there's a bit more flexibility with Lambda@Edge so it'll depend on your particular case. I'm curious if your situation was different somehow that made for such a big cost difference between the two? [1]https://aws.amazon.com/lambda/pricing/#Lambda.40Edge_Pricing
[2]https://workers.cloudflare.com/#plans |
|
I guess, when I compared, I took Lambda@Edge's per second billing into consideration and not per 50ms (which brings down the RAM usage cost from $62.52 to $3.13 and total usage from $68.52 to $9.13).
What really sealed the deal for me was the very low cold-start times with Workers. I'm not aware of recent improvements with Lambda@Edge, but the last time I tried them, it wasn't uncommon to hit 100ms+ start times.