DO Multiplexing
Two Durable Objects, both proxied through the worker via capnweb RPC. Open this page in multiple tabs to see real-time sync.
Shared Counter
Backed by SharedCounterDO · Client ↔ Worker ↔ DO
Connecting...
Reaction Board
Backed by SharedReactionBoardDO · Client ↔ Worker ↔ DO
Connecting...
Architecture
Browser
React + capnweb RPC session
↕ WebSocket /api/ws
Worker
CoreRpcRoot · holds DO root stubs
↕ hibernating WebSockets
Counter
DO
Reactions
DO