*** DRAFT ***
Using SQLite In Production
Table Of Contents


image by Google Gemini

1. The Question

A common question these days (circa 2026) is:

"Can I use SQLite in production?"

What people really mean by this is "Can I use SQLite as the backend database for my web application, or do I need to use PostgreSQL instead?"

Such questions typically provoke a battle of words on social media, caricatured by the image above. Some practitioners insist that "SQLite is all you need" while other insist that you will regret it later if you do not start with PostgreSQL. Which side is correct? Neither, really. The choice between PostgreSQL and SQLite for the backend database of a web application comes down to engineering trade-offs. There are advantages and disadvantages to either choice. The purpose of this article is to lay out those advantages and disadvantages so that you can decide for yourself what is right for your particular situation.

2. Differences In The Design Of PostgreSQL And SQLite

PostgreSQL (hereafter "PG") and SQLite have different goals, and those different goals are reflected in their design.