2 ms·
OTOH, shouldn't it be easier to scale Reddit horizontally by sharding the subreddits into separate DBs?
by majewsky 7y ago
OTOH, shouldn't it be easier to scale Reddit horizontally by sharding the subreddits into separate DBs?
- dTal 7y agoCertainly not trivially - the subreddits are not wholly independent entities. User accounts are shared between them, for instance, and every post a user makes is (searchably) linked to their account, regardless of which subreddit they posted it in. Users can also send each other private messages, and this does not take place in the context of any particular subreddit.
- adrusi 7y agoNot to mention that a huge portion of reddit traffic goes to aggregation pages like users' frontpages, /r/all, and too a lesser extent multireddits.