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
- Building data-centric apps with a reactive relational databaseriffle.systems
- I'm All-In on Server-Side SQLite · The Fly Blogfly.io
- The Beginner's Guide to Databasestechnically.substack.com
- Against SQLscattered-thoughts.net
- Making 768 servers look like 1 — PlanetScaleplanetscale.com
- How Does a Database Work?cstack.github.io
- Episode 1 - Mongo DB Is Web Scaleyoutube.com
- Scaling PostgreSQL to power 800 million ChatGPT users | OpenAIopenai.com
- Optimizing SQLite for serverskerkour.com
- Build Your Own Databasenan.fyi
- Wesley Aptekar-Cassels | There is no such thing as a static websiteblog.wesleyac.com
- How Notion uses SQLite for Cachingblog.neetcode.io