More Software Engineering Radio episodes

Martin Kleppmann Local-First Software thumbnail

Martin Kleppmann Local-First Software

Published 15 Apr 2026

Duration: 55:14

Local First Software combines local data storage with cloud collaboration to enable offline access, real-time editing, and seamless syncing via AutoMerge and CRDTs, prioritizing user control, privacy, and decentralized workflows with future focus on open standards and AI integration.

Episode Description

Martin Kleppmann, Associate Professor at the University of Cambridge and author of the best-selling O'Reilly book Designing Data-Intensive Application...

Overview

Local First Software is an approach that merges the advantages of traditional local-only data storage with cloud-based collaboration features. This model emphasizes offline functionality, allowing users to edit data without an internet connection while automatically syncing changes when connectivity is restored. Real-time collaboration is enabled through local data storage, ensuring users maintain control over their data, while eliminating network latency for faster performance. The architecture simplifies development by abstracting backend complexity, enabling smaller teams to build end-to-end applications without specialized backend or frontend expertise. Long-term goals focus on open, interoperable standards to reduce vendor lock-in and decouple frontend development from backend dependencies. Key challenges include resolving conflicts during data synchronization using tools like AutoMerge, which employs CRDTs (Conflict-Free Replicated Data Types) to manage concurrent edits, and balancing user control over local data with the convenience of cloud features.

The technology underpinning Local First Software relies on sync engines that manage data replication between local devices and cloud servers or peer-to-peer networks. These engines use JSON-based data models, enabling compatibility with modern frameworks while supporting version control and conflict resolution. Applications like Linnea and tools inspired by Google Docs or WhatsApp demonstrate its practical use, prioritizing instant responsiveness for tasks requiring real-time feedback. However, the model faces limitations in domains requiring strict data consistency, such as financial systems, and challenges in implementing robust local search and backup mechanisms. Additionally, the approach advocates for decentralized access control via systems like Keyhive, using cryptographic keys to secure data without relying on centralized servers. While Local First Software offers benefits like privacy, speed, and data resilience, it also raises concerns about potential risks of cloud dependency, legal/geopolitical issues, and the need for developers to adopt new paradigms in synchronization and conflict management.

Recent Episodes of Software Engineering Radio

15 Jul 2026 Garth Mollett on AI Supply Chain Security

"Explores AI supply chain security challenges, including probabilistic outputs, data poisoning, and emerging threats, while emphasizing structured measures like model signing and isolation to mitigate risks."

8 Jul 2026 Clare Liguori on AWS Strands SDK for AI Agents

This text outlines AI agents' core components (models, tools, prompts), their evolution via the Strands SDK from early reliability challenges to simplified model-driven approaches, and their application in automating business workflows with technical considerations like tool integration, validation mechanisms, and challenges in context management, alongside tools and future trends in agent design.

2 Jul 2026 Jeroen Janssens and Thijs Nieuwdorp on Using Polars

The *polars* library offers a high-performance, multi-language (Python, R, Node.js) data frame tool leveraging Rust, columnar storage, out-of-core processing, and GPU acceleration for fast data manipulation, optimized for large datasets and scalable data engineering workflows.

24 Jun 2026 Scott Kingsley on the Swagger Ecosystem

The Swagger/OpenAPI ecosystem, including tools like Swagger Editor, UI, and Codegen, along with commercial offerings and contract testing, supports cross-functional API development, evolves from Swagger 1.0/2.0 to OpenAPI under the Linux Foundation, emphasizes language-agnostic JSON/YAML specs, HTTP-centric design, modernization of legacy APIs, balances open-source and commercial tooling, explores JSON/YAML trade-offs, FastAPI integration, contract-first/code-first approaches, AI-driven spec generation, security practices, tooling challenges, governance, linting, mocking, CI/CD validation, and emerging AI-enhanced API trends.

10 Jun 2026 Jure Leskovec on Relational Graph and Foundational Models

Predictive modeling faces challenges with AI's limitations in structured data, prompting solutions like graph databases and relational deep learning with attention mechanisms to enhance accuracy, scalability, and real-time updates for enterprise applications.

More Software Engineering Radio episodes