Re:How Discord stores trillions of messages
by jhgg on Sunday September 29, 2024 @02:45AM
(#41685376)
There are ballpark of a few hundred million discord servers... do you really want to run that many Postgres instances? And even so what do you do about DM/GDMs? Easier to just run one big mega cluster for messages.
[ Parent
| on HN ]
Re:How Discord stores trillions of messages
by ryanjshaw on Sunday September 29, 2024 @02:59AM
(#41685426)
Okay so the latter then - economies of scale. Surprised to hear that few hundred million figure - I thought it'd be 1/10th of that at most! Wow.
Although I did expect there'd be a very long tail, and you might choose to host a bunch of servers on a single RDBMS, at that scale yeah it wouldn't solve much.
Thanks for coming back to me, appreciate it.