126: James Long - Building Distributed Local-First JavaScript Applications | Full Stack Radio | Episode 126
Adam Wathan
·
2019-10-23
·
via Full Stack Radio
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.
Show Notes
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:
What is Full Stack Radio?
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.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。