Back to Search Start Over

Differentially Processed Optimized Collaborative Rich Text Editor

Authors :
Jatana, Nishtha
Singh, Mansehej
Gupta, Charu
Dhand, Geetika
Malik, Shaily
Dadheech, Pankaj
Aneja, Nagender
Aneja, Sandhya
Source :
Multimedia Tools and Applications (2024)
Publication Year :
2024

Abstract

A collaborative real-time text editor is an application that allows multiple users to edit a document simultaneously and merge their contributions automatically. It can be made collaborative by implementing a conflict resolution algorithm either on the client side (in peer-to-peer collaboration) or on the server side (when using web sockets and a central server to monitor state changes). Although web sockets are ideal for real-time text editors, using multiple collaborative editors on one connection can create problems. This is because a single web connection cannot monitor which user is collaborating on which application state, leading to unnecessary network queries and data being delivered to the wrong state. To address this issue, the current solution is to open multiple web socket connections, with one web socket per collaboration application. However, this can add significant overhead proportional to the number of apps utilized. In this study, we demonstrate an algorithm that enables using a single web socket for multiple collaborative applications in a collaborative editor. Our method involves modifying the socket's code to track which application's shared state is being worked on and by whom. This allows for the simultaneous collaboration of multiple states in real-time, with infinite users, without opening a different socket for each application. Our optimized editor showed an efficiency improvement of over 96% in access time duration. This approach can be implemented in other collaborative editors and web applications with similar architecture to improve performance and eliminate issues arising from network overload.

Subjects

Subjects :
Computer Science - Multimedia

Details

Database :
arXiv
Journal :
Multimedia Tools and Applications (2024)
Publication Type :
Report
Accession number :
edsarx.2407.03027
Document Type :
Working Paper
Full Text :
https://doi.org/10.1007/s11042-024-19734-3