logoalt Hacker News

mikeocool • yesterday at 12:26 PM • 3 replies • view on HN

The real advantage of cloudflare workers is you don’t pay for the processing time while you’re waiting for upstream network responses.

I believe Cloudflare is the only FaaS that offers that. It makes it fantastic for putting a light weight layer in front of a few upstream API, like say inference providers.


Replies

syrusakbary • yesterday at 12:59 PM

> I believe Cloudflare is the only FaaS that offers that

Wasmer also offers the same (charging only for active CPU usage), with the advantage that you can run full Node.js and Python workloads

https://wasmer.io/

jasonjmcghee • yesterday at 1:00 PM

And there are even hibernateable websockets too - only paying for when data is actually transferring.

And the maximum worker time is based on processing time, not wall time.

chrismustcode • yesterday at 6:57 PM

Lambda Web Functions, per the article, and Vercel Fluid Compute also do this.

https://vercel.com/fluid