Databases & Cache

SQLite

SQLite is a serverless, embedded relational database that stores an entire database in a single file. It is the most deployed database engine in the world, shipping inside phones and browsers.

Pros

  • Zero configuration. No server to run; the whole database is one portable file. 0
  • Incredibly reliable. Exhaustive testing makes it famously crash-resistant. 0
  • Fast for local reads. In-process access beats any network database for latency. 0
  • Everywhere. Ships in every phone, browser, and countless apps. 0

Cons

  • Limited concurrency. A single writer lock bottlenecks write-heavy workloads. 0
  • Not for big scale. Poor fit for high-traffic multi-server applications. 0
  • Loose typing. Flexible column types can mask data errors. 0
  • No network access. Being embedded means no built-in client-server mode. 0

Compare SQLite against