logoalt Hacker News

mikeocool • today at 12:26 PM • 2 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 • today 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 • today 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.