Brian Hung
Automerge PartyServer
Automerge sync on Cloudflare, one Durable Object per room.
AutomergeServerCBOR over WebSocketrelayed as issync messagessave, loadRangeBrowser tabBrowserWebSocketClientAdapterOther browsersin the same roomWorkerWebSocketAdapterone per connection, onConnectonMessagebroadcast to the othersRepopeerId worker-<ctx.id>DurableObjectStorageAdaptersplits and joins by keyctx.storagea value per 128 KB chunkEach room gets its own Durable Object, with its own storage.