---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?tag=local-first"
---

# Posts

Filtered by topics: Local-first & sync.

Posts 1–24 of 31, page 1 of 2, newest first.

## 2026-11-25

- [One Postgres, a database per user, or both?](https://swe.quest/articles/one-postgres-a-database-per-user-or-both-3df8849f282fa457.md): Turso · 2026-11-25 · Easy · 10 min read · Multi-tenancy, Local-first & sync, System design, SQLite, PostgreSQL
  Choosing between one Postgres database, a Turso database per user, or both comes down to where data must live, who owns it, and how many features need to read across users.

## 2026-11-16

- [Turso Sync: Local-First SQLite with Push and Pull](https://swe.quest/articles/turso-sync-local-first-sqlite-with-push-and-pull-8967f9053b2dc6bc.md): Turso · 2026-11-16 · Medium · 10 min read · Local-first & sync, SQLite, Replication, Event-driven architecture, Performance engineering
  Turso Sync replaces libSQL's page-based Embedded Replicas with logical row-level changes captured via CDC in Turso Database, a Rust rewrite of SQLite, so reads and writes stay local and apps call push() and pull() explicitly.

## 2026-11-12

- [Local Analytics Doesn’t Need a Database Server](https://swe.quest/articles/local-analytics-doesn-t-need-a-database-server-3fa900323ef7de2e.md): DuckDB · 2026-11-12 · Medium · 6 min read · Analytics & OLAP, Local-first & sync, Maps & geospatial, WebAssembly, Frontend
  SQLRooms, an open-source React toolkit extracted from Flowmap City, builds analytics apps on DuckDB running in the browser via WebAssembly or embedded in desktop apps, so no remote database server is needed.

## 2026-11-03

- [Does your application need local data or faster Postgres?](https://swe.quest/articles/does-your-application-need-local-data-or-faster-postgres-dc8690cbad1e3fc9.md): ClickHouse · 2026-11-03 · Easy · 9 min read · PostgreSQL, Local-first & sync, System design, Replication, AI agents
  Before adding a sync engine or local data copy to speed up an application, check whether the real bottleneck is network-attached storage under managed Postgres.

## 2026-10-07

- [Toasty now fully supports Turso](https://swe.quest/articles/toasty-now-fully-supports-turso-b9805f71f7e75171.md): Turso · 2026-10-07 · Medium · 5 min read · Rust, SQLite, Local-first & sync, Serverless, Databases
  Toasty, the async Rust ORM from Tokio's creator, now supports Turso in three modes behind one API: local files with optional concurrent writes (transactions automatically wrapped in BEGIN CONCURRENT), a serverless remote mode over HTTP with URL and auth token, and local-first sync with explicit pull/push calls.

## 2026-09-01

- [Xanadu Was Waiting for Agents](https://swe.quest/articles/xanadu-was-waiting-for-agents-d8ee9682901d8286.md): Zed · 2026-09-01 · Easy · 6 min read · Version control, AI agents, Local-first & sync, Developer tools
  Ted Nelson's Project Xanadu specified permanent versioning, span-level attribution and transclusion decades before its dependencies existed.

## 2026-08-18

- [Rebuilding Linear’s delta sync read path](https://swe.quest/articles/rebuilding-linear-s-delta-sync-read-path-c44713dd7fac387a.md): Linear · 2026-08-18 · Medium · 7 min read · Local-first & sync, PostgreSQL, Search, Event-driven architecture, Performance engineering
  Linear moved its delta sync read path, which lets reconnecting local-first clients fetch only changes since their last checkpoint, from a Postgres table to turbopuffer inverted indexes.

## 2026-07-27

- [Building Local-First Apps: The Complete Guide to Offline-First Database Sync](https://swe.quest/articles/building-local-first-apps-the-complete-guide-to-offline-first-database-sync-047687e423c4421f.md): Turso · 2026-07-27 · Medium · 9 min read · Local-first & sync, SQLite, Replication, Consistency models, TypeScript
  Turso Sync brings local-first behaviour to SQLite-based apps.

## 2026-07-20

- [Building AI Agent Databases: A Complete Guide to Database-per-Agent Architecture](https://swe.quest/articles/building-ai-agent-databases-a-complete-guide-to-database-per-agent-architecture-e621ee857e5a5f4f.md): Turso · 2026-07-20 · Medium · 7 min read · Multi-tenancy, AI agents, SQLite, Local-first & sync, Vector search
  Giving each AI agent its own SQLite-style database, instead of sharing tables keyed by tenant\_id or using schema-per-tenant, makes isolation, debugging and cleanup trivial: deleting an agent is a single API call.

## 2026-05-14

- [From latency to instant: Modernizing GitHub Issues navigation performance](https://swe.quest/articles/from-latency-to-instant-modernizing-github-issues-navigation-performance-d76fe4f2daa6064a.md): GitHub Engineering · 2026-05-14 · Medium · 13 min read · Web performance, Caching, Frontend, Local-first & sync, Browsers
  GitHub made Issues navigation feel instant by moving to a local-first, stale-while-revalidate model: render issue pages from client-side data first, then revalidate in the background.

## 2026-05-04

- [How Sample Vault syncs gigabyte-scale databases from cloud to local with Turso](https://swe.quest/articles/how-sample-vault-syncs-gigabyte-scale-databases-from-cloud-to-local-with-turso-df87236519a9ee42.md): Turso · 2026-05-04 · Easy · 6 min read · Local-first & sync, SQLite, Multi-tenancy, Replication
  Sample Vault, an AI sample browser for music producers, gives each premium user a dedicated Turso database.

## 2026-04-24

- [Turso Sync: a much, much, much better way to sync](https://swe.quest/articles/turso-sync-a-much-much-much-better-way-to-sync-f7b69ab545fa6e56.md): Turso · 2026-04-24 · Medium · 8 min read · SQLite, Local-first & sync, Replication, Performance engineering
  Turso, a Rust rewrite of SQLite, replaces libSQL's Embedded Replicas with a sync model built on change data capture, shipping logical changes instead of physical pages and splitting sync into separate push() and pull() operations.

## 2026-01-29

- [Introducing React Native Bindings for Turso](https://swe.quest/articles/introducing-react-native-bindings-for-turso-d4859b547f15d23e.md): Turso · 2026-01-29 · Medium · 3 min read · Local-first & sync, Mobile, React, SQLite
  \`@tursodatabase/sync-react-native\` is a single package that gives React Native apps on iOS and Android an embedded, SQLite-compatible Turso database plus optional bidirectional sync with Turso Cloud via \`pull\` and \`push\`, enabling offline-first apps.

## 2026-01-05

- [Turso v0.4.0](https://swe.quest/articles/turso-v0-4-0-191cca637e457c1d.md): Turso · 2026-01-05 · Medium · 3 min read · SQLite, Storage engines, Query engines, Local-first & sync, Concurrency
  Turso v0.4.0 overhauls its experimental MVCC mode, which lifts SQLite's single-writer limit, adding index support, checkpointing and recovery.

## 2025-12-22

- [AgentFS in the Browser](https://swe.quest/articles/agentfs-in-the-browser-5b295716ac634197.md): Turso · 2025-12-22 · Medium · 5 min read · AI agents, SQLite, WebAssembly, Browsers, Local-first & sync
  AgentFS gives browser-based agents a virtual filesystem stored in a SQLite database, using Turso's WASM build of its Rust rewrite of SQLite.

## 2025-10-08

- [Introducing Turso in the Browser](https://swe.quest/articles/introducing-turso-in-the-browser-111a711a5e4d489d.md): Turso · 2025-10-08 · Medium · 3 min read · SQLite, WebAssembly, Browsers, Local-first & sync, JavaScript
  Turso, a from-scratch SQLite rewrite, now runs in the browser via WebAssembly as the npm package @tursodatabase/database-wasm, with a better-sqlite3-like API whose methods are all async because of OPFS.
- [Introducing Databases Anywhere with Turso Sync](https://swe.quest/articles/introducing-databases-anywhere-with-turso-sync-0b3d82e805c07b9f.md): Turso · 2025-10-08 · Medium · 4 min read · Local-first & sync, SQLite, Replication, Identity & auth, JavaScript
  Turso Sync lets local SQLite-compatible Turso databases, in Node or in the browser via WASM, sync with Turso Cloud through push, pull and sync-aware checkpoint methods layered on the standard database API.

## 2025-08-07

- [TanStack DB with Sync – the future of real-time UI](https://swe.quest/articles/tanstack-db-with-sync-the-future-of-real-time-ui-23c7d45a5c87b6ef.md): Neon · 2025-08-07 · Medium · 8 min read · Local-first & sync, Real-time systems, React, PostgreSQL, TypeScript
  Pairing TanStack DB with the ElectricSQL sync engine gives web apps end-to-end real-time updates and optimistic mutations, with Postgres as the source of truth.

## 2025-06-02

- [How to Deploy Schema Changes to a Million Databases](https://swe.quest/articles/how-to-deploy-schema-changes-to-a-million-databases-356cdf3f01c11d17.md): Turso · 2025-06-02 · Medium · 4 min read · Schema migrations, Multi-tenancy, SQLite, Local-first & sync, Go
  Database-per-tenant schema migrations can scale to millions of databases by inverting control: a hosted schema registry stores a versioned catalog of SQL scripts, and each client periodically reports its schema version, pulls the missing migrations and applies them locally.

## 2025-01-08

- [Local RAG with Ollama, Mistral, and Turso](https://swe.quest/articles/local-rag-with-ollama-mistral-and-turso-c9414cc4e6a29ef6.md): Turso · 2025-01-08 · Medium · 8 min read · RAG & retrieval, Vector search, SQLite, Local-first & sync, TypeScript
  A local retrieval-augmented generation pipeline can be built in TypeScript using Ollama's Mistral model for both embeddings and generation, with libSQL storing documents and 4096-dimension F32\_BLOB vectors in a single SQLite file indexed via libsql\_vector\_idx.

## 2024-10-25

- [Introducing Offline Writes for Turso](https://swe.quest/articles/introducing-offline-writes-for-turso-e48bdc4a18b3aae7.md): Turso · 2024-10-25 · Easy · 4 min read · Local-first & sync, SQLite, Replication, Multi-tenancy
  Turso is opening a private beta for Offline Writes, letting applications write to local embedded SQLite replicas while online or offline and sync those changes to the cloud later.

## 2024-10-08

- [Building offline-first mobile apps with Supabase, Flutter and Brick](https://swe.quest/articles/building-offline-first-mobile-apps-with-supabase-flutter-and-brick-2c96e1b595fc5e17.md): Supabase · 2024-10-08 · Medium · 6 min read · Local-first & sync, Mobile, Caching, SQLite
  Brick is a Flutter data manager that keeps Supabase data in local SQLite and optional in-memory caches so apps behave the same with or without connectivity.

## 2024-10-02

- [Building Vector Search and Personal Knowledge Graphs on Mobile with libSQL and React Native](https://swe.quest/articles/building-vector-search-and-personal-knowledge-graphs-on-mobile-with-libsql-and-9cac5c5150db9825.md): Turso · 2024-10-02 · Medium · 10 min read · Vector search, SQLite, Mobile, Local-first & sync, React
  Kin, a local-first personal AI app, stores its agent memory as a vector-searchable knowledge graph on the user's device using libSQL through the OP-SQLite React Native binding, enabled with a package.json flag.

## 2024-09-30

- [Personal Knowledge Graphs in AI RAG-powered Applications with libSQL](https://swe.quest/articles/personal-knowledge-graphs-in-ai-rag-powered-applications-with-libsql-0896de56d7bc65a9.md): Turso · 2024-09-30 · Medium · 6 min read · Vector search, SQLite, RAG & retrieval, Local-first & sync, Mobile
  Kin, a local-first mobile personal AI, stores its personal knowledge graph in libSQL so that relational data, graph edges and vector embeddings live in one embeddable single-file database instead of syncing a separate store like faiss.

[Next page](https://swe.quest/index.md?tag=local-first&page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=local-first](https://swe.quest/feed.xml?tag=local-first). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
