How rooms work
Operations, tickets, presence, write-back and limits of Think Collab.
One room per project
Every project has one room. A tab joins when it opens a page of the project and receives operations for the pages it has open, plus events for the whole project (tree, titles, tables).
Joining a room
- The page asks OpenThink for a ticket for the page or project it opens. The ticket is signed and valid for 2 minutes.
- The page opens a WebSocket to the room with that ticket.
- Owners can open every page; people the item is shared with can open only the pages their ticket covers.
Operations
- Each change is
{ rev, op }. The room transforms it against history afterrev, applies it and broadcasts it. - A tab keeps one operation in flight and buffers the rest until it is acknowledged.
- On reconnect, the tab merges three ways with the room's copy.
Presence
Named cursors and highlighted selections show where each person is in a page, and avatars on the sidebar show who is in which page.
Limits
| Limit | Value |
|---|---|
| Connections per room | 100 |
| Ticket lifetime | 2 minutes |
| Write-back to the database | About 1.5 seconds after the last edit |
| Live state per page and person | 16,000 characters |
| Waiting on state over MCP | 25 seconds |