How does YouTube handle millions of video notifications at once, while Discord can barely send out a couple thousand @everyone?

162 views

How does YouTube handle millions of video notifications at once, while Discord can barely send out a couple thousand @everyone?

In: 13

4 Answers

Anonymous 0 Comments

Google has a top notch Cloud Computing Service called Google Cloud Platform (GCP). There are many services that can be used to manage this kind of needs. Like ”Pub/Sub” which can hold a message until it’s delivered with a throughput of 10k messages per second. Google has probably use its own plateform or something stronger so each video / YouTube creator is marked as a ”PUBlisher” and watchers are marked as ”SUBscriber”. Once a new video is created, the publisher generate a message that will be delivered to every subscribers.

You are viewing 1 out of 4 answers, click here to view all answers.