Peer-to-peer Collaborative Editing Using Yjs & WebRTC- Tag1 Team Talk #007

WebRTC, a protocol that facilitates peer-to-peer communication between two clients via the browser, is now supported by all modern browsers. Since its introduction it has mainly been used for web conferencing solutions, but WebRTC is ideal for a variety of other use cases as well. Because of its wide platform support, creating peer-to-peer applications for the web is now more straightforward than ever. But how do you manage many people working together at the same time on the same data? After all, conflict resolution for peer-to-peer applications remains a challenging problem. Fortunately, with Yjs, an open-source framework for real-time collaboration, developers can now combine WebRTC and Yjs to open the floodgates to a range of future-ready collaborative use cases.Thanks to WebRTC and Yjs, anyone can build collaborative editing into their web application, and this includes more than just text — Yjs enables collaborative drawing, drafting, and other innovative use cases. The advantage of such a peer-to-peer model (in lieu of a client–server model) in the CMS world is that collaborative editing can be added to any editorial interface without significant overhead or a central server handling conflict resolution. By integrating with y-webrtc, the Yjs connector for WebRTC, CMS communities can easily implement collaborative editing and make it natively available to all users, whether on shared hosting or in the enterprise. The future of Drupal, WordPress, and other CMSs is collaborative, and, together, WebRTC and Yjs enable collaborative editing out of the box.In this deep dive into how Yjs enables peer-to-peer collaboration, join Kevin Jahns (Real-Time Collaboration Systems Lead at Tag1 and creator of Yjs), Fabian Franz (Senior Technical Architect and Performance Lead at Tag1), Michael Meyers (Managing Editor at Tag1), and Preston So (Editor in Chief at Tag1 and author of Decoupled Drupal in Practice) for a closer look at how you too can build peer-to-peer collaboration into your decentralized application.

Om Podcasten

From global technology consulting firm Tag1 Consulting, Tag1 Team Talks are wide-ranging, in-depth conversations about implementing various open-source technologies, including the business prerogatives and technical ins and outs with leading web developers and technologists. Join us as we explore trends in open source. About Tag1 At Tag1, we are redefining the boundaries of digital possibilities. As a leading name in the industry, we are committed to delivering innovative and tailored solutions that meet your specific needs. Our strength lies in our team. We boast a roster of highly skilled professionals, many of whom are principal architects and maintainers of crucial Drupal projects and core initiatives. Their wealth of experience and unique insights drive our success. Our expertise at Tag1 is both broad and deep. We specialize in Enterprise-Scale Web Applications, CMS solutions, Drupal Upgrades and Migrations, and Full Digital Transformations. We also excel in Integrations and Custom Development, ensuring our solutions align with your business objectives. In Infrastructure and Scalability Architecture, we design systems ready to meet current needs and scale with future growth. Our capabilities are diverse, proven, and reliable. Security at Tag1 is a fundamental aspect, not an afterthought. We prioritize safeguarding your digital assets in every solution we deliver. We proudly partner with industry leaders, including Global 500s (Google, Sumitomo), Fortune 500s (Symantec, Albemarle), system integrators (NTT, Capgemini), government agencies (the White House, the European Union), media companies (NY Times, Al Jazeera), educational institutions (Stanford, Smithsonian Institute), not-for-profits (AFL-CIO, ACLU), and more.