by srcmap · 4y ago · 0 comments
Make it one SQLite file per user. All the read/write are parallelized per user. Backup db file would be smaller, easier. Each service node can handle N users, less for heavy follow users. Should be easier to scale horizontally the with user count by adding system nodes and Storage, networks, web handling process.
Also, you're still going to need to index all posts somewhere. Unless you don't want search functionality on your site.
Edit: search also becomes difficult