Cloudflare explained in this announcement that Workers' ability to run code at the edge was previously only available to its own staff.
JS code at the network edge. Oh, you're still here and not running, screaming? Read onREAD MORE
In this blog post, tech lead Kenton Varda offered a bit more detail about what users can do with Cloudflare Workers.
The company's big pitch is that with 127 data centres worldwide, most users are only a handful of milliseconds away from where their code can execute.
When users deploy a Worker, Varda explained in the blog post, it will make its way through Cloudflare's edge network in “less than 30 seconds”.
“Each request for your domain will be handled by your Worker at a Cloudflare location close to the end user”, Varda continued – but a customer's sysadmins don't have to do the hard work building that kind of distributed network.
Multiple requests can be handled in serial or parallel, an asynchronous request feature helps with logging and analytics, and Workers can “control other Cloudflare features, such as caching behaviour”, the blog post continued.
Workers cost US$0.50 per million requests with a minimum of $5 a month that bundles the first ten million requests. ®