---
title: "SQLite (medium)"
description: "SQLite and SQLite-based systems"
url: "https://swe.quest/tags/sqlite?difficulty=medium"
---

# SQLite (medium)

Topic in Data & databases: SQLite and SQLite-based systems

By difficulty: [Easy](https://swe.quest/tags/sqlite.md?difficulty=easy) · [Medium](https://swe.quest/tags/sqlite.md?difficulty=medium) · [Hard](https://swe.quest/tags/sqlite.md?difficulty=hard)

Posts 1–24 of 107, page 1 of 5, newest first.

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

[Next page](https://swe.quest/tags/sqlite.md?difficulty=medium&page=2)

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