Talk 31:00

Ditch the DB: Using In-Memory Replicated Distributed State

When data needs to be accessible from every node on a cluster, a DB is often a necessary choice. But what if you want to avoid that extra dependency and keep everything in-memory? The library Horde utilizes a technique called delta CRDTs for distributed supervisors and registries.

In this talk you’ll learn how delta CRDTs work (using Horde as an example), how to leverage delta CRDTs for your own synchronized state, and the tradeoffs for doing so versus a traditional database.

OBJECTIVE:

Explain the concept of Delta State Replicated Data Types Detail the tradeoffs between using the DeltraCrdt library and an external database Teach how to use delta CRDTs as a building block for application state, using Horde and other custom code examples for illustration

AUDIENCE:

Experienced software engineers who have at least some Elixir experience and work with (or are interested in) the distributed properties of the BEAM.