Skip to content. | Skip to navigation

Informatik 5
Information Systems
Prof. Dr. M. Jarke
Personal tools
You are here: Home Publications Yjs: A Framework for Near Real-Time P2P Shared Editing on Arbitrary Data Types


Prof. Dr. M. Jarke
RWTH Aachen
Informatik 5
Ahornstr. 55
D-52056 Aachen
Tel +49/241/8021501
Fax +49/241/8022321

How to find us

Annual Reports





Yjs: A Framework for Near Real-Time P2P Shared Editing on Arbitrary Data Types

Year 2015
PDF URL view

Near real-time shared editing of documents in the Web browser has become popular for many applications like text writing, drawing, sketching and others. These applications require protocols for exchanging messages among user agents and for resolving editing conflicts. The available frameworks mostly rely on operational transformation approaches and often expose drawbacks like failing to scale, restriction to linear data structures and client-server architectures. In this paper we present Yjs, a lightweight open-source JavaScript framework that can be used for collaborative editing of arbitrary data types in peer-to-peer settings. The framework is based on a new operational transformation-like approach and supports communication protocols like XMPP and WebRTC. From an engineering perspective Yjs is easy to integrate into Web applications. Evaluations show that it has a favorable runtime complexity.


Proceedings of the 15th International Conference on Web Engineering (ICWE 2015), Rotterdam, The Netherlands, June 23-26, 2015 (Best Demo & Best Poster Award)

Presented at

ICWE 2015, 2015 , Rotterdam , NL.

Published in

Engineering the Web in the Big Data Era , by Philipp Cimiano, Flavius Frasincar, Geert-Jan Houben, Daniel Schwabe , p. 675-678 ; Springer International Publishing .

Document Actions