Dynamic apps · Worker Loader + Durable Object facets

Code loaded at runtime, running as a Durable Object

Each app below is a plain class App extends DurableObject, published as code. No deploy is involved. Pick where it runs. It's the same code and the same API, with a different trade-off in cost, isolation and durability.

Requests

Send a request to wake the object.

WebSocket

closed

Source

Publishing swaps the code of every running object of this app on its next request. Data is kept, and open sockets close with 1012 and reconnect to the new code.