Skip to content

Concepts

Workers run in isolates: a V8 sandbox, with code and env frozen per deployment, hosted by one workerd child on the node. One ocd owns one data-dir and one workerd child. Do not start a second ocd on the same data-dir.

ts
export default {
  fetch(request: Request, env: Env, ctx: ExecutionContext): Response {
    ctx.waitUntil(Promise.resolve());
    return new Response(env.GREETING);
  },
} satisfies ExportedHandler<Env>;

env exposes only the vars, secrets, and bindings declared on the deployment. Tenants cannot access SQLite paths, S3 credentials, or another account's resources.

Compatibility

TopicCloudflareopen-compute
Isolates (not containers)Yes — How Workers worksYes
Module Workers; bindings injected as env; handlers receive request / env / ctxYesYes
Compatibility date selects runtime behaviorYes — compatibility datesYes; the date is frozen by the platform runtime lock
compatibilityDate / compatibilityFlags in project JSONYesNot allowed; current effective_compatibility_date is 2026-08-30
Global edge / colo / Smart PlacementYesNot provided
Outbound networkCloudflare hosted network policyTenant general outbound shares stock workerd's one Network(allow = ["public"]); see TCP sockets
Request-scoped CPU / subrequest quotasYesNot enforced by stock OSS workerd LimitEnforcer; live numbers on Limits

Next: Configuration, Runtime APIs.