Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

How high read, (very) high write databases are handled?

$
0
0

I was recently going through some system design videos and stumbled upon youtube system design. And some of the specs mentioned in the video made me wonder how youtube handles all the comments on its platform. There must be billions of entries daily in the "comments" table.

  1. Is all that stored in a single table? Is a table with trillions of entries maintainable?

  2. How does fetching comments for a particular video works? Shouldn't the latency be super high considering the data to look through?

  3. If there is some indexing based on, say video_id, would the index be maintainable?

  4. 10 year old videos can have 10 year old comments as well as 1 day old comments. So, does partitioning play any kind of role here?

  5. Another important thing would be comment threads. How are those maintained?

I tried googling the stuff but could not find anything relevant. Any help would be appreciated.


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>