Skip to content

Behavior differences

The Durable Objects Worker / class API matches Cloudflare. Every object lives on the single local workerd.

Compatibility

TopicCloudflareopen-compute
Worker / class APIDurable Objects APISame: namespace idFromName / newUniqueId / idFromString / get / getByName, stub fetch / RPC, state.storage KV and SQL, transactions, output gate
PlacementGeographic scheduling, locationHint / jurisdiction / migrationAll objects on one local workerd; locationHint / jurisdiction / migration have no geo effect
AlarmsAvailable7 methods supported
HibernationAvailableSupported
Bindingwrangler durable_objects{ type, id, className }; className required
Fetcher.connect()General outboundDeclared capability tunnel

See Compatibility.