Sun-Li Beatteay presented:
How do Google Docs and Github's TeleType work? How does an app achieve a real-time effect while maintaining a consistent document among all users?
These questions led a team of 3 developers, including myself, to build a decentralized, peer-to-peer, collaborative text editor of our own! In this presentation I explain the concepts and introduce the components that we used to build a collaborative editor using Conflict-Free Replicated Datatypes (CRDTs) and WebRTC.
You will learn about:
The tradeoffs between Operational Transformation and CRDTs
Merging conflicting operations using CRDTs
Guaranteeing idempotency, commutativity, and causality with Version Vectors
Maintaining and scaling connections in a distributed network
Reducing network latency and achieving a real-time feel
CRDT optimizations that reduce overhead
On this page of the site you can watch the video online Ruby Roundtable: Collaborative Text Editor with a duration of hours minute second in good quality, which was uploaded by the user RubyThursday 15 February 2018, share the link with friends and acquaintances, this video has already been watched 399 times on youtube and it was liked by 3 viewers. Enjoy your viewing!