Offline should be the norm: building local-first apps with CRDTs & Kotlin Multiplatform
summary
Argues that offline should be the norm and proves it with a working Kotlin Multiplatform app that shares a sync core across Android iOS and Web, using a Ktor server for demos, CRDTs converge by construction, and a concrete stack: OR-Set + LWW register + delta buffer for merges and tombstone pruning. Shows the shopping list demo where concurrent edits merge without manual conflict, discusses vector clocks pruning and UI glitch mitigation, and reports the approach works end to end.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 3:55Local-first app example
- 8:09Offline-first principles
- 12:19Sync strategies
- 17:58Offline reads and writes
- 20:52Conflict resolution with CRDTs
- 23:19CRDT mathematics
- 31:30Kotlin Multiplatform CRDTs
- 36:29Delta sync demo
- 38:59CRDT challenges
- 40:24Why offline should be the norm
- 41:34Q&A
related talks
39mBuilding a real-time collaboration tool using CRDTs and Kotlin Multiplatform
23mBuilding Offline and Real-Time Applications - The Magic of CRDTs
46mExploring the Kotlin Multiplatform Ecosystem
41mKotlin for the JVM and beyond
48mEffective Multiplatform Kotlin Development
23mKotlin Multiplatform Mobile in production: key takeaways from developing two cross-platform apps
42mEmbracing the Future in a Multiplatform World: A Kotlin Story
27mAn Android Dev start to Kotlin Multiplatform
