Full Stack Radio

126: James Long - Building Distributed Local-First JavaScript Applications


Listen Later

Topics include:

  • How do you keep data synchronized between two different clients when all of the data is stored locally instead of in the cloud?
  • Understanding conflict-free replicated data types and how they help when building distributed applications
  • Diving deep into how messages are replayed across clients when network access becomes available to achieve consistent state
  • Using a Merkle tree to efficiently compare the message store from two clients to know which messages need to be synchronized
  • Considerations you need to make when structuring your data to enable eventual consistency
  • What it might look like to move an app like Actual to an offline-first web app where you can't use things like SQLite

Sponsors:

  • DigitalOcean, get your free $50 credit at do.co/fullstack
  • Cloudinary, sign up and get 300,000 images/videos, 10GB of storage and 20GB of monthly bandwidth for free

Links:

  • Actual
  • Electron
  • Conflict-free replicated data type (CRDT)
  • Hybrid logical clock
  • Merkle tree
...more
View all episodesView all episodes
Download on the App Store

Full Stack RadioBy Adam Wathan

  • 4.7
  • 4.7
  • 4.7
  • 4.7
  • 4.7

4.7

179 ratings


More shows like Full Stack Radio

View all
BeardyCast: гаджеты и медиакультура by 🧢 Kepka Production

BeardyCast: гаджеты и медиакультура

122 Listeners

The Stories of Mahabharata by Sudipta Bhawmik

The Stories of Mahabharata

872 Listeners

CodeNewbie by CodeNewbie

CodeNewbie

574 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

621 Listeners

The Jordan B. Peterson Podcast by Dr. Jordan B. Peterson

The Jordan B. Peterson Podcast

34,045 Listeners

Up First from NPR by NPR

Up First from NPR

56,180 Listeners

Honestly with Bari Weiss by The Free Press

Honestly with Bari Weiss

8,695 Listeners

The Rest Is Classified by Goalhanger

The Rest Is Classified

969 Listeners