126: James Long - Building Distributed Local-First JavaScript Applications - podcast episode cover

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

Oct 23, 20191 hr 1 minEp. 126
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

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:

Links:

For the best experience, listen in Metacast app for iOS or Android
Open in Metacast
126: James Long - Building Distributed Local-First JavaScript Applications | Full Stack Radio podcast - Listen or read transcript on Metacast