3 ms·
It's "serverless", so - if you have infrequent access patterns you don't pay for the time it isn't used; and - if you have huge bursts (say your AI project ge
by wongarsu 3y ago
It's "serverless", so
- if you have infrequent access patterns you don't pay for the time it isn't used; and
- if you have huge bursts (say your AI project gets on the homepage of hacker news) capacity automatically scales with demand.
In return each compute-second costs more than a normal vps, so there is some threshold where doing it yourself is more cost effective.
The benefit of "edge" here is imho that it works together with other cloudflare "edge" stuff. Not hugely useful for OCR, but imagine your blog on Cloudflare Pages has a contact form (with a CF Pages Function) and you want an AI spam filter; or bot detection that is updated each time a page is visited, or in the auth function you have offloaded to a CF Worker; or if you want to enhance your email-triggered worker with AI.