What we'll doSun-Li Beatteay will present: How do Google Docs & 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 & introduce the components that we used to build a collaborative editor using Conflict-Free Replicated Datatypes (CRDTs) & WebRTC.
You will learn about:* The tradeoffs between Operational Transformation & CRDTs* Merging conflicting operations using CRDTs* Guaranteeing idempotency, commutativity, & causality with Version Vectors* Maintaining & scaling connections in a distributed network* Reducing network latency & achieving a real-time feel* CRDT optimizations that reduce overhead
There will also be a live demo that the audience can use. And by the end of the talk, they will have tools to build one themselves!
---Pizza at 6:30pm. Presentation at 7pm.
What to bring
Important to know