Wesley Aptekar-Cassels | Consider SQLite
If you were creating a web app from scratch today, what database would you use? Probably the most frequent answer I see to this is Postgres, although there are a wide range of common answers: MySQL, MariaDB, Microsoft SQL Server, MongoDB, etc. Today I want you to consider: what if SQLite would do just fine? For those who are unfamiliar, SQLite is a implementation of SQL as a library — this means that rather than running a SQL server that you program talks to, you embed the SQL implementation directly in your program, and it uses a single file on disk as a backing store. SQLite is a incredibly popular database — you likely have dozens or hundreds of SQLite database on whatever device you're reading this on, regardless of whether that's a smartphone or a tablet, and regardless of what manufacturer or browser it is. Historically, use of SQLite has usually been constrained to user programs (like browsers or apps), rather than servers. However, due to improvements in SQLite, hardware perfor
If you were creating a web app from scratch today, what database would you use? Probably the most frequent answer I see to this is Postgres, although there are a wide range of common answers: MySQL, MariaDB, Microsoft SQL Server, MongoDB, etc. Today I want you to consider: what if SQLite would do just fine? For those who are unfamiliar, SQLite is a implementation of SQL as a library — this means that rather than running a SQL server that you program talks to, you embed the SQL implementation directly in your program, and it uses a single file on disk as a backing store. SQLite is a incredibly
saved by
related reading
- I'm All-In on Server-Side SQLite · The Fly Blogfly.io
- Building data-centric apps with a reactive relational databaseriffle.systems
- How Notion uses SQLite for Cachingblog.neetcode.io
- Making 768 servers look like 1 — PlanetScaleplanetscale.com
- How we tracked down a 16-year-old SQLite bugtailscale.com
- How Does a Database Work?cstack.github.io
- Against SQLscattered-thoughts.net
- Scaling PostgreSQL to power 800 million ChatGPT users | OpenAIopenai.com
- It's not you, it's SQLstack.convex.dev
- The Beginner's Guide to Databasestechnically.substack.com
- An Overview of Distributed PostgreSQL... | Crunchy Data Blogcrunchydata.com
- Optimizing SQLite for serverskerkour.com