logoalt Hacker News

Kuyawayesterday at 9:26 PM3 repliesview on HN

No intention to antagonize but... why not postgre? Even my side projects run on postgresql with no overhead at all


Replies

deweyyesterday at 9:38 PM

It's also explained in the post shared:

---

I've heard "why not PostgreSQL?" a few times this week. It was even our original plan in #539! Well, it was a pragmatic choice in two different ways:

The person who volunteered to do the work used SQLite.

I don't want to use solutions that are bigger and more complex than our likely needs. Postgresql is my default for projects, but it does have the added complexity of being a separate service to run, tune, and maintain.

gnulinuxyesterday at 9:38 PM

> run on postgresql with no overhead at all

Citation needed. I love postgres as much as the next person, but it does have more overhead than Sqlite which is in an in-process db linked through compiled C code, it doesn't run as a separate server. Very significant difference that when you use Sqlite db, there is typically no db process other than your application logic, unless you implement the server yourself. If you don't want your application to have multiple processes (say, as a toy example) then it totally makes sense to prefer Sqlite just for this reason. Sqlite and postgres are different tools, they serve different purposes.

show 1 reply
adentayesterday at 9:29 PM

Where are you hosting postgres

show 2 replies