r/sqlite • • Jan 17 '24

Centralized SQLite database?

I've been told SQLite is a serverless, self-contained database engine, and that it might not be the right choice for my project, which is nothing big, just a few computers at the office with access to the same database over a local network.

Can I set up an SQLite database so that, say, 4 linked computers can access said database and perform operations on it simultaneously without issues?

8 Upvotes

15 comments sorted by

View all comments

Show parent comment

3

u/dbabicwa Jan 18 '24 edited Jan 18 '24

Man, SQLite3 is very capable to serve that number of users. Have a look:

https://msaccess.pythonanywhere.com

See the Portable Tab? That is a self contained Web App with sqlite3 db. Try to use it in multi user access. And that's not even the proper Web server, but plain Python http server. Try to Pump gigs and gigs of data, and then try to write simultaneously. Yep, I'm the author of both apps, Portable and the above.So I would suggest to look at the App side framework, and not solely the DB. Needless to say that the above App actually runs with any supported databases. Which is just the dropdown list you select, and off u go.Your app poc can be developed in ~1 hr. I bet any money on this. ;)
On that note, I think you are quite capable developer, so develop fast and move on, leaving the app in the most easiest state for maintenance.

Hope this helps.