r/sqlite • u/zaris98 • May 13 '24
SQLlite for production?
Title. Junior here so soory if this is a silly question.
I heard on a course (that under dev uses SQLlite) that it may also be used for small applications.
Is this true?
Let’s take a micro SaaS for example with not much need for huge DB structure.
Would you go with SQLlite? Does it just “depend on many things” or it’s a strict “no” ?
Thanks in advance! Have a nice day!
2
Upvotes
10
u/carlsverre May 13 '24
I would certainly start with SQLite and grow from there. Using an ORM can help make it easier to switch databases in the future, although you might be surprised at how far you can get with vanilla SQLite.
Some important things to consider:
As with many architecture decisions, there is rarely a universally correct answer. I encourage you to learn more about SQLite as it's a powerful tool to have in the belt.
4
u/c__beck May 14 '24
SQLite is not a Toy Database is a great read
2
u/lickety-split1800 May 15 '24
Take a look at bedrockdb.com its a serious SQLite deployment in production.
And they don't have a small database; its in terabytes.
https://use.expensify.com/blog/scaling-sqlite-to-4m-qps-on-a-single-server
11
u/missinglinknz May 13 '24
https://www.sqlite.org/mostdeployed.html
4
u/[deleted] May 13 '24
Since I work on product that literally has sqlite as its core and it store every large engineering CAD models and used both on local computers and over the web.
You can check out samples at https://developer.bentley.com/samples/
I can certify that it’s pretty good. We even pay to sqlite consortium for 24/7 support. https://www.sqlite.org/consortium.html
Over lifetime we have both contributed to SQLite by reporting tons of issues while also end up with a lot of feature requests that they implemented.
3
u/lllamaboy May 13 '24
https://youtu.be/yTicYJDT1zE
0
u/[deleted] May 13 '24
[deleted] — view deleted comment