Interactive Document Editing and Distributed Synchronization Using Azure Cosmos and WebSockets
Year: 2024
Type: article
Abstract: As interactive (collaborative) work transitions to real-time multi-user environments, the underlying infrastructure handling the interactions must also evolve in parallel. This architecture blends WebSocket-based streaming with Azure Cosmos DB's distributed consistency model to synchronize document states across clients at low latency. Edits are encoded as deltas, which are captured through the database's change feed and dispatched using stateless Azure Functions. Operational transforms resolve concurrent edit conflicts to maintain intent across overlapping user activity. Document histories are managed through snapshot intervals and temporal indexing, while security is enforced through stream-level isolation and scoped authentication. The result is a robust event-driven foundation for large-scale, interactive editing.
Language: English
Subfield: Computer Networks and Communications
Field: Computer Science
Domain: Physical Sciences
Open Access status: diamond
OpenAlex ID: W4409107273
