4 ms·
100M page views per day is 1157 page views per second. I wonder how that's being blown up by a factor of 300? I suppose if each video's metadata causes a redi
by chubot 15y ago
100M page views per day is 1157 page views per second. I wonder how that's being blown up by a factor of 300?
I suppose if each video's metadata causes a redis lookup and there are 300 videos displayed per page that would do it, but you'd think you could batch those lookups. It seems a fairly inefficient.
Either that or they have some background jobs causing redis lookups that aren't a result of page views.
- memoryfault 15y agoPerhaps the 300k/s figure was at peak load.
- n_time 15y ago...
- eric-hu 15y agoThere's 30 videos on the front page. Mousing over the image preview of a video displays a series of preview images. There were 76 requests made as observed from the net tab in Firebug. The majority of these requests seemed to be for those video images. Note that I'm using an adblocker and refuse to check out the site without it. Note also that they said 300k queries. There could be constantly-running background jobs doing conversion, pulling those preview frames, and crunching numbers on the metadata.