How Discord Stores TRILLIONS of Messages

How Discord Stores TRILLIONS of Messages

Coding with Lewis

1 год назад

654,153 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Coding with Lewis
Coding with Lewis - 13.04.2023 18:01

Thanks for watching this video :) What company would you like me to cover next?

Ответить
Samuel G. P.
Samuel G. P. - 14.11.2023 16:36

Excellent video!

Ответить
VncntJms
VncntJms - 14.11.2023 11:46

"what any programmer would want to do when they see something new: changing architectures"
I'm guilty.

Ответить
darkwoodmovies
darkwoodmovies - 13.11.2023 21:03

I'm sorry, but if you write a critical infrastructure-level service like a database in Java, what the actual f**k were you thinking?

Ответить
Devaniox Plays Games
Devaniox Plays Games - 09.11.2023 23:58

480 terrabytes per trillion messages, not including images ofcoarse otherwise it'd way bigger of a number thats just insane

Ответить
OHM-968692
OHM-968692 - 05.11.2023 06:07

This is better than ASMR. Fell asleep in 8 minutes!

Ответить
BlindMango
BlindMango - 28.10.2023 05:22

It would probably still be 'only' billions of messages if Discord users didn't type like kids with ADHD and press the enter key after every three words mid-sentence, lol

Ответить
hwoeghuse
hwoeghuse - 26.10.2023 18:27

love the animations on these videos

Ответить
Rizki Aprita
Rizki Aprita - 25.10.2023 17:27

tbh, discord is masterpiece of this century

Ответить
Rohith
Rohith - 24.10.2023 20:43

I did build multiple grpc channels/servers in my org.It's neither straight forward nor fit for all use cases, GRPC is primarily used for streaming like a stub but load balancing such endpoints is a nightmare. Not sure why they were using GRPC in such system though.

Whenever you create a GRPC connection it will block a thread until the connection is closed. If you create a one connection per channel you wont have enough threads in the VM of the instance running the GRPC client service. I think it is not a good idea to always have a open connection with database.

Ответить
Shashank Pandey
Shashank Pandey - 22.10.2023 08:02

Wait a minute, are you one of the Rust Founder?
why promote so much? I have memorized now. Stop it.

Ответить
WAIT...WHUT?!
WAIT...WHUT?! - 16.10.2023 16:39

Discord is destined to fail unless someone rich acquire them like microsoft or elon...much wiser choice than buying twitter

Ответить
Николай Гроб
Николай Гроб - 11.10.2023 14:36

For some reason when discord stores trillions of messages, but still lags as hell and is barely usable everyone is impressed. But when Telegram does the same thing, but also WITHOUT file size limit nobody is speaking about that at all lmao

Ответить
Willmil11
Willmil11 - 07.10.2023 12:09

Love this channel

Ответить
Sajid Mahmud
Sajid Mahmud - 05.10.2023 19:46

Can someone explain the data service and grpc endpoint in a dumb down version ?

Ответить
OSG Culture
OSG Culture - 02.10.2023 23:49

To be honest, Im glad they store them, I kinda use dc as a pseudo gdrive.

Ответить
Jamie Ficken
Jamie Ficken - 02.10.2023 23:00

I don't move to the "shiny new object" unless there's a very good reason to do so. I firmly believe "If it ain't broke...don't fix it until it is.".

Then again I'm all alone in my little corner so experimenting just isn't something I have time for either.

Ответить
Alex Potap
Alex Potap - 02.10.2023 13:42

If messages are naturally partitioned by channel, what is the need in the one big database? Maybe I just don't know all the features

Ответить
A Yush
A Yush - 01.10.2023 21:03

Why scyllaDB over dynamoDB?

Ответить
Pizzonia
Pizzonia - 29.09.2023 23:53

So basically they put a cache in front of Cassandra?

Ответить
Zero Gear
Zero Gear - 28.09.2023 21:10

i love crabs

Ответить
Jouva Moufette
Jouva Moufette - 28.09.2023 16:44

But... MongoDB is Web Scale!

Ответить
Moses Wuniche
Moses Wuniche - 27.09.2023 20:00

That was cool… awesome breakdown…🔥🔥

Ответить
lisibeth
lisibeth - 27.09.2023 03:37

every time I think about discord I get a horrendously awkward flashback to my first situationship :/ when he asked “do u have discord” I replied “about you staying or about you leaving?” 💀

Ответить
GOD_OF_EVERYTHING
GOD_OF_EVERYTHING - 26.09.2023 10:37

Got urself a sub sir

Ответить
Vinit K
Vinit K - 26.09.2023 03:37

All you said is they moved to scyllabd and wrote migration themselves in rust. You could have done a YT short for it

Ответить
Victor Bogachev
Victor Bogachev - 24.09.2023 13:21

I have a chat with a three-year history and the search for this chat does not work

Ответить
Xazratbek Turdaliyev
Xazratbek Turdaliyev - 20.09.2023 12:13

can you make video about How Telegram Stores {sum of messages} of Messages ?

Ответить
Pajeet Singh
Pajeet Singh - 18.09.2023 13:45

That one message of me.

Ответить
Ka Wo
Ka Wo - 16.09.2023 22:54

I thought that Discord is written in Elixir with only some of the NIFs written in Rust as something called Rustler.

Ответить
Aljon
Aljon - 13.09.2023 21:15

Hell nah this sh is gonna break down. I need to back up my “cloud” discord server😂

Ответить
blinkkk
blinkkk - 11.09.2023 01:44

now do the developers have access to my discord group?

Ответить
avonzo
avonzo - 01.09.2023 16:41

Great video. Great content. Thank you.

Ответить
Artoooooor
Artoooooor - 31.08.2023 14:45

So that's why searching through Discord sucks? And that's why they have that damn infinite scrolling BS?

Ответить
Agile Fox
Agile Fox - 28.08.2023 17:13

This was an incredibly well made video!

Ответить
zokikisystemcom
zokikisystemcom - 28.08.2023 04:23

They store their text messages on txt files 😂😂😂

Ответить
E Z Z
E Z Z - 27.08.2023 15:10

why discord, there is also messenger

Ответить
Ebizzill
Ebizzill - 27.08.2023 14:23

so those days I thought my messages and discord wouldn't open up, they were going through a giant migration
?
wow. that's wild! for what is worth, I went on a no-discord fast for almost a month.

Ответить
Abdü
Abdü - 21.08.2023 21:10

MongoDB and Cassandra AND JAVA? I doubt they are engineers or even coders.

Ответить
WAIT...WHUT?!
WAIT...WHUT?! - 14.08.2023 17:36

Imagine AI company make an investment to use their dataset

Ответить
Java Development
Java Development - 14.08.2023 13:42

Great video, and I'm left with one question how to find and use the right tools at the right place and at the right time 😅
That something comes with experience or any beginning can also master that?

Ответить
M. M
M. M - 13.08.2023 07:06

I have always wondered and been interested about Discord myself.

As someone who uses it daily, and runs a sever (that in hoping to monetize as it has exclusive ckntern ghst tskes forever to curate)

Ответить
Richard Max
Richard Max - 10.08.2023 15:33

Inspiring!

Ответить
Keflat Spiral
Keflat Spiral - 10.08.2023 11:28

i was thinking what do happen to the people that were working there ( for example on cassandra db) after migration? all went home and new people came in ?

Ответить