You are viewing an old version of this content. View the current version.
Compare with Current View Version History
« Previous Version 12 Next »
On this page.
News feed is the constantly updating list of stories in the middle of the home page. It includes status updates, photos, links, video, etc.
Accessible via Mobile App or/and Web App ?
Both
Features ?
Publish and See other posts (from other users)
How is sorted the news feed ?
Reverse chronological order
How many friends user can have ?
5000
Traffic volume ?
10 million per day, active users
Contain images, videos or just text ?
All.
2 flows :
Feed publishing → user publishes a post, corresponding data is written into cache and DB.
Newsfeed building → news feed is built by aggregating friends’ posts in reverse chronological order.
Focus is on Web servers and the fanout service.
Focus is on the CDN and the News Feed Service :
Service fetches complete user and post objects from caches.
News feed is returned in JSON format back to the client for rendering.
Need to validate how to scale the DB (Master-Slave replication, Read Replicas, DB Sharding, etc.)
How to keep Web Tier Stateless
etc…