How Discord Stores TRILLIONS of Messages

How Discord Stores TRILLIONS of Messages

ByteByteGo

1 год назад

164,490 Просмотров

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


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

@nexus888
@nexus888 - 27.07.2024 01:40

If Discord would only create a good UX. Having may servers is a nightmare to go through..

Ответить
@krizdeep
@krizdeep - 21.05.2024 05:31

How does BYTEBYTEGO create these diagram animation does anyone know ?

Ответить
@nishant_singh
@nishant_singh - 21.02.2024 23:34

Can you make me a pro at syatem design ?? I just love this subject...

Ответить
@geob7o
@geob7o - 31.12.2023 04:45

Hats off for the on call team during these processes 😅

Ответить
@pegasusgemini6541
@pegasusgemini6541 - 12.12.2023 16:16

Waouh!

Ответить
@AMX0013
@AMX0013 - 03.12.2023 02:03

Thank you for this informative content. I saw your post on LinkedIn and came here to know more about the Rust Dat Service. Can you link any article that this service is based off of? Id live to know its working as a Distributed systems engineer and connoisseur

Ответить
@RahulGupta_Grahul
@RahulGupta_Grahul - 24.09.2023 19:08

Nice explainer. Can you also please link the OG blogpost in the description?

Ответить
@5p4rk3r
@5p4rk3r - 19.09.2023 18:42

how to run scylla db in the cloud??

Ответить
@beofonemind
@beofonemind - 11.09.2023 07:06

Thanks for this, very helpful.

Ответить
@mz7640
@mz7640 - 10.08.2023 14:15

Can't they use AWS dynamoDB?

Ответить
@zl7289
@zl7289 - 09.08.2023 17:21

I’m just curious, what tools are you using to make this beautiful diagram and fancy effects 😮❤

Ответить
@quang.luu.179
@quang.luu.179 - 07.08.2023 08:02

excellent conten.

Ответить
@jerryking4777
@jerryking4777 - 31.07.2023 01:37

wow, can i ask what after effect template is used for presentation? I would like to present my work in school.

Ответить
@chrishabgood8900
@chrishabgood8900 - 29.07.2023 08:55

Joy != rust

Ответить
@zitronenlolli1
@zitronenlolli1 - 27.07.2023 00:56

great content!!

Ответить
@rolina.azmitiamedrano5137
@rolina.azmitiamedrano5137 - 22.07.2023 20:19

👀👌

Ответить
@nareshgb1
@nareshgb1 - 07.07.2023 17:56

"discord found themselves in a bit of a pickle"....good one :)

Ответить
@jerkmeo
@jerkmeo - 07.07.2023 15:01

That's just awesome sharing. Thanks!

Ответить
@joaoguilherme-or1ud
@joaoguilherme-or1ud - 06.07.2023 12:38

Show!!!!

Ответить
@ivanlee172
@ivanlee172 - 03.07.2023 04:06

One thing missing here is how they setup the monitoring system to have such analysis from the running system, which is also an important part. Would like to hear more about this.

Ответить
@sagiajaj17
@sagiajaj17 - 30.06.2023 17:55

How is their solution different from RAID10? It is essentially raid1 array mirroring a raid0 set. Am i missing something?

Ответить
@dirac7233
@dirac7233 - 28.06.2023 19:37

Scylla is basically a C++ version of Cassandra. This story is one more proof of java's inferiority. Why are people still using Java ?? 🤷🏽‍♂️

Ответить
@vaddimka
@vaddimka - 26.06.2023 04:37

Well it doesn't actually tell HOW it stores trillions of messages (like partitioning, cache organization, hot path issues), just a high level overview of the migration and dbms

Ответить
@jasonguo7596
@jasonguo7596 - 26.06.2023 01:39

Is it ok to move older messages to a separate database periodically? So the main database would not be carrying so much data all the time.

And have dedicated service to read messages from that database with historical messages.

Ответить
@ketaminefairy
@ketaminefairy - 25.06.2023 14:46

someone please explain more on the RAID 0 setup? What is the safety net under that? Am I missing/not understanding something?

Ответить
@bjugdbjk
@bjugdbjk - 23.06.2023 16:16

Rust is a superstar !!

Ответить
@bjugdbjk
@bjugdbjk - 23.06.2023 16:12

Could you make a video on the Data services part which written in Rust ? That will be a quite interesting to many folks !!

Ответить
@dougphilips8807
@dougphilips8807 - 23.06.2023 05:33

