4 ms·
I've heard many good things about Cloudfare Workers. Excuse my ignorance & N00Bness, but are they essentially a Cloudfare version of AWS Lambdas, Google Cloud
by iameoghan 6y ago
I've heard many good things about Cloudfare Workers.
Excuse my ignorance & N00Bness, but are they essentially a Cloudfare version of AWS Lambdas, Google Cloud Functions and Netlify functions, or are they something different/better?
- closeparen 6y agoIIRC Cloudflare Workers run at each Cloudflare PoP, which have higher geographical density than AWS regions, so latency experienced by end-users may be lower.
- iameoghan 6y agoNice. Will check them out. IIRC they are really affordable too (like all serverless stuff tbh)
- VWWHFSfQ 6y agoAWS has the same thing with Lambda@Edge
- ijpsud 6y agoAccording to this[0] blog post Lambda@Edge has significantly longer latency (due in part to a smaller number of locations). Cloudflare also uses V8 isolates instead of whole VMs, so much lower overhead. Disadvantage is that you can only run JavaScript and WASM. [0]: https://blog.cloudflare.com/cloud-computing-without-containers/ https://blog.cloudflare.com/cloud-computing-without-containe...
- thegagne 6y agoMore lightweight. It’s just v8 so there’s basically no time for warm up time. They have vastly more pops than Amazon, so global performance for these is on a different level. But they are also more limited in compute and serve a slightly different purpose.