SQLite is a perfect fit for small websites and applications
So it's a toy...
There is a popular opinion among developers that SQLite is not suitable for the web, because it doesn't support concurrent access. This is a myth. In the write-ahead log mode (available since long ago), there can be as many concurrent readers as you want. There can be only one concurrent writer
Having only one concurrent writer solidifies that it is not the right choice for web. I try to tell juniors who try to XY problem into getting it to work in a web context to just use postgres, and they're like "well that's just too complicated". No, too complicated is trying to manage locking of a pool of size 1 without severely throttling traffic yourself, especially as an inexperienced dev lol.
I do love sqlite for offline analytics of relatively small datasets, where concurrent writing isn't needed
-110
u/OffbeatDrizzle Sep 10 '24 edited Sep 10 '24
So it's a toy...
So it's a toy...
edit: lots of toy fanboys here