Serverless explained: what Cloudflare Workers and AWS Lambda really bill you for

There is still a server. You just stop owning it. Here is how Workers and Lambda differ in how they run your code, start cold, and charge you, with…

Aliteq
0xLax · Founder · Cloud & Infrastructure

The short answer

Serverless means you hand a cloud provider a function and it runs the function only when a request arrives, so you pay per use instead of renting a machine. Cloudflare Workers runs your code in V8…

Workers: requests plus CPU milliseconds; waiting on the network is free; $5 a month on the paid plan

Lambda: requests plus GB-seconds of wall-clock time; no fixed fee; free tier of 1M requests and 400,000 GB-seconds

Cold starts: Cloudflare says isolates eliminate them; AWS says Lambda cold starts run under 100 ms to over 1 second, in under 1% of invocations

Small apps: Lambda is cheaper. Slow databases or big memory at scale: Workers is cheaper

Aliteq

Read the full story

Serverless explained: what Cloudflare Workers and AWS Lambda really bill you for

Read the full story on Aliteq