Building a Real-time Collaborative Editor in Phoenix
- Slides
Building a real-time collaborative experience like in Google Docs may sound daunting, but Elixir and Phoenix make it easy!
After 3 years, I was back at ElixirConf in Europe to talk
about how you can use Elixir and Phoenix’s built-in constructs along with
delta
, a library I recently open-sourced to build real-time
collaborative experiences.
This talk walks you through the building blocks including OTP, Phoenix PubSub, and Operational Transform to build your own coauthoring service. We also discuss reliability and scaling through with our real-world experiences building this in Slab.
Additional links:
- Live Demo: https://collab.slabdev.com/
- Delta Package: https://github.com/slab/delta-elixir