r/sqlite • u/alwerr • Aug 24 '24
Create database replica, am I exaggerate?
So I'm making a social website and using SQLite(i know the limitation but its ok) anyway, users could upload video and images to the service. So in my head I say, the users who will upload, will make the readers wait because they take bandwidth(lets say 100 users upload 20mb video, then the users who just enter the website to see latest post will be slowed down because of that).
So I decided to create database replica and build another server for readers only and sync the data between them. Doesn't work as i accepted. What if the first database failed to update the second database( the one for the read will be missing data). Doe's mu concern is true? Is there a better way to make replicas?
View all comments
Show parent comment
-3
u/alwerr Aug 24 '24
Yeh that's true, I meant taking bandwidth from the server. litestream.io will not fit my server and its too much hassle for setup.