Live data from Hacker News

How Discord Stores Billions of Messages (2017)

blog.discord.com

81–90 of 377 posts

Re: How Discord Stores Billions of Messages (2017)

#81

Discord had like $300M invested and they created unparalleled piece of software that ate whole market, damn. One of the most impressive softwares that I've seen and use after years of using ventrilo/mumble/teamspeak.

Honestly, I find discord super frustrating. Can't have multiple chats open at the same time, can't close the right rail, etc. It's UX is subpar in almost every way that matters to me. I use it because _everyone_ uses it, not because I want to.

Going to be the dissenting voice here and say I find the UI usable, and have no major gripes. The Member List can be hidden by the user icon to the left of the search field, and there's a convenient "Compact mode" to make things more dense information wise.

Re: How Discord Stores Billions of Messages (2017)

#82

Discord had like $300M invested and they created unparalleled piece of software that ate whole market, damn. One of the most impressive softwares that I've seen and use after years of using ventrilo/mumble/teamspeak.

Honestly, I find discord super frustrating. Can't have multiple chats open at the same time, can't close the right rail, etc. It's UX is subpar in almost every way that matters to me. I use it because _everyone_ uses it, not because I want to.

I can't think of many reasons Discord "ate the whole market" besides smart marketing, honestly. It does audio rooms incredibly well, but everything else (even their developer support team) is just terrible.

Re: How Discord Stores Billions of Messages (2017)

#83
post #52

Earlier quoted context omitted.

> With privacy concerns, companies should be shamed for storing billions of messages. should we shame ycombinator for storing the messages, accounts and comments on hacker news then? I am still unable to delete my account here even though the CCPA and the GDPR exists. But here we are.

Your comments are a public thing you choose to publish to the world, but many (most?) discord messages are not. You'd want them to get deleted.

Sorry but no, I don't want my messages deleted. I use search history all the time even to search for things I personally said. I can get behind deleting messages if the account is deleted though, but as some type of automatic thing based on time in the past? No thanks.

Re: How Discord Stores Billions of Messages (2017)

#85
post #38
post #22

Earlier quoted context omitted.

The Casssandra cluster mentioned (12 nodes, 1TB each) only handles text, as far as the article goes.

We're well over 12 nodes in current year :P

Oh, just noticed the article is from 2017. Is there a newer one, related/similar to this one?

Re: How Discord Stores Billions of Messages (2017)

#86
post #82

Earlier quoted context omitted.

Honestly, I find discord super frustrating. Can't have multiple chats open at the same time, can't close the right rail, etc. It's UX is subpar in almost every way that matters to me. I use it because _everyone_ uses it, not because I want to.

I can't think of many reasons Discord "ate the whole market" besides smart marketing, honestly. It does audio rooms incredibly well, but everything else (even their developer support team) is just terrible.

uh, how about the fact that vent/mumble/Skype were all awful?

Re: How Discord Stores Billions of Messages (2017)

#87

TFA states: > we knew we were not going to use MongoDB sharding because it is complicated to use and not known for stability But then goes on to describe using Cassandra and overcoming sharding and stability issues. I.e., changing the key, changing TTL knobs, adding anti-entropy sweepers, and considering switching to a different cassandra impl entirely. Are these issues significantly harder to solve in MongoDB than C…

At the time MongoDB's sharding story wasn't great. They've gotten better since, but still have a primary-replica set model that has a single point of failure/failover. Cassandra (and Scylla) are leaderless, peer-to-peer clustering. Any node can go offline and the cluster keeps humming. Cassandra shards per node. Scylla goes beyond that and shards per core.

Cassandra and Scylla also use hinted handoffs so if a node is unavailable temporarily (up to a few hours) you can store "hints" for it when it comes back online. Handy for short admin windows.

Re: How Discord Stores Billions of Messages (2017)

#88
post #30

Discord had like $300M invested and they created unparalleled piece of software that ate whole market, damn. One of the most impressive softwares that I've seen and use after years of using ventrilo/mumble/teamspeak.

I've also noticed that in a lot of tech-related social circles people are increasingly choosing Discord over Slack. That's a trend I totally didn't expect: at least until a few years ago it was clear that Discord was for gamers and Slack was for work and everyone else. That changed quickly. Impressive indeed!

Discord hasn't gotten bloated yet the way Slack has, which makes it much more pleasant when all you actually want to do is chat and maybe hang out on voice and sometimes with a screen broadcast.

Once you're in an enterprise space, Slack's features become actually useful.

Re: How Discord Stores Billions of Messages (2017)

#89

They wouldn't need to store so many if they actually let people delete their messages on account deletion. Instead, they ban many people who attempt to do so via automated scripts.

I don't think they delete anything really. I've retrieved stuff from servers that were ostensibly deleted over a year ago.
Post reply on HN