Hacker News new | ask | show | jobs
by bpatrianakos 3834 days ago
No SQLite isn't heavy but I hope you mean for use in development only.

The issue isn't MongoDB is bad and relational DBs are awesome. The real issue is new developers being taught that Mongo and NoSQL in general are the databases you should be using with Node. The problem secondary to that is devs not knowing when each is appropriate.

2 comments

Sqlite can and is widely used in production server-side.

It's about time the "develoment only" myth was laid to rest. Please read the links bellow:

https://charlesleifer.com/blog/sqlite-small-fast-reliable-ch...

http://stackoverflow.com/questions/1711631/improve-insert-pe...

http://stackoverflow.com/questions/784173/what-are-the-perfo...

SQLite is the most widely deployed database engine out there.
Especially if you count all the phones and copy machines and AV equipment. Embedded databases are fun to code with.
Not in production it isn't.
It's actually commonly used in production for certain types of databases. SQLite is not a replacement for something such as postgresql but it certainly has it's use cases.
Do you mean for public facing sites? If so, what are the use cases?
The use case for SQLite isn't high traffic public facing webpages. Here is their own list of 'famous' users: https://www.sqlite.org/famous.html

Every iPhone, and Android phone have SQLite running on them, which easily makes it the most used production database. It's use case is typically very low traffic websites or as client side storage.

Maybe I'm missing something but is Mongo in use on the client side in that same way? If not then SQLlite is being shoehorned into the discussion and the context in which production was used should be clear. I feel like people are trying to be technically right instead of following the actual discussion. I never meant client side software and definitely didn't mean someone's micro traffic blog, where a toy database could be used.

It is interesting how much penetration SQLlite has on the client, though.

At any rate, I know better than to not be extremely specific so I brought this on myself.

My browser tell me something other.
I don't mean 'on the desktop' when referring to database use in production.