Gitbook Real‑Time Collaboration WebSocket and Publishing API Latency Under Concurrent Edits
Gitbook’s real‑time collaboration feature relies on a WebSocket server that queues edit messages, while the publishing API depends on the underlying database transaction log for snapshot creation. The goal is to quantify how simultaneous edit load affects the latency experienced by participants and the API response time. Uncertainty remains whether the laten