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.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode