Hosting glossaryCloudflare Workers run code on Cloudflare's global network, close to visitors, in lightweight V8 isolates instead of servers or containers.
Cloudflare Workers is a serverless platform that runs your code on Cloudflare's network, in data centers around the world, rather than on one server. A request is handled in the data center that receives it, close to the visitor.
How it works
Workers run JavaScript, TypeScript, and WebAssembly on the V8 engine, the same engine as Chrome and Node.js. Each Worker runs in a V8 isolate, not a container or virtual machine, so it starts in milliseconds and uses little memory. There is no server to manage or scale.
A Worker can serve a whole site, including its static files, and connect to storage through bindings: D1 for SQL, R2 for files, and KV for key-value data. Astro sites and EmDash run on Workers; see deploying Astro to Cloudflare Workers.
Source: Cloudflare docs: How Workers works.