# CRDTs and the BEAM -Kevin Barrett and Sloane Perrault| Code BEAM America 2025

**URL:** <https://erlangforums.com/t/crdts-and-the-beam-kevin-barrett-and-sloane-perrault-code-beam-america-2025/5355>\
**Category:** Talks\
**Tags:** code-sync, code\
**Created:** [January 2, 2026, 2:00pm UTC](https://erlangforums.com/t/crdts-and-the-beam-kevin-barrett-and-sloane-perrault-code-beam-america-2025/5355 "2026-01-02T14:00:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CodeSync](https://erlangforums.com/user_avatar/erlangforums.com/codesync/32/1204_2.png) [@CodeSync](https://erlangforums.com/u/CodeSync)\
**Post date:** [January 2, 2026, 2:00pm UTC](https://erlangforums.com/t/crdts-and-the-beam-kevin-barrett-and-sloane-perrault-code-beam-america-2025/5355/1 "2026-01-02T14:00:03Z")

</div>

CRDTs and the BEAM -Kevin Barrett and Sloane Perrault| Code BEAM America 2025

[![](https://img.youtube.com/vi/16mktow5HTc/maxresdefault.jpg "CRDTs and the BEAM -Kevin Barrett and Sloane Perrault| Code BEAM America 2025") ](https://www.youtube.com/watch?v=16mktow5HTc)

> [@](#):
>
> ✨ This talk was recorded at Code BEAM America in March 2025. If you’re curious about our upcoming event, check [https://codebebeamamerica.com](https://codebebeamamerica.com)✨
> 
> Conflict-free Replicated Datatypes (CRDTs) allow for distributed, p2p-style workflows where users generate data without conflicts. At screen.garden we wrap Yjs, a CRDT, inside a NIF to push business logic down into clients. This pairs surprisingly well with the BEAM, as we can manage those CRDTs inside stateful processes to turn a fundamentally imperative data structure into a functional one. Adding Phoenix for pubsub and LiveView, we use this architecture to create screen.garden, a collaboration and sync platform for Obsidian. All of this allows for fine-grained sync between a server and many devices, without conflicts and without fear of downtime.

_Comments welcome! View the #code-sync tag for more Code Sync talks!_
