Grokking the Modern Frontend System Design Interview
Vote

0% completed

​

Design a News Feed

Murmur is a social network. Suppose its users read the home feed in sessions of about ten minutes, and a reader passes one post every 4 seconds. A ten-minute session then shows 150 posts, and about a third of them carry a photo or a video.

Now suppose each post card is built from about 120 page elements: the author row, the text, the media, the counts and the buttons. If the page keeps every card it has shown, it holds 150 x 120 = 18,000 elements at the end of the session. Every new batch of posts is then added to a larger page, and scrolling gets slower the longer the reader stays.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content