Differentially processed optimized collaborative rich text editor

Published in Multimedia Tools and Applications, 2024

Recommended citation: Nishtha Jatana, Mansehej Singh, Charu Gupta, Geetika Dhand, Shaily Malik, Pankaj Dadheech, Nagender Aneja, Sandhya Aneja "Differentially processed optimized collaborative rich text editor." Multimedia Tools and Applications, 2024. pp. 1--16 https://link.springer.com/content/pdf/10.1007/s11042-024-19734-3.pdf

Differentially-processed-optimized-collaborative-rich-text-editor

Differentially-processed-optimized-collaborative-rich-text-editor

(Journal Publication)

Access paper here

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 confict resolution algorithm either on the client side (in peerto-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 signifcant 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 infnite users, without opening a diferent socket for each application. Our optimized editor showed an efciency 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.

Recommended citation: ‘Nishtha Jatana, Mansehej Singh, Charu Gupta, Geetika Dhand, Shaily Malik, Pankaj Dadheech, Nagender Aneja, Sandhya Aneja "Differentially processed optimized collaborative rich text editor." Multimedia Tools and Applications, 2024. pp. 1–16’