3 ms·
The practical problem is that, out of the box, SQLlite runs inside a single program. If you use, say, PostgreSQL, any number of web server processes and batch
by PaulHoule 2y ago
The practical problem is that, out of the box, SQLlite runs inside a single program.
If you use, say, PostgreSQL, any number of web server processes and batch processes can run at any time and connect to the database and the integrity of your data is ensured. If you want to do some administration or analysis just connect with psql or DBeaver.
SQLLite on the other hand is a library that runs inside a single program. If you want to add a table or do some analysis you have to shut your web server down!.
It is not the hits per day that matter so much as the analysis, administration and management requirements. If it is an application just a few people use you can shut it down to admin, but if it has 15-25k users you will certainly inconvenience some.
- adius 2y agoThis is just plain wrong. SQLite supports concurrent read connections and concurrent write operations if you activate WAL mode (https://sqlite.org/wal.html https://sqlite.org/wal.html). Admin and analysis tasks are probably even easier to do: Just ssh into the server and run the sqlite3 CLI command analyse / edit your databases (https://sqlite.org/cli.html https://sqlite.org/cli.html).