Design Near-Real-Time Indexing of Breaking News for Google Search
Last updated: November 29, 2026
Quick Overview
Design the pipeline that discovers, indexes, and serves newly published news articles in Google Search results within a couple of minutes, alongside the much larger and slower main web index.
0
0
0 solved
Design the pipeline that discovers, indexes, and serves newly published news articles in Google Search results within a couple of minutes, alongside the much larger and slower main web index.
Search freshness is a long-running Google problem: the main index rebuilds over hours or days, but breaking news must appear in minutes. Interviewers check a tiered index design, fast discovery, and how results from tiers are merged and ranked.
What the Interviewer Expects
- Proposes a separate fresh tier alongside the base index
- Explains fast discovery via feeds, sitemaps, and pings
- Designs incremental indexing instead of batch rebuilds
- Merges tiers at serving time with dedup
- Handles spam and quality on fresh content
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you rank a page with no link signals yet?
- How does a fresh document graduate into the base index?
- How do you prevent spam from abusing the fast path?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: discover new articles from known publishers within seconds to a minute; index and serve them within about two minutes; merge into regular search results and news features; update when ...
High-Level Design
- Discovery: poll RSS/Atom feeds and news sitemaps of known publishers at adaptive rates; accept publisher pings (IndexNow-like or push notifications); watch links on frequently changing hub page...