Загрузка...

Why does youtube shows two different two different counts? #youtubeshorts #ytshorts #systemdesign

The core concept here is Eventual Consistency — a fundamental distributed systems idea.

What’s actually happening:

YouTube has two separate systems counting views:

1. Real-time counter (what the feed shows) — fast, lightweight, runs close to the edge. Prioritizes speed over accuracy.

2. Analytics pipeline (what Studio shows) — runs through a heavy data pipeline (think Apache Kafka + batch processing), filters out spam/bot views, deduplicates, then writes the final count. Slower but accurate.

Why they differ:

• These are two independent write paths

• They don’t talk to each other in real time

• The analytics count is actually more accurate because it’s post-processed

• Eventually both converge to the same number — hence Eventual Consistency

#dsa #systemdesign #coding #leetcode #youtube

[ System Design, Concepts, Youtube, FAANG, Leetcode, Coding ]

Видео Why does youtube shows two different two different counts? #youtubeshorts #ytshorts #systemdesign канала Bytes Behind
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять