Cloudflare
Service
Service
I. Workers
- A serverless platform for running JavaScript, TypeScript directly on Cloudflare's global edge network (in 330+ cities worldwide).
- Code runs in lightweight V8 isolates (tiny, isolated sandboxes based on Chrome's V8 engine) — extremely fast startup (often
<5–10ms cold starts), low latency, and automatic scaling. - Handle HTTP requests, build APIs, rewrite responses, add logic at the edge (e.g., authentication, routing, caching), serve frontends, or act as middleware/entrypoints.
II. Containers & Sandboxes
- All Containers on Cloudflare are deployed with and accessed via Workers.
- Container instances are launched on-demand in response to requests from a Worker, and can be put to sleep after a configurable timeout.