Complete the code to identify the main component responsible for storing user posts in a news feed system.
The component that stores all user posts is called the [1].The Post Database stores all user posts which are later fetched to generate the news feed.
Complete the code to specify the process that combines posts from followed users to create a personalized feed.
The process that combines posts from followed users is called the [1].
Feed Aggregation collects posts from all followed users to build the personalized news feed.
Fix the error in the description of the caching layer used to speed up feed retrieval.
The caching layer stores [1] copies of the news feed to reduce database load.The caching layer stores temporary copies to quickly serve feeds without hitting the database every time.
Fill both blanks to complete the description of feed generation methods.
In [1] feed generation, posts are combined in real-time, while in [2] feed generation, feeds are precomputed and stored.
Pull-based feed generation fetches posts when requested (real-time). Push-based precomputes feeds and pushes them to users.
Fill all three blanks to complete the description of components in a scalable news feed system.
The [1] handles user requests, the [2] stores posts, and the [3] speeds up feed retrieval by caching.
The API Gateway manages user requests, the Post Database stores posts, and the Cache Layer speeds up retrieval.
