---
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/?per=96&tag=sqlite"
---

# Posts

Filtered by topics: SQLite.

Posts 1–96 of 124, 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

- [A database per agent: how Turso and Neon give different answers](https://swe.quest/articles/a-database-per-agent-how-turso-and-neon-give-different-answers-05d4b7fddc0c2ee5.md): Turso · 2026-11-12 · Easy · 10 min read · Multi-tenancy, Databases, AI agents, SQLite, PostgreSQL
  Neon and Turso both support a database per agent but differ in the unit: Neon gives each agent a Postgres project with its own autoscaling compute that suspends after 5 minutes idle and is billed by CU-hour, while Turso treats each SQLite-compatible database as a file managed by a shared server, billed by rows read/written and storage with unlimited databases on paid plans.

## 2026-11-05

- [Change Data Capture in SQLite, Without the Triggers](https://swe.quest/articles/change-data-capture-in-sqlite-without-the-triggers-241b82cfb5d25e99.md): Turso · 2026-11-05 · Medium · 8 min read · SQLite, Event-driven architecture, Data pipelines, Caching
  Turso Database, a Rust rewrite of SQLite, has built-in change data capture enabled with a single PRAGMA.

## 2026-11-03

- [2 million databases and counting: the architecture behind Sauna's AI teammate](https://swe.quest/articles/2-million-databases-and-counting-the-architecture-behind-sauna-s-ai-teammate-ca635665d8781bf3.md): Turso · 2026-11-03 · Easy · 8 min read · SQLite, Multi-tenancy, Replication, AI agents, System design
  Sauna, a proactive AI work assistant, gives every session, agent and connected inbox or calendar its own Turso database, creating about 90,000 databases a day and over 2 million in total.

## 2026-10-30

- [Databases as Variables: What Unlimited Databases Actually Changes](https://swe.quest/articles/databases-as-variables-what-unlimited-databases-actually-changes-a5697bc287b26b2b.md): Turso · 2026-10-30 · Medium · 9 min read · Multi-tenancy, SQLite, System design, Schema migrations, Databases
  Turso Cloud's paid plans no longer meter active databases, so a database costs only its storage while idle.

## 2026-10-19

- [Birth and death of a row in Turso's MVCC](https://swe.quest/articles/birth-and-death-of-a-row-in-turso-s-mvcc-f60b68028888940e.md): Turso · 2026-10-19 · Hard · 14 min read · Storage engines, SQLite, Consistency models, Databases
  Turso's MVCC, modeled on Hekaton, tracks each row as a chain of versions in a lock-free SkipMap, with begin/end fields holding a TxId while a transaction is active and a commit timestamp once it commits.

## 2026-10-16

- [Pi Durable on Cloudflare](https://swe.quest/articles/pi-durable-on-cloudflare-1b649cdf3e489964.md): Earendil · 2026-10-16 · Medium · 8 min read · AI agents, Serverless, SQLite, Real-time systems, TypeScript
  A multiplayer chat agent built on Pi Durable maps each agent session to one SQLite-backed Cloudflare Durable Object, so idle agents hibernate instead of holding a running machine.

## 2026-10-14

- [The Many-Database Architecture: Should You Give Every Tenant Their Own Database?](https://swe.quest/articles/the-many-database-architecture-should-you-give-every-tenant-their-own-database-8b8e22af8a8401bd.md): Turso · 2026-10-14 · Medium · 8 min read · Multi-tenancy, SQLite, System design, Databases, Privacy
  Shared schema with row-level security, schema per tenant, and database per tenant trade off isolation strength against operational cost.

## 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-29

- [From v0.7 to v0.8: How group commit changed Turso's tail latency](https://swe.quest/articles/from-v0-7-to-v0-8-how-group-commit-changed-turso-s-tail-latency-395b8a8a61113276.md): Turso · 2026-09-29 · Medium · 13 min read · Storage engines, SQLite, Performance engineering, Concurrency, Databases
  Turso v0.8 adds group commit to its MVCC write path so that concurrent committers share a single fsync of the logical log instead of each paying for their own.
- [Turso 0.8: Concurrent writes without SQLite's single-writer bottleneck](https://swe.quest/articles/turso-0-8-concurrent-writes-without-sqlite-s-single-writer-bottleneck-12eb79dda642476c.md): Turso · 2026-09-29 · Medium · 6 min read · SQLite, Concurrency, Performance engineering, Storage engines, Query engines
  Turso 0.8 targets SQLite's single-writer bottleneck with BEGIN CONCURRENT, an MVCC mode where transactions start independently and commit in groups.

## 2026-09-03

- [SQLite Encryption in Production: Key Management, Migration, and Real-World Use Cases](https://swe.quest/articles/sqlite-encryption-in-production-key-management-migration-and-real-world-use-195c59a7a0ad1aab.md): Turso · 2026-09-03 · Medium · 12 min read · SQLite, Cryptography, Privacy, Multi-tenancy, Security
  Production SQLite encryption with Turso fails most often at the key, not the cipher.

## 2026-09-02

- [Encrypting SQLite Databases with Turso: Local, Cloud, and BYOK](https://swe.quest/articles/encrypting-sqlite-databases-with-turso-local-cloud-and-byok-5501c64f071d7d00.md): Turso · 2026-09-02 · Medium · 11 min read · SQLite, Cryptography, Multi-tenancy, Rust
  Turso offers two SQLite encryption models: native, open-source page-level encryption in its Rust rewrite of SQLite (still behind an --experimental-encryption flag, hex keys) and production-ready BYOK on Turso Cloud, where a base64 key is supplied per connection and never persisted by Turso.

## 2026-09-01

- [SQLite Doesn't Come With Encryption. Here's What Developers Actually Use.](https://swe.quest/articles/sqlite-doesn-t-come-with-encryption-here-s-what-developers-actually-use-ebbfd7763f73e8f8.md): Turso · 2026-09-01 · Medium · 11 min read · SQLite, Cryptography, Storage engines
  SQLite ships without encryption, and since SQLite 3.32.0 removed the undocumented SQLITE\_HAS\_CODEC hook in 2020, the options are SQLCipher (mature but painful across major versions, AES-256-CBC+HMAC only), the proprietary $2,000 SEE from the SQLite team, and SQLite3MultipleCiphers (community successor that can read SQLCipher formats).

## 2026-08-27

- [Concurrent Writes in Practice: Building High-Throughput Apps with Turso's MVCC](https://swe.quest/articles/concurrent-writes-in-practice-building-high-throughput-apps-with-turso-s-mvcc-ce150ea2df977c45.md): Turso · 2026-08-27 · Medium · 12 min read · SQLite, Concurrency, Consistency models, Databases
  Turso's BEGIN CONCURRENT replaces SQLite's single-writer lock with Hekaton-inspired optimistic MVCC that detects conflicts at commit time and at row granularity, rather than the page-level detection in SQLite's unmerged experimental branch.

## 2026-08-17

- [Multi-tenancy at Scale: How to Give Every User Their Own Database](https://swe.quest/articles/multi-tenancy-at-scale-how-to-give-every-user-their-own-database-68099102015dea58.md): Turso · 2026-08-17 · Medium · 7 min read · Multi-tenancy, SQLite, System design, Cost optimization, TypeScript
  The standard warning against database-per-tenant assumes each database is a server process like PostgreSQL or MySQL, with its own memory, connection pool and backup schedule.

## 2026-08-12

- [Migrating from PostgreSQL/MySQL to SQLite: When and How to Make the Switch](https://swe.quest/articles/migrating-from-postgresql-mysql-to-sqlite-when-and-how-to-make-the-switch-9d0f845128cffdd6.md): Turso · 2026-08-12 · Medium · 9 min read · SQLite, Schema migrations, PostgreSQL, MySQL, Databases
  SQLite, especially via Turso Cloud, can replace PostgreSQL or MySQL for read-heavy, moderate-write workloads, trading complex-JOIN optimization, stored procedures, rich types and native replication for simpler operations, lower cost and local reads.

## 2026-08-03

- [SQLite Concurrent Writes Are Here: Early Preview on Turso Cloud](https://swe.quest/articles/sqlite-concurrent-writes-are-here-early-preview-on-turso-cloud-0a785739ef6a43fe.md): Turso · 2026-08-03 · Medium · 5 min read · SQLite, Concurrency, Consistency models, Storage engines
  Turso Cloud now offers concurrent writes in early preview: transactions opened with BEGIN CONCURRENT run optimistically in parallel on an MVCC engine modeled on Microsoft's Hekaton, with conflicts detected at commit time at row granularity.

## 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-07-17

- [Running unmodified Doom in the SQLite bytecode language](https://swe.quest/articles/running-unmodified-doom-in-the-sqlite-bytecode-language-75f412e9cb0f0591.md): Turso · 2026-07-17 · Hard · 12 min read · Compilers, SQLite, Runtimes & VMs, Storage engines, C & C++
  Turso compiles unmodified Doom C source to SQLite's VDBE bytecode by using LLVM as a frontend and a custom backend, vdbecc, that lowers LLVM IR to VDBE.

## 2026-07-16

- [We're building Postgres in Rust. Using the LLVM of databases](https://swe.quest/articles/we-re-building-postgres-in-rust-using-the-llvm-of-databases-e44d34208278a99e.md): Turso · 2026-07-16 · Easy · 11 min read · PostgreSQL, SQLite, Rust, Query engines, Open source
  Turso, a Rust rewrite of SQLite, is adding a Postgres frontend by parsing Postgres SQL into a common AST and compiling it to Turso's VDBE bytecode, turning the engine into an "LLVM of databases" with pluggable frontends.

## 2026-07-15

- [Building a Retrieval Pipeline with Turso and Voyage AI](https://swe.quest/articles/building-a-retrieval-pipeline-with-turso-and-voyage-ai-d56063c4fe3f313b.md): Turso · 2026-07-15 · Medium · 10 min read · RAG & retrieval, Vector search, SQLite, AI agents, LLMs
  Turso's SQLite-compatible engine with native vector columns, paired with Voyage AI embedding and reranking models, replaces a multi-service RAG stack with a single embeddable database for agent retrieval and memory.

## 2026-07-13

- [Turso v0.7.0](https://swe.quest/articles/turso-v0-7-0-8d3ff93b34352c14.md): Turso · 2026-07-13 · Hard · 10 min read · SQLite, Storage engines, Consistency models, Memory management, Rust
  Turso 0.7 drops the beta label and focuses on performance and robustness for embedded, multi-tenant use: the core no longer blocks on I/O, yields CPU via a new StepResult::Yield, moves to fallible allocation so OOM surfaces as an error, and treats the page cache as a soft limit like SQLite.

## 2026-07-07

- [The final boss of reliability: formal verification](https://swe.quest/articles/the-final-boss-of-reliability-formal-verification-7d09556f91a9c3f0.md): Turso · 2026-07-07 · Medium · 6 min read · Formal methods, Testing, Storage engines, SQLite, Rust
  Turso, a from-scratch SQLite rewrite, is adding formal verification via Aretta AI's Aristo, which turns natural-language intents annotated on code into formally checked properties, to complement its deterministic simulation testing and Antithesis runs.

## 2026-06-22

- [How Alien uses Turso to make BYOC deployments reliable](https://swe.quest/articles/how-alien-uses-turso-to-make-byoc-deployments-reliable-91a3844afded050a.md): Turso · 2026-06-22 · Medium · 8 min read · SQLite, System design, Deployment, Rust, Cloud platforms
  Alien's pull-mode BYOC operator, which runs inside customer cloud accounts and must survive restarts, network loss and half-applied deployments, replaced hand-rolled JSON state files with an embedded, encrypted Turso database.

## 2026-06-18

- [How to build an encrypted secrets vault for agents](https://swe.quest/articles/how-to-build-an-encrypted-secrets-vault-for-agents-471dd9551705613b.md): Turso · 2026-06-18 · Medium · 8 min read · AI agents, SQLite, Security, Cryptography
  A local secrets vault for coding agents can be built as a single encrypted Turso database.

## 2026-06-16

- [Why we chose Turso to secure AI credentials](https://swe.quest/articles/why-we-chose-turso-to-secure-ai-credentials-d8af40123ec1f1e5.md): Turso · 2026-06-16 · Medium · 11 min read · SQLite, Rust, Cryptography, PostgreSQL, AI agents
  Eden, a gateway and control plane for database, API and AI traffic, uses Turso's in-process SQLite-compatible storage with AES-256-GCM whole-database encryption so a single Rust binary can run beside the workloads it governs without a separate Postgres.

## 2026-06-08

- [How Edgar Allan Poe found bugs in Turso](https://swe.quest/articles/how-edgar-allan-poe-found-bugs-in-turso-c2af43819364d44c.md): Turso · 2026-06-08 · Medium · 7 min read · Testing, AI agents, SQLite, LLMs, Databases
  Turso runs LLM coding agents (Claude Code with the Ralph Loop plugin) for days at a time to autonomously find SQL correctness bugs.

## 2026-06-03

- [Logging, Metrics, and Distributed Tracing in .NET with OpenTelemetry and ClickStack](https://swe.quest/articles/logging-metrics-and-distributed-tracing-in-net-with-opentelemetry-and-clickstack-1c8d1423c6d63948.md): ClickHouse · 2026-06-03 · Medium · 12 min read · Observability, .NET, SQLite
  Two ASP.NET services (an Order API and a Payment Service backed by SQLite via EF Core) are instrumented with OpenTelemetry and export traces, logs and metrics over OTLP/gRPC to ClickStack, a ClickHouse-based observability stack run in Docker Compose.

## 2026-05-18

- [How we used Quint to find over 10 bugs in SQLite while hardening Turso](https://swe.quest/articles/how-we-used-quint-to-find-over-10-bugs-in-sqlite-while-hardening-turso-43686794db9fa980.md): Turso · 2026-05-18 · Medium · 5 min read · Formal methods, SQLite, Testing, Databases
  Modeling individual SQLite C API contracts in Quint, generating small traces, and replaying them as C programs against real SQLite uncovered more than 10 SQLite bugs while also validating Turso's compatible C API.

## 2026-05-12

- [Turso v0.6.0](https://swe.quest/articles/turso-v0-6-0-5eb94c2c93fd0b4b.md): Turso · 2026-05-12 · Medium · 12 min read · SQLite, Databases, SQL, Storage engines
  Turso 0.6 is the first release supporting all major SQLite features, adding experimental multi-process WAL access (OFD locks on Linux, fcntl elsewhere, IOCP on Windows) and VACUUM/VACUUM INTO.

## 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-04-23

- [Carl Sverre ruined my day. And it was glorious](https://swe.quest/articles/carl-sverre-ruined-my-day-and-it-was-glorious-66c73969df61e4c5.md): Turso · 2026-04-23 · Easy · 5 min read · Testing, SQLite, JavaScript, AI for coding
  Turso used Antithesis's new property-based testing library Hegel to check that its two TypeScript drivers, the native @tursodatabase/database and the pure-JS @tursodatabase/serverless, expose the same API and return identical results.

## 2026-03-19

- [Migrating Etsy’s database sharding to Vitess](https://swe.quest/articles/migrating-etsy-s-database-sharding-to-vitess-c6bef1d09f2cd679.md): Etsy Code as Craft · 2026-03-19 · Medium · 9 min read · MySQL, Distributed databases, Refactoring & migrations, SQLite, Deployment
  Etsy moved shard routing for its ~1,000-table, ~1,000-shard, 425 TB MySQL cluster (1.7M requests/sec) from an ORM that looked up random shard mappings in a single index database to Vitess vindexes, without moving any data.

## 2026-03-04

- [Turso v0.5.0](https://swe.quest/articles/turso-v0-5-0-1bc59038f4941e8d.md): Turso · 2026-03-04 · Hard · 6 min read · SQLite, Storage engines, Query engines, Consistency models, Search
  Turso v0.5.0 promotes MVCC-based concurrent writes (BEGIN CONCURRENT, adapted from Hekaton) to beta.

## 2026-02-26

- [Building a code search engine with Turso](https://swe.quest/articles/building-a-code-search-engine-with-turso-6a98c3f86064a46b.md): Turso · 2026-02-26 · Medium · 6 min read · Vector search, Search, SQLite, AI agents, RAG & retrieval
  Codemogger is an open-source code indexer and search engine for AI agents, built on a single local Turso (SQLite-compatible) file using native vector columns and full-text search.

## 2026-02-23

- [Giving OpenClaw a memory that actually works](https://swe.quest/articles/giving-openclaw-a-memory-that-actually-works-f9bbbfa6dfaba92b.md): Turso · 2026-02-23 · Medium · 4 min read · AI agents, Vector search, SQLite, AI for coding
  Memelord, a per-project agent memory system built on Turso, plugs into OpenClaw through mcporter.

## 2026-02-20

- [How to build a retrieval system for agents](https://swe.quest/articles/how-to-build-a-retrieval-system-for-agents-08b9b297721895b1.md): Turso · 2026-02-20 · Medium · 5 min read · AI agents, Vector search, SQLite, AI for coding, RAG & retrieval
  Memelord is a fully local memory system for coding agents that keeps a per-project SQLite database (via Turso) of corrections, insights and user-requested memories, embedded with all-MiniLM-L6-v2 and retrieved by cosine vector search at task start.

## 2026-02-19

- [Bringing SQLite to Vercel Functions with Turso](https://swe.quest/articles/bringing-sqlite-to-vercel-functions-with-turso-afed2a49c7b44020.md): Turso · 2026-02-19 · Medium · 8 min read · SQLite, Serverless, Replication, Multi-tenancy, JavaScript
  Turso's partial sync replicates a subset of SQLite database pages into Vercel Functions so reads run in-process with no network round-trip, while writes go to the remote Turso database for durability and consistency.

## 2026-02-18

- [Introducing BYOK Encryption in Turso Cloud](https://swe.quest/articles/introducing-byok-encryption-in-turso-cloud-25db96acfd02640f.md): Turso · 2026-02-18 · Medium · 3 min read · Cryptography, SQLite, Databases, Privacy
  Bring-Your-Own-Key encryption, previously Enterprise-only, is now available to self-service Turso Cloud customers starting on the Pro Plan.

## 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.
- [Litestream Writable VFS](https://swe.quest/articles/litestream-writable-vfs-4f950262d6c7f5b0.md): Fly.io · 2026-01-29 · Medium · 7 min read · SQLite, Storage engines, Replication, Storage systems
  Litestream's SQLite VFS now supports an optional write mode and background hydration, built so the Sprites storage stack can serve reads and writes milliseconds after a cold boot without first downloading its JuiceFS block map from object storage.

## 2026-01-27

- [Beyond FTS5: Building Transactional Full-Text Search in TursoDB](https://swe.quest/articles/beyond-fts5-building-transactional-full-text-search-in-tursodb-07e8d5e009fddab8.md): Turso · 2026-01-27 · Medium · 7 min read · Search, Storage engines, SQLite, Rust
  TursoDB adds native full-text search by embedding Tantivy and implementing its Directory trait on top of Turso's B-tree, storing index "files" as 512KB chunks in an internal table.

## 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.

## 2026-01-02

- [Building AI agents with just bash and a filesystem in TypeScript](https://swe.quest/articles/building-ai-agents-with-just-bash-and-a-filesystem-in-typescript-0ae4e4a2ddfb7c37.md): Turso · 2026-01-02 · Medium · 3 min read · AI agents, Sandboxing & isolation, TypeScript, SQLite
  just-bash, a from-scratch TypeScript reimplementation of bash and common commands like grep, sed, awk and jq, gives AI agents a familiar shell tool without a real shell or host filesystem access.

## 2025-12-31

- [AgentFS with copy-on-write overlay filesystem](https://swe.quest/articles/agentfs-with-copy-on-write-overlay-filesystem-c1809b9cbbc5773b.md): Turso · 2025-12-31 · Medium · 5 min read · Sandboxing & isolation, AI agents, Storage systems, Linux, SQLite
  AgentFS 0.4 adds \`agentfs run\`, which launches a coding agent in a sandbox where the working directory is a copy-on-write overlay.

## 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-12-11

- [Litestream VFS](https://swe.quest/articles/litestream-vfs-865d780022ba82d0.md): Fly.io · 2025-12-11 · Medium · 7 min read · SQLite, Storage engines, Replication, Storage systems
  Litestream VFS is a SQLite VFS plugin that runs read-only queries directly against Litestream backups in S3 without downloading the whole database, and supports point-in-time queries via a \`PRAGMA litestream\_time\` setting.

## 2025-12-08

- [AgentFS with FUSE: SQLite-backed agent state as a POSIX filesystem](https://swe.quest/articles/agentfs-with-fuse-sqlite-backed-agent-state-as-a-posix-filesystem-5f39c709b604ee45.md): Turso · 2025-12-08 · Medium · 7 min read · AI agents, SQLite, Linux, Storage systems, Rust
  AgentFS adds an \`agentfs mount\` command that exposes its SQLite-backed agent filesystem as a real POSIX filesystem via Linux FUSE.

## 2025-11-13

- [The Missing Abstraction for AI Agents: The Agent Filesystem](https://swe.quest/articles/the-missing-abstraction-for-ai-agents-the-agent-filesystem-ef7d12c3499d3c42.md): Turso · 2025-11-13 · Medium · 8 min read · AI agents, SQLite, Observability, Storage systems
  AgentFS is an SDK that stores all of an AI agent's state in a single SQLite (Turso) database file: a POSIX-like virtual filesystem, a key-value store, and an append-only tool call audit log.

## 2025-11-05

- [Indexing sparse vectors with Turso](https://swe.quest/articles/indexing-sparse-vectors-with-turso-3c9fdb0f1a894948.md): Turso · 2025-11-05 · Hard · 8 min read · Vector search, SQLite, Query engines, Algorithms, Performance engineering
  Turso 0.3.0 adds a compact sparse vector representation (vector32\_sparse) that uses 5–50x less storage than dense vectors, plus an inverted index for nearest-neighbor search by weighted Jaccard distance.

## 2025-10-22

- [Corrosion](https://swe.quest/articles/corrosion-041c41646926d669.md): Fly.io · 2025-10-22 · Medium · 9 min read · Distributed systems, Replication, SQLite, Incidents & postmortems, Rust
  Corrosion is Fly.io's open-source service discovery system: a Rust program that propagates a SQLite database across thousands of workers via SWIM gossip and QUIC, using the cr-sqlite CRDT extension with last-write-wins logical timestamps instead of distributed consensus.

## 2025-10-14

- [How We Built the Turso Shell in the Browser](https://swe.quest/articles/how-we-built-the-turso-shell-in-the-browser-3b4c7642ce66be0b.md): Turso · 2025-10-14 · Medium · 9 min read · WebAssembly, SQLite, React, Frontend, Browsers
  Turso's SQLite-compatible database can run entirely in the browser via WebAssembly, persisting data to OPFS with no backend.

## 2025-10-09

- [Introducing Real-Time Data with Materialized Views in Turso](https://swe.quest/articles/introducing-real-time-data-with-materialized-views-in-turso-ac2055a02552eb51.md): Turso · 2025-10-09 · Medium · 4 min read · SQLite, Query engines, Stream processing, Databases
  Turso adds experimental Live Materialized Views to its SQLite-compatible database, using Incremental View Maintenance based on the DBSP framework so views update in time proportional to the size of changes rather than the base tables.

## 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-10-07

- [Introducing Fast, Native Encryption in Turso Database](https://swe.quest/articles/introducing-fast-native-encryption-in-turso-database-3bdde23a22f614e0.md): Turso · 2025-10-07 · Medium · 4 min read · SQLite, Cryptography, Storage engines, Rust, Performance engineering
  Turso Database, a Rust rewrite of SQLite, now supports native encryption at rest using AEAD ciphers (AEGIS-256 and AES-GCM).

## 2025-10-06

- [Beyond the Single-Writer Limitation with Turso's Concurrent Writes](https://swe.quest/articles/beyond-the-single-writer-limitation-with-turso-s-concurrent-writes-cb123f350ef5318c.md): Turso · 2025-10-06 · Hard · 12 min read · SQLite, Consistency models, Storage engines, Concurrency, Performance engineering
  Turso implements SQLite-compatible BEGIN CONCURRENT using Hekaton-style MVCC, which removes SQLite's single-writer bottleneck and the SQLITE\_BUSY errors that come with it.

## 2025-10-02

- [Litestream v0.5.0 is Here](https://swe.quest/articles/litestream-v0-5-0-is-here-f9fbba886e3df515.md): Fly.io · 2025-10-02 · Medium · 6 min read · SQLite, Replication, Storage engines, Go
  Litestream v0.5.0 replaces WAL-segment backups with the LTX file format from LiteFS, enabling efficient point-in-time recovery through hierarchical compaction (30-second, 5-minute and hourly levels), so a restore typically needs only a dozen or so files.

## 2025-09-02

- [Faster schema changes for large SQLite databases](https://swe.quest/articles/faster-schema-changes-for-large-sqlite-databases-4f28e48522ae95e1.md): Turso · 2025-09-02 · Medium · 3 min read · SQLite, Schema migrations, Performance engineering, Rust, Storage engines
  SQLite re-parses the entire sqlite\_schema table after every ALTER TABLE, so schema changes cost time proportional to total schema size even when only one table is touched.

## 2025-08-28

- [An adventure in writing compatible systems](https://swe.quest/articles/an-adventure-in-writing-compatible-systems-f48d37f87fc6e365.md): Turso · 2025-08-28 · Medium · 4 min read · SQLite, Storage engines, Formal methods, Debugging, Rust
  Turso, a Rust rewrite of SQLite, hit a bug where every write after the database crossed 1GB made SQLite's integrity checks fail, even though Turso's own checks found the file intact.

## 2025-07-30

- [Introducing Read-Only Database Attach for SQLite in Turso](https://swe.quest/articles/introducing-read-only-database-attach-for-sqlite-in-turso-ea2634989cb273be.md): Turso · 2025-07-30 · Medium · 3 min read · SQLite, SQL, Databases
  Turso 0.1.3 adds read-only \`ATTACH DATABASE\`, letting a single session join across multiple SQLite databases without SQLite's default limit of 10 attached databases (hard maximum 125).

## 2025-07-29

- [How Turso made connections to SQLite databases 575x faster](https://swe.quest/articles/how-turso-made-connections-to-sqlite-databases-575x-faster-271f1e3891c5cf67.md): Turso · 2025-07-29 · Medium · 4 min read · SQLite, Performance engineering, Rust, Concurrency
  SQLite re-reads and parses the sqlite\_schema table on every new connection, so opening a connection to a database with 10,000 tables takes about 23ms.

## 2025-07-16

- [Introducing Change Data Capture for SQLite in Turso](https://swe.quest/articles/introducing-change-data-capture-for-sqlite-in-turso-c6756296fac94071.md): Turso · 2025-07-16 · Medium · 5 min read · SQLite, Event-driven architecture, Databases
  Turso's SQLite rewrite gains an unstable, built-in Change Data Capture feature enabled per connection via PRAGMA unstable\_capture\_data\_changes\_conn.

## 2025-06-11

- [Building AI Agents That Remember with Mastra and Turso Vector](https://swe.quest/articles/building-ai-agents-that-remember-with-mastra-and-turso-vector-cf9403520a15ae02.md): Turso · 2025-06-11 · Medium · 12 min read · AI agents, RAG & retrieval, Vector search, SQLite, TypeScript
  Mastra, a TypeScript AI agent framework, can use Turso's libSQL (a SQLite fork with native vector search) as a single database for agent memory, telemetry and vector embeddings.

## 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-05-29

- [We rewrote large parts of our API in Go using AI: we are now ready to handle one billion databases](https://swe.quest/articles/we-rewrote-large-parts-of-our-api-in-go-using-ai-we-are-now-ready-to-handle-one-dae54753b5d31582.md): Turso · 2025-05-29 · Medium · 7 min read · Go, Scaling, Memory management, SQLite, Caching
  Turso's Go API proxy, which maps database URLs to physical servers, ran out of memory as customers created millions of databases programmatically.

## 2025-05-20

- [How does Turso Cloud keep your data durable and safe?](https://swe.quest/articles/how-does-turso-cloud-keep-your-data-durable-and-safe-676876baa112a2af.md): Turso · 2025-05-20 · Medium · 4 min read · SQLite, Storage engines, Storage systems, Multi-tenancy, Cloud platforms
  Turso Cloud makes every SQLite database durable on S3 and S3 Express, treating local server disk purely as a cache.
- [Litestream Revamped: SQLite Replication](https://swe.quest/articles/litestream-revamped-sqlite-replication-0708888533a47bfa.md): Fly.io · 2025-05-20 · Medium · 6 min read · SQLite, Replication, Storage engines, Storage systems
  Litestream is being reworked around ideas from LiteFS. It replaces the raw-WAL "shadow WAL" with transaction-aware LTX files, sorted page changesets that can be compacted LSM-style, so point-in-time restores no longer replay every intermediate page write.

## 2025-05-12

- [You can now migrate your existing databases to AWS](https://swe.quest/articles/you-can-now-migrate-your-existing-databases-to-aws-664f4db954322a62.md): Turso · 2025-05-12 · Medium · 4 min read · SQLite, Databases, Cloud platforms
  Turso paid-plan users can move database groups from Fly.io to AWS with new \`turso group aws-migration info/start/abort\` CLI commands; free-tier users have already been migrated.

## 2025-04-07

- [Turso Cloud Goes Diskless: How We Built a Fully S3-Based Database Architecture](https://swe.quest/articles/turso-cloud-goes-diskless-how-we-built-a-fully-s3-based-database-architecture-83acec3912831a26.md): Turso · 2025-04-07 · Medium · 10 min read · Storage systems, Cloud platforms, SQLite, Multi-tenancy, Cost optimization
  Turso Cloud moved to a diskless architecture where writes are acknowledged only after landing in S3 Express One Zone, so compute pods hold no durable local state and can be rescheduled freely.

## 2025-03-17

- [Turso Cloud on AWS is now available for everybody](https://swe.quest/articles/turso-cloud-on-aws-is-now-available-for-everybody-1dc0ea860495bbb1.md): Turso · 2025-03-17 · Easy · 2 min read · SQLite, Storage engines, Multi-tenancy, Cloud platforms, Serverless
  Turso Cloud is now generally available on AWS, built on an S3-native architecture where every commit is made durable on S3 Express One Zone and local disks serve as a read cache.

## 2025-02-17

- [The Dangers of Testing in SQLite as a Postgres User](https://swe.quest/articles/the-dangers-of-testing-in-sqlite-as-a-postgres-user-e7593810c6b7484d.md): Neon · 2025-02-17 · Medium · 9 min read · Testing, PostgreSQL, SQLite, SQL
  Testing against SQLite when production runs Postgres gives false confidence.

## 2025-01-09

- [Announcing Laravel Support and PHP PDO Interface](https://swe.quest/articles/announcing-laravel-support-and-php-pdo-interface-98c2c7a584efdc2c.md): Turso · 2025-01-09 · Medium · 4 min read · PHP, SQLite, Vector search
  Turso has released \`libsql-laravel\`, an official open-source Laravel adapter, along with a PHP PDO interface.

## 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-12-18

- [Turso Adds Ruby on Rails Support](https://swe.quest/articles/turso-adds-ruby-on-rails-support-80c171904d4e2326.md): Turso · 2024-12-18 · Medium · 3 min read · Ruby, SQLite, Databases
  Turso has released a technical preview of libsql\_activerecord, an ActiveRecord adapter that connects Rails applications to Turso/libSQL databases.

## 2024-12-12

- [Add comments to your Astro blog with AstroDB and Turso](https://swe.quest/articles/add-comments-to-your-astro-blog-with-astrodb-and-turso-e9a7bfb6cb419242.md): Turso · 2024-12-12 · Medium · 6 min read · Frontend, SQLite, JavaScript, TypeScript
  A commenting system for an Astro blog combines AstroDB (libSQL hosted on Turso) for storage, Astro Actions for validated form submissions, and Server Islands (server:defer) to render the comment list.

## 2024-12-10

- [Introducing Limbo: A complete rewrite of SQLite in Rust](https://swe.quest/articles/introducing-limbo-a-complete-rewrite-of-sqlite-in-rust-eb77d828af295b26.md): Turso · 2024-12-10 · Easy · 7 min read · SQLite, Rust, Formal methods, Testing, WebAssembly
  Limbo is Turso's from-scratch rewrite of SQLite in Rust that aims for full language and file-format compatibility, memory safety and a modern architecture.

## 2024-12-03

- [Build your own Web Analytics Dashboard with Turso and Bolt](https://swe.quest/articles/build-your-own-web-analytics-dashboard-with-turso-and-bolt-74317d9f01cee8fc.md): Turso · 2024-12-03 · Medium · 4 min read · AI for coding, SQLite, Frontend, Analytics & OLAP
  Bolt can generate a Next.js 14 web analytics dashboard backed by a Turso database when you feed it the database schema and a detailed requirements prompt.

## 2024-11-26

- [Multi-Tenant E-Commerce Architecture with Turso](https://swe.quest/articles/multi-tenant-e-commerce-architecture-with-turso-c05851da4bf8738a.md): Turso · 2024-11-26 · Medium · 3 min read · Multi-tenancy, E-commerce, SQLite, System design, Deployment
  A multi-tenant storefront architecture that shares one template codebase but gives each store its own Vercel project, environment variables (name, theme, Stripe key) and Turso database, avoiding shared-database tenant isolation.

## 2024-11-18

- [Analytics for Per-User Database Architecture](https://swe.quest/articles/analytics-for-per-user-database-architecture-e1fb21767d74af7d.md): Turso · 2024-11-18 · Medium · 4 min read · Multi-tenancy, SQLite, Data pipelines, Analytics & OLAP, SQL
  Aggregating analytics across a database-per-tenant SQLite architecture works with a simple daily ETL job: discover tenant databases via the Turso Platform API, run a per-database query for daily orders, revenue, active carts and new products, and upsert the results into a central metrics table keyed by date and database name.

## 2024-11-11

- [Filtering in Vector Search with Metadata and RAG Pipelines](https://swe.quest/articles/filtering-in-vector-search-with-metadata-and-rag-pipelines-4f9f4172f6de2577.md): Turso · 2024-11-11 · Medium · 4 min read · Vector search, RAG & retrieval, SQLite, SQL
  libSQL stores embeddings as F32\_BLOB columns in ordinary SQLite tables, which lets vector similarity and structured metadata such as date ranges be queried together in plain SQL for RAG pipelines.

## 2024-11-04

- [You Don't Need A Separate Vector Database](https://swe.quest/articles/you-don-t-need-a-separate-vector-database-3c832a16be076ef3.md): Turso · 2024-11-04 · Easy · 4 min read · Vector search, SQLite, Databases, RAG & retrieval
  Vector search belongs in your primary database rather than a separate system like Pinecone, because syncing embeddings across multiple stores adds cost and operational complexity.

## 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-18

- [Bun v1.1.31](https://swe.quest/articles/bun-v1-1-31-0b8686b3f219a935.md): Bun · 2024-10-18 · Medium · 11 min read · JavaScript, Runtimes & VMs, RPC & gRPC, SQLite
  Bun v1.1.31 adds a node:http2 server and gRPC server support via @grpc/grpc-js, with node:http2 benchmarked at 128,879 req/s versus 52,785 req/s on Node v23 (2.4x).

## 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.
- [Write that blog… with Turso!](https://swe.quest/articles/write-that-blog-with-turso-eb57ed9c715594d8.md): Turso · 2024-10-08 · Medium · 4 min read · SQLite, Databases, Frontend
  WriteThatBlog!, an aggregator of engineering blog posts tagged by writing pattern, is a single static HTML page on GitHub Pages that queries a replicated Turso database directly from the browser over HTTP, with no backend functions or proxies.

## 2024-10-03

- [The space complexity of vector indexes in LibSQL](https://swe.quest/articles/the-space-complexity-of-vector-indexes-in-libsql-c0acaa3c84f4d05b.md): Turso · 2024-10-03 · Medium · 5 min read · Vector search, SQLite, Mobile, RAG & retrieval
  LibSQL's built-in vector index uses LM-DiskANN, a disk-oriented graph ANN algorithm that stores neighbor graphs in shadow tables.

## 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.

## 2024-09-19

- [Processing embeddings with libSQL, Redpanda Kafka, and Mixedbread](https://swe.quest/articles/processing-embeddings-with-libsql-redpanda-kafka-and-mixedbread-f174ef189355e5de.md): Turso · 2024-09-19 · Medium · 9 min read · Vector search, SQLite, Queues & messaging, Event-driven architecture, TypeScript
  Embedding generation can be moved out of the request path by publishing successful libSQL writes to a Kafka topic and computing vectors in a background consumer.

## 2024-09-04

- [Building a RESTful API with PHP and SQLite](https://swe.quest/articles/building-a-restful-api-with-php-and-sqlite-893ffe1a1d128ccc.md): Turso · 2024-09-04 · Medium · 5 min read · PHP, SQLite, API design
  A minimal CRUD REST API in PHP can be built with Dumbo, a small Hono-inspired routing framework, and Turso's experimental HTTP-only PHP SDK for libSQL/SQLite.

## 2024-08-12

- [Use SQLite triggers to send new user emails](https://swe.quest/articles/use-sqlite-triggers-to-send-new-user-emails-27dbd430dfe83f99.md): Turso · 2024-08-12 · Medium · 5 min read · SQLite, Serverless, Event-driven architecture, Communications, TypeScript
  An AFTER INSERT trigger on a users table copies each new row into a new\_users outbox table.

[Next page](https://swe.quest/index.md?per=96&tag=sqlite&page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=sqlite](https://swe.quest/feed.xml?tag=sqlite). 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)
