Live data from Hacker News

How Discord Stores Billions of Messages (2017)

blog.discord.com

11–20 of 377 posts

Re: How Discord Stores Billions of Messages (2017)

#13
post #5

TLDR MongoDB then Cassandra

Did they make the move to ScyllaDB, as mentioned in their "Future work" section?

Their jobs pages (e.g. [0]) mention "ScyllaDB/Cassandra".

[0] Senior Site Reliability Engineer: https://discord.com/jobs/4004051002

Re: How Discord Stores Billions of Messages (2017)

#14

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.

Well it solved a lot of pain points with the target market.

I remember my friends and I kept bickering who would pay for this month's bill for the vent/mumble servers. That kept on for years until I had enough and hosted my own in a droplet in digital ocean. None of my friends knew how to do that since they're not very technical.

Discord you just had to click a couple buttons and its free.

Re: How Discord Stores Billions of Messages (2017)

#15
post #10

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.

> ventrilo/mumble/teamspeak To be fair, Mumble is FOSS, and Ventrilo and Teamspeak have literally not iterated since 2005. Discord is pretty mediocre software (remember when they accidentally allowed iframe XSS RCE attacks? A very amateurish mistake), but the incumbents were an absolute dumpster fire.

> and Ventrilo and Teamspeak have literally not iterated since 2005

True, but to be fair: the next iteration of Teamspeak will be based on the Matrix protocol, which is quite a big iteration. See https://news.ycombinator.com/item?id=25743874 .

Re: How Discord Stores Billions of Messages (2017)

#17
post #5

TLDR MongoDB then Cassandra

Did they make the move to ScyllaDB, as mentioned in their "Future work" section?

We've moved quite a few datasets from Cassandra to Scylla, but not messages. I think we're planning to make a blog post about our experience with Scylla at some point.

Re: How Discord Stores Billions of Messages (2017)

#20

Earlier quoted context omitted.

Still a good read if you're curious about Cassandra

2017 is pretty antique though now: the scaling and the ecosystem change fast

I admittedly know very little about this space. What are some of the newer players?
Post reply on HN