Interactive Document Editing and Distributed Synchronization Using Azure Cosmos and WebSockets

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.

Authors

Publication Details

Journal
International Journal of Advanced Research in Science Communication and Technology
Published
2024-08-30
DOI
https://doi.org/10.48175/ijarsct-19393
Primary Topic
Multimedia Communication and Technology
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Interactive Document Editing and Distributed Synchronization Using Azure Cosmos and WebSockets

Sri Rama Chandra Charan Teja Tadi
International Journal of Advanced Research in Science Communication and Technology
Multimedia Communication and Technology
article

Interactive Document Editing and Distributed Synchronization Using Azure Cosmos and WebSockets

Sri Rama Chandra Charan Teja Tadi
article en

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.

International Journal of Advanced Research in Science Communication and Technology
Openalex Percentile: Top 54%
Multimedia Communication and Technology
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.