localfirst.fm cover image

localfirst.fm

#10 – Matt Wonlaw: cr-sqlite, syncing strategies and incremental view maintenance

Jun 12, 2024
Matt Wonlaw, a local-first tool builder, discusses CRDTs, SQLite, and incremental view maintenance. Topics include software dev for submarines, event sourcing, CR SQLite, challenges of SQLite in browsers, Materialite, and data modeling for multiplayer apps.
01:03:36

Episode guests

Podcast summary created with Snipd AI

Quick takeaways

  • The challenges of maintaining reactivity in SQLite and optimizing IndexedDB integration were significant hurdles in local-first software development.
  • Efforts to optimize query result maintenance focused on efficiently updating data in response to user actions, aiming to enhance performance and user interaction.

Deep dives

Challenges in Developing Reactive Databases

In the quest to enhance local-first software, challenges arose in developing reactive databases with SQLite in the browser. Handling extensions, transactions, and updates posed significant hurdles. Issues such as transforming C code into Rust to improve performance, synchronizing transactions, and optimizing IndexedDB integration were key obstacles. Maintaining reactivity in SQLite, ruling out memory-intensive operations, and navigating transaction controls were among the complex challenges faced.

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner