Design a service that subscribes to many RSS/Atom feeds on a schedule, normalizes entries, deduplicates by guid/link, and exposes a unified timeline API for users. Handle etag/Last-Modified for efficient polling and detect stale or broken feeds.
Functional requirements
- Add feed URL per user or globally shared catalog
- Fetch on schedule with conditional GET
- Parse and store entries with title, link, published time
- User follows feeds and reads merged timeline paginated
Non-functional requirements
- Polite crawling: respect robots and default minimum intervals
- Deduplicate overlapping feeds and updates
- Fault isolation so one bad XML does not stop the poller