gritzko / swarm

JavaScript replicated model (M of MVC) library
http://swarmdb.net/
MIT License
2.68k stars 97 forks source link

Is crdt really a good fit for collaborative text editing? #74

Closed coodoo closed 8 years ago

coodoo commented 8 years ago

Been playing with various CRDT solutions to implement collaborative text editing which is real-time and offline-ready and I started to wonder since CRDT tends to be memory and disk storage heavy, will there eventually be performance issue after a long editing session (meaning oplog piling up, long syncing and replay time...etc)? Thanks!

gritzko commented 8 years ago

It is a perfect fit. All those efficiency issues are solvable. A sophisticated implementation does not need the entire op log, compresses its metadata, etc. Unfortunately, I am not aware of any open-source implementation that is sophisticated enough. I may produce one eventually.

coodoo commented 8 years ago

Very looking forward to see such a sophisticated implementation, which will definitely be a killer demo!