SE Radio 716: Martin Kleppmann Local-First Software
Get the full intelligence
Search transcripts, export clips, track mentions, and explore all topics from “SE Radio 716: Martin Kleppmann Local-First Software” inside PodZeus.
In this episode of Software Engineering Radio, host Adi Nadayan interviews Martin Kleppmann, associate professor at the University of Cambridge and author of the seminal book 'Designing Data-Intensive Applications'. The conversation centers on 'Local-First Software', a paradigm that combines the offline resilience and data ownership of traditional local software with the real-time collaboration features of modern cloud apps. Kleppmann explains how Local-First software stores data locally on users' devices while enabling seamless sync across devices via sync engines like AutoMerge, which uses Conflict-Free Replicated Data Types (CRDTs) to automatically resolve conflicts. He emphasizes the benefits for both users—such as instant responsiveness, offline functionality, and data sovereignty—and developers, who can simplify their stack by focusing only on the frontend, as the sync and backend logic are abstracted away. The discussion also covers real-world applications, challenges like conflict resolution and search functionality, and the growing ecosystem of tools and open-source projects like AutoMerge and Keyhive. Kleppmann highlights that Local-First is not suitable for all software—especially systems requiring a single source of truth like banking—but excels in creative, collaborative tools like note-taking apps, spreadsheets, and design software. He concludes by noting that the movement is gaining traction, driven by concerns over cloud dependency, geopolitical risks, and the rise of AI, which can be integrated into the Local-First model as another collaborator. The episode ends with practical guidance for developers wanting to get started, including resources like the LocalFirst.fm landscape and AutoMerge’s documentation. Key takeaways include: 1) Local-First software enables real-time collaboration with full offline support by keeping data on the user’s device; 2) Sync engines like AutoMerge abstract away complex distributed systems problems, simplifying development; 3) CRDTs allow automatic, conflict-free merging of edits across users; 4) The model is ideal for user-generated content apps but less suitable for systems requiring centralized control like financial software; 5) Local-First enhances privacy, resilience, and developer productivity; 6) It aligns well with AI collaboration, treating AI agents as co-editors with version control; 7) Tools like Keyhive enable decentralized access control and end-to-end encryption; 8) Developers should consider starting with Local-First by default, only moving data to the cloud when necessary.
Local-First software combines offline functionality with real-time collaboration by storing data locally while syncing across devices.
Sync engines like AutoMerge use CRDTs to automatically resolve conflicts, abstracting away complex distributed systems logic.
The model simplifies development by allowing teams to focus on the frontend, eliminating the need for dedicated backend infrastructure.
Local-First is ideal for creative and collaborative tools (e.g., notes, spreadsheets, design apps) but less suitable for systems requiring a single source of truth (e.g., banking).
It enhances user sovereignty, privacy, and resilience against cloud outages, provider lock-in, and geopolitical risks.
…and 3 more takeaways available in PodZeus
Introduction to Martin Kleppmann and Local-First Software
Host Adi Nadayan introduces Martin Kleppmann, author of 'Designing Data-Intensive Applications', and sets the stage for a deep dive into Local-First Software, a paradigm that merges the best of local-only and cloud-based collaboration.
Defining Local-First: The Best of Both Worlds
“Local First is really trying to be the best of both of those two worlds, where we have the collaboration features that we know and love from cloud software. But at the same time, the data is also stored on your own computer locally. And so therefore, it's there where nobody can take it away from you.”
Core Principles and Developer Benefits
“The nice thing with using a sync engine is that the application code is only ever interacting with this local database that's embedded on the client. ... App developers don't have to worry about it.”
Sync Engines and CRDTs: The Technical Backbone
“We combine all of the changes together and try to merge them in a way that preserves the intentions of the users as much as possible.”
AutoMerge: A Practical Implementation
The episode details AutoMerge, an open-source sync engine that uses a JSON-like data model to support real-time collaboration across apps like TLDraw, with efficient handling of fine-grained edits and full version history.
“I think the one that I care about most is not being dependent on individual providers. So I'm very worried about, say, a provider locking you out...”
“Local First is really trying to be the best of both of those two worlds, where we have the collaboration features that we know and love from cloud software. But at the same time, the data is also stored on your own computer locally. And so therefore, it's there where nobody can take it away from you.”
“I think a year ago, it would have been unthinkable, and now it's unfortunately no longer unthinkable.”
Host
Guest
Martin Kleppmann
person
AutoMerge
product
CRDTs
other
Git
product
Keyhive
product
Google Docs
product
Linear
product
TLDraw
product
Figma
product
Excalidraw
product
SE Radio 714: Costa Alexoglou on Remote Pair Programming
Software Engineering Radio - the podcast for professional software developers • 51m • 4/1/2026
SE Radio 715: Sahaj Garg on Designing for Ambiguity in Human Input
Software Engineering Radio - the podcast for professional software developers • 48m • 4/8/2026
SE Radio 717: Eric Tschetter on Decoupling Observability
Software Engineering Radio - the podcast for professional software developers • 1h 0m • 4/23/2026
SE Radio 718: Will Sentance on JS Modernization
Software Engineering Radio - the podcast for professional software developers • 58m • 4/29/2026
SE Radio 719: Birol Yildiz on Building an Agentic AI SRE
Software Engineering Radio - the podcast for professional software developers • 53m • 5/6/2026
Get the full intelligence
Search transcripts, export clips, track mentions, and explore all topics from “SE Radio 716: Martin Kleppmann Local-First Software” inside PodZeus.
Start discovering podcast insights today
Start with a 7-day trial and explore a growing catalog of popular podcasts. No credit card required.
No credit card required • 7-day trial • Cancel anytime