I am confused the difference between "Request coalescing" and what your other videos call caching? Since "Request coalescing" is part of the success here I'd like to understand the difference better, thanks!

Ответить
@flatdinos
@flatdinos - 23.06.2023 04:29

next month I'll migrating one of my database, it's so painful to planning and flow designing of migration, but this video help a lot.

Ответить
@thememmer
@thememmer - 22.06.2023 05:48

What tools do you use to create these videos

Ответить
@SimarMannSingh
@SimarMannSingh - 21.06.2023 14:47

QUICK QUESTION: I've seen this style of YT video somewhere else too, somewhere in a tech video I remember. Is there a tool you're using to make these kind of videos? Or did you (or someone you hired) edited the video yourself?

Ответить
@carlosharris2681
@carlosharris2681 - 21.06.2023 00:32

Friendly programming noob here: Can someone explain why Garbage Collection-free gives Scylla an advantage over Cassandra? Thanks in advanced.

Ответить
@ayotomiwasalau6373
@ayotomiwasalau6373 - 20.06.2023 16:30

What pipeline tool did they use for the data migration from Cassandra to Scylla?

Ответить
@king0s
@king0s - 20.06.2023 11:25

my takeaways and a question:

ScyllaDB with C++ under the hood and no GC was a part of it.
Request coalescing is another part.
Selecting and deciding on optimal Google Cloud services i.e Persistent disk is another part.
The two layered RAID setup is another part.
Modifying the Linux kernel to do write on the Persistent disks and reads from the local SSDs was another part(But I'm wondering how they made the changes to the Linux kernel of the Google VMs? anyone help me out here, do they bake the changes to a VM image and deploy the image to the Google VMs?)
And finally for the migration using a data migrator written in memory safe and highly performant Rust was another great decision.

Ответить
@jianruan5491
@jianruan5491 - 20.06.2023 04:46

cool,I want to try in my work

Ответить
@kiransingh2935
@kiransingh2935 - 20.06.2023 00:36

I have literally never seen a company be happy with choosing Cassandra. I know of engineering orgs who have an entire pod of SREs dedicated to nothing but keeping the Cassandra alive.

Ответить
@abhishekkumar-ei5hl
@abhishekkumar-ei5hl - 19.06.2023 22:31

Please make video in realtime application like figma, Google docs, or multiplayer game

Ответить
@carlosm.1233
@carlosm.1233 - 19.06.2023 13:23

What software do you use to create such presentation?

Ответить
@2xKTfc
@2xKTfc - 18.06.2023 22:50

So much effort for messages that nobody can ever find again anyway 😂Seriously, Discord scrollback might as well be write-only it's so unusable. :(

Ответить
@willianrocha8615
@willianrocha8615 - 18.06.2023 22:46

Only 9 days what a huge achievement

Ответить
@piyushkatariya1040
@piyushkatariya1040 - 18.06.2023 21:00

The real beauty of ScyllDB lies in Seastar framework which bypasses OS kernel to achieve close to metal speed. Also, Cassandra 5.0 which will release in few months from now won't have this issues and will much higher throughput as it will be able to compile against Java 17 SDK and might also probably run Java 21 which has Generational ZGC garbage collector which gives you sub milliseconds latency. Cassandra also have the advantages of defining aggregate function in Java or JS and run in Casandra DB instance itself rather than fetching all data in application server which is super expensive.

Ответить
@aunghtayoo337
@aunghtayoo337 - 18.06.2023 10:52

"of course. Migration production data is no joke!". Thanks for the quality contents.

Ответить
@ariganeri
@ariganeri - 18.06.2023 10:48

Really good content. Just one point - writes go to both the local SSDs and the persistent disks at the same time. Write-mostly in Linux md means that reads go to the other disks, so in this case the local SSDs.

Ответить
@MinhHoang-fu7tt
@MinhHoang-fu7tt - 18.06.2023 10:27

Amazing topic!!!

Ответить
@shinmini99
@shinmini99 - 18.06.2023 03:53

thanks for content :)

Ответить
@NapoleonPosada
@NapoleonPosada - 17.06.2023 23:59

Amazing. I have read about the features of Scylla but this a definitive proof that is an excellent database.

Ответить
@TheSelectmax
@TheSelectmax - 17.06.2023 23:53

Thanks for the content. A little introduction was missing what kind of database this is and why it is better, except for C++ under the hood

Ответить