News for hackers. Stuff that matters.
Re:We’re pretty happy with SQLite and not urgently intereste... by petercooper on Sunday June 19, 2016 @06:50PM (#11935108)
Andrew has already spoken to the single writer matter. Another issue is it's not very easy to scale horizontally at all. You could shard, but you're not going to be doing replication very easily (although a project does exist to provide replicated SQLite - https://github.com/rqlite/rqlite - but then you might as well finally use Postgres or whatever).

My attitude to this is if my project can be working well and turning a profit within SQLite's limitations, we can worry about migrating to a different stack later on. The same reason I use Ruby for almost everything initially too.

Re:We’re pretty happy with SQLite and not urgently intereste... by c-smile on Sunday June 19, 2016 @08:13PM (#11935406)
Consider multi-user wordpress site for example. You can have one SQLite DB per user - there is simply no information to share between users. If so you can split all your users between multiple backend machines and do per user request routing - like one machine serving users from A to F. SQLlite has cheap DB loading sequence so you can open/close it for each page request. That would be perfect horizontal scaling as all your users will not fight for single DB access.
Re:We’re pretty happy with SQLite and not urgently intereste... by mewm on Sunday June 19, 2016 @08:24PM (#11935436)
well, you kinda just move the problem to another layer. You'll face same horizontal scaling issues once you need to scale on each user.
Re:We’re pretty happy with SQLite and not urgently intereste... by c-smile on Sunday June 19, 2016 @09:06PM (#11935548)
Or just remove one [DB] layer completely. Such databases can be stored directly on machines executing http requests. And if you need to rebuild DB structure you don't need to stop the world - do them one by one.

Of course, all this depends on amount of data you need to store for each user and informational structure of the app.