KatInterview

Build a Multi-Source Content Aggregation Platform

System DesignModel answer
MediumModel answerSystem Designfeed-systemspersonalizationdata-ingestion

Last updated

Architect a system that collects content from diverse publishers, identifies user interests, and assembles personalized feeds with timely updates.

Design an aggregation platform that pulls content from multiple publishers and assembles customized feeds for readers based on their interests.

Readers can subscribe to categories and publishers. When someone joins without selecting preferences, they should see a sensible general selection. Time-sensitive content must reach all readers quickly when designated as urgent, without permanently displacing their personalization settings. Evaluate different feed assembly patterns and choose an approach that balances pre-computation with on-demand generation.

Requirements

  • Content may appear from multiple publishers due to syndication
  • Readers scrolling through results must see stable ordering even as new content arrives
  • Reader preferences for categories and publishers will evolve over time

Important Clarifications

  • What criteria determine urgent status and who controls that designation?
  • What latency targets apply to regular content versus urgent updates?
  • Should reader preferences completely hide content or simply deprioritize it?

Hints

Hint 1

Consider how to recognize duplicate content arriving from different publishers

Hint 2

Think about whether feeds should be assembled when content arrives or when readers request them

Hint 3

Plan how to insert urgent content without disrupting pagination state for active readers