z-logo
Premium
A scalable sequence encoding for collaborative editing
Author(s) -
Nédelec Brice,
Molli Pascal,
Mostéfaoui Achour
Publication year - 2017
Publication title -
concurrency and computation: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.309
H-Index - 67
eISSN - 1532-0634
pISSN - 1532-0626
DOI - 10.1002/cpe.4108
Subject(s) - scalability , computer science , sequence (biology) , encoding (memory) , cloud computing , communication complexity , space (punctuation) , distributed computing , theoretical computer science , artificial intelligence , database , operating system , genetics , biology
Summary Distributed real‐time editors made real‐time editing easy for millions of users. However, main stream editors rely on Cloud services to mediate sessions raising privacy and scalability issues. Decentralized editors tackle privacy issues, but scalability issues remain. We aim to build a decentralized editor that allows real‐time editing anytime, anywhere, whatever is the number of participants. In this study, we propose an approach based on a massively replicated sequence data structure that represents the shared document. We establish an original trade‐off on communication, time, and space complexity to maintain this sequence over a network of browsers. We prove a sublinear upper bound on communication complexity while preserving an affordable time and space complexity. To validate this trade‐off, we built a full working editor and measured its performance on large‐scale experiments involving up till 600 participants. As expected, the results show a traffic increasing as O ( ( l o g I ) 2 ln R ) where I is the number of insertions in the document, and R the number of participants.

This content is not available in your region!

Continue researching here.

Having issues? You can contact us here