This question evaluates expertise in large-scale system design, including feed generation and ranking, API and data model design, scalability and consistency trade-offs, and real-time signal processing for social feeds.
Build a paginated dashboard that shows a curated list of the top X tweets for each user.
The ranking/curation should incorporate signals such as:
tweet_id, text, account_id, created_at
follow_from_account_id, follow_to_account_id, created_at
tweet_id, liked_from_account_id, created_at
account_id, created_at
Design APIs, storage, and the feed generation approach. Address scalability, consistency, and pagination.