Design Crawl Scheduling to Keep Bing's Index Fresh

Last updated: November 29, 2026

Quick Overview

Design the component of a web crawler that decides which URLs to fetch next and how often to recrawl each one, so a search engine's index stays fresh for pages that change while respecting each website's capacity.

Microsoft
System Design
Software Engineer
Microsoft
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the component of a web crawler that decides which URLs to fetch next and how often to recrawl each one, so a search engine's index stays fresh for pages that change while respecting each website's capacity.

Bing crawls billions of pages but cannot refetch everything constantly, so the core problem is prioritization: discovering new URLs, estimating change rates, and being polite to hosts. Microsoft interviewers expect a scheduler design with clear prioritization signals, per-host rate limiting, and an understanding of IndexNow-style push notifications that let sites announce changes.

What the Interviewer Expects
  • Separates URL frontier, scheduler, fetchers, and parsers
  • Prioritizes by importance, estimated change rate, and freshness value
  • Enforces per-host politeness and robots.txt
  • Deduplicates URLs and near-duplicate content
  • Integrates push signals (sitemaps, IndexNow) to reduce wasted crawls
  • Defines freshness and coverage metrics
Key Topics to Cover
URL frontier
Prioritization
Politeness
Change-rate estimation
Deduplication
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How would you estimate a page's change rate from a handful of past fetches?
  • A news site publishes 500 articles an hour: how do you get them indexed within minutes?
  • How do you detect and avoid crawler traps such as infinite calendar pages?
  • How would you split the crawl budget between discovering new pages and refreshing known ones?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: maintain a frontier of known URLs, choose what to fetch next, fetch, extract links, and feed content to indexing. Non-functional: billions of URLs, tens of thousands of fetches per second,...

High-Level Design

URLs come from link extraction, sitemaps, and push APIs like IndexNow. A URL Store keyed by normalized URL hash holds metadata: last fetch time, content hash, observed change history, importance s...


Submit Your Answer
Markdown supported