Ditch the DB Using In Memory Replicated Distributed State| William Huba | Code BEAM America 2021

Conference: Code BEAM America 2021

Year: 2021

This video was recorded at Code BEAM America 2021 - https://codesync.global/conferences/code-beam-sf-2021/ Ditch the DB Using In Memory Replicated Distributed State| William Huba - CoFounder of Jumpwire ABSTRACT 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. • Timecodes 00:00 - 03:09 - Intro 03:08 - 08:41 - Different Types of CRDTs 08:42 - 10:05 - Use Cases 10:06 - 11:57 - DeltraCrdt (The Library) 11:58 - 13:40 - Horde 13:42 - 15:05 - Merkle Tree 15:06 - 24:00 - Use Cases - Specifically 24:01 - 26:52 - Supervision Tree 26:53 - 29:52 - Future Work 29:53 - 34:03 - QnA • Follow us on social: Twitter: https://twitter.com/CodeBEAMio LinkedIn: https://www.linkedin.com/company/27159258 • Looking for a unique learning experience? Attend the next Code Sync conference near you! See what's coming up at: https://codesync.global • SUBSCRIBE TO OUR CHANNEL https://www.youtube.com/channel/UC47eUBNO8KBH_V8AfowOWOw See what's coming up at: https://codesync.global