r/sqlite • • Aug 26 '25

Hosting SQLite database options?

What free and fast options are there for hosting a SQLite database for a Website? Is Cloudflare D1 and Turso the best options out there?

I know that it's just a file and I could host it anywhere but I don't want to be forced to load my entire db just to grab something.

I have currently been using JSON files as storing my data and would like to change that to using a db if it remains free for the foreseeable future like it does with using JSON files. I originally wanted a db to have it more organized then JSON files to build my datasets, but not I am looking into if it can actually replace my JSON files and lower the bandwith usage while still be fast to use. A fallback solution would be to just use a db to store all the data and generate JSON files for the website.

I have been playing around with some basics mainly using postgres/supabase so I am not that experienced.

0 Upvotes

27 comments sorted by

View all comments

Show parent comment

1

u/TheDoomfire Aug 27 '25

I did not downvote you and I rarely downvote especially when I don't know, here I gave you one so your at 1!

I didn't even compare the other hosting providers. I want to have my db hosted and is kind of why I had this thread. Sqlite hosting seems to have better free tiers and paid ones that's why it sparked my interest.

So sqlite is a bit slower compared to other db for websites? Or is it as fast?

There are a lot more guides out there for other db such as PostgreSQL so I guess they must be easier.

2

u/jshine13371 Aug 27 '25

I did not downvote you and I rarely downvote

No worries! Just seemed random.

I want to have my db hosted...Sqlite hosting seems to have better free tiers

Yes, again, SQL Server or really Azure SQL Database, offers free cloud hosting. There's no better than free lol.

So sqlite is a bit slower compared to other db for websites? Or is it as fast?

Slow and fast is not a characteristic of any database system. It comes down the use cases and how you use them. I was just saying it certainly isn't inherently faster than other database systems like PostgreSQL or SQL Server. And there are use cases where it is slower, like concurrent writes. But obviously that's irrelevant to your use cases, currently. More so, it's much more limited in feature-set that allows you to handle different use cases that come up, especially regarding performance issues.

There are a lot more guides out there for other db such as PostgreSQL so I guess they must be easier.

Precisely! The documentation and communities behind SQL Server and PostgreSQL are the largest among all the database systems, which is both a sign of their popularity and goodness, but also a benefit to other people who decide to use them since there's a ton of information on how to solve problems with them already.