EPISODE · Oct 23, 2019 · 1H 1M
126: James Long - Building Distributed Local-First JavaScript Applications
from Full Stack Radio · host Adam Wathan
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
Embed this episode
What this episode covers
In this episode, Adam talks to James Long (creator of Prettier) about building Actual, a local-first Electron application with no central database that syncs data peer-to-peer.
Ready to play
126: James Long - Building Distributed Local-First JavaScript Applications
No transcript for this episode yet
Similar Episodes
No similar episodes found.
Similar Podcasts
No similar podcasts found.