{"embed":false,"podcast":"Full Stack Radio","podcast_slug":"Full-Stack-Radio","tags":[],"thumbnail_url":"https://images.transistor.fm/file/transistor/images/show/13470/full_1597943814-artwork.jpg","episode":"126: James Long - Building Distributed Local-First JavaScript Applications","episode_slug":"Full-Stack-Radio-126-James-Long-Building-Distributed-Local-First-JavaScript-Applications","description":"Topics include:\nHow do you keep data synchronized between two different clients when all of the data is stored locally instead of in the cloud?\nUnderstanding conflict-free replicated data types and how they help when building distributed applications\nDiving deep into how messages are replayed across clients when network access becomes available to achieve consistent state\nUsing a Merkle tree to efficiently compare the message store from two clients to know which messages need to be synchronized\nConsiderations you need to make when structuring your data to enable eventual consistency\nWhat it might look like to move an app like Actual to an offline-first web app where you can't use things like SQLite\nSponsors:\n\nDigitalOcean, get your free $50 credit at do.co/fullstack\n\n\nCloudinary, sign up and get 300,000 images/videos, 10GB of storage and 20GB of monthly bandwidth for free\nLinks:\nActual\nElectron\nConflict-free replicated data type (CRDT)\nHybrid logical clock\nMerkle tree\n","release_date":"23 Oct 2019","episode_embed_code":"<iframe src=\"https://api.pastimeapp.com/embed/Full-Stack-Radio-126-James-Long-Building-Distributed-Local-First-JavaScript-Applications\" height=\"170px\" width=\"100%\" style=\"width: 1px; min-width: 100%; border: 1px dashed rgba(0,0,0,0.1); border-radius: 10px\" frameborder=\"0\" scrolling=\"no\" loading=\"lazy\"></iframe>","episode_share_url":"https://api.pastimeapp.com/ep/Full-Stack-Radio-126-James-Long-Building-Distributed-Local-First-JavaScript-Applications","podcast_share_url":"https://api.pastimeapp.com/pod/Full-Stack-Radio","audio_url":"https://media.transistor.fm/9b561aaa/63fa37ad.mp3","ads":[],"meta":{"title":"Full Stack Radio: 126: James Long - Building Distributed Local-First JavaScript Applications","description":"From Full Stack Radio. Topics include:\nHow do you keep data synchronized between two different clients when all of the data is stored locally instead of in the cloud?\nUnderstanding conflict-free replicated data types and how they help when building distributed applications\nDiving deep into how messages are replayed across clients when network access becomes available to achieve consistent state\nUsing a Merkle tree to efficiently compare the message store from two clients to know which messages need to be synchronized\nConsiderations you need to make when structuring your data to enable eventual consistency\nWhat it might look like to move an app like Actual to an offline-first web app where you can't use things like SQLite\nSponsors:\n\nDigitalOcean, get your free $50 credit at do.co/fullstack\n\n\nCloudinary, sign up and get 300,000 images/videos, 10GB of storage and 20GB of monthly bandwidth for free\nLinks:\nActual\nElectron\nConflict-free replicated data type (CRDT)\nHybrid logical clock\nMerkle tree\n","image":"https://images.transistor.fm/file/transistor/images/show/13470/full_1597943814-artwork.jpg","twitter":{"card_type":"summary"}},"episode_data":{"id":645842851,"guid":"5bb29db8-605b-432d-9892-5d57b0cd7df0","slug":"Full-Stack-Radio-126-James-Long-Building-Distributed-Local-First-JavaScript-Applications","title":"126: James Long - Building Distributed Local-First JavaScript Applications","alias":null,"description":"Topics include:\nHow do you keep data synchronized between two different clients when all of the data is stored locally instead of in the cloud?\nUnderstanding conflict-free replicated data types and how they help when building distributed applications\nDiving deep into how messages are replayed across clients when network access becomes available to achieve consistent state\nUsing a Merkle tree to efficiently compare the message store from two clients to know which messages need to be synchronized\nConsiderations you need to make when structuring your data to enable eventual consistency\nWhat it might look like to move an app like Actual to an offline-first web app where you can't use things like SQLite\nSponsors:\n\nDigitalOcean, get your free $50 credit at do.co/fullstack\n\n\nCloudinary, sign up and get 300,000 images/videos, 10GB of storage and 20GB of monthly bandwidth for free\nLinks:\nActual\nElectron\nConflict-free replicated data type (CRDT)\nHybrid logical clock\nMerkle tree\n","transcript":null,"deepgram":null,"categories":"[\"Technology\"]","duration":3675,"episode_number":null,"season":null,"episode_type":null,"release_date":"2019-10-23T14:10:00.000Z","audio_url":"https://media.transistor.fm/9b561aaa/63fa37ad.mp3","image_url":null,"player_url":"/ep/Full-Stack-Radio-126-James-Long-Building-Distributed-Local-First-JavaScript-Applications","valid":true,"accessTier":null,"created":null,"updated":"2023-08-15T08:59:26.214Z","podcastId":394,"podcast":{"id":394,"slug":"Full-Stack-Radio","name":"Full Stack Radio","alias":null,"network":null,"author":"Adam Wathan","rss_url":"https://simplecast.com/podcasts/279/rss","description":"A podcast for developers interested in building great software products. Every episode, Adam Wathan is joined by a guest to talk about everything from product design and user experience to unit testing and system administration.","categories":"[\"Technology\"]","itunes_type":null,"itunesTypeSource":null,"image_url":"https://images.transistor.fm/file/transistor/images/show/13470/full_1597943814-artwork.jpg","thumbnail_url":"https://images.transistor.fm/file/transistor/images/show/13470/full_1597943814-artwork.jpg","error":true,"errorSince":null,"errorReason":null,"feedChangedAt":null,"tagsEditedAt":null,"hiddenAt":null,"hiddenReason":null,"endedAt":null,"popularity":0,"language":null,"country":null,"countrySource":null,"created":"2016-09-14T09:23:52.106Z","updated":"2026-07-02T23:02:48.634Z","tags":[]},"captions":[]},"podcast_data":{"id":394,"slug":"Full-Stack-Radio","name":"Full Stack Radio","alias":null,"network":null,"author":"Adam Wathan","rss_url":"https://simplecast.com/podcasts/279/rss","description":"A podcast for developers interested in building great software products. Every episode, Adam Wathan is joined by a guest to talk about everything from product design and user experience to unit testing and system administration.","categories":"[\"Technology\"]","itunes_type":null,"itunesTypeSource":null,"image_url":"https://images.transistor.fm/file/transistor/images/show/13470/full_1597943814-artwork.jpg","thumbnail_url":"https://images.transistor.fm/file/transistor/images/show/13470/full_1597943814-artwork.jpg","error":true,"errorSince":null,"errorReason":null,"feedChangedAt":null,"tagsEditedAt":null,"hiddenAt":null,"hiddenReason":null,"endedAt":null,"popularity":0,"language":null,"country":null,"countrySource":null,"created":"2016-09-14T09:23:52.106Z","updated":"2026-07-02T23:02:48.634Z","tags":[]}}