Differentially Processed Optimized Collaborative Rich Text Editor

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Jatana, Nishtha, Singh, Mansehej, Gupta, Charu, Dhand, Geetika, Malik, Shaily, Dadheech, Pankaj, Aneja, Nagender, Aneja, Sandhya
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916310554771456
author Jatana, Nishtha
Singh, Mansehej
Gupta, Charu
Dhand, Geetika
Malik, Shaily
Dadheech, Pankaj
Aneja, Nagender
Aneja, Sandhya
author_facet Jatana, Nishtha
Singh, Mansehej
Gupta, Charu
Dhand, Geetika
Malik, Shaily
Dadheech, Pankaj
Aneja, Nagender
Aneja, Sandhya
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2407_03027
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Differentially Processed Optimized Collaborative Rich Text Editor
Jatana, Nishtha
Singh, Mansehej
Gupta, Charu
Dhand, Geetika
Malik, Shaily
Dadheech, Pankaj
Aneja, Nagender
Aneja, Sandhya
Multimedia
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.
title Differentially Processed Optimized Collaborative Rich Text Editor
topic Multimedia
url https://arxiv.org/abs/2407.03027