Deploy your own Durable Objects
Your app can now use Durable Objects of its own on Arkor. Keep a shared counter, coordinate access to a resource or store per-user state in a named object, with SQLite-backed storage that persists across deployments.
In Bindings, add a Durable Object namespace and enter your source module's path and named
class export. Arkor builds and publishes the class with your next deployment. Your Next.js app
can get a named object through durableObject('COUNTERS') from @stayingupwind/sdk, then call it
over HTTP or use typed RPC methods.
Branch previews receive separate namespaces and data. You can test a class change in a preview without modifying production objects.
A namespace keeps its identity and data across deployments. All retained deployments in an environment use its latest published class, so keep that class compatible with existing data and older callers; rolling back the app does not restore an older Durable Object class.
See Durable Objects for registration and examples.