sqlite
SQLite
Production patterns for SQLite as a primary datastore on servers, mobile devices, and inside CLI tools. Defaults below assume SQLite 3.45+ (Debian stable, macOS 14, Ubuntu 24.04). Version-gated features are flagged.
When SQLite is the right call
SQLite is the best choice when:
- Single-node OLTP/OLAP up to ~1 TB with mostly read-heavy or modest write traffic (single-digit thousand writes/sec).
- You want zero operational overhead — no daemon, no network,
one file plus a
-wal+-shmsidecar. - You want fork-safe local state in a CLI, agent, mobile app, Electron shell, or edge worker.
- Read replicas are acceptable for HA (Litestream, Turso, D1).
More from marsolab/skills
sys-arch
Design production-grade software systems with expert knowledge of architecture patterns, distributed systems, cloud platforms, and operational excellence. Use this skill when architecting complex systems, evaluating technology choices, designing scalable infrastructure, or making critical architectural decisions requiring trade-off analysis.
22front-dev
>-
22go-dev
>-
21copy
Professional copywriter for SaaS and startups. Expert in landing page copy, positioning, messaging, conversion optimization, and voice-of-customer research. Use when writing compelling copy for SaaS products, landing pages, marketing materials, or when you need help with product positioning and messaging strategy.
12apple-dev
Comprehensive macOS and iOS development expertise covering Swift best practices, SwiftUI design patterns, Human Interface Guidelines, Apple frameworks, and performance optimization. Use when developing native Apple applications, implementing SwiftUI interfaces, working with Apple frameworks (Foundation, UIKit, AppKit, Core Data, CloudKit, etc.), optimizing app performance, following HIG principles, or writing production-quality Swift code for iOS, macOS, watchOS, or tvOS platforms.
6go-sql
>-
2