AlgoViz

Design a URL crawler

hard 60 min

Start from a few addresses, download pages, find links, and repeat a billion times a month.

Mock interview

Answer against the clock, then score yourself.

0:00 of 45:00

Design a web crawler that fetches a billion pages a month for a search engine. You have 45 minutes. Start the clock, answer each step out loud, write the key points, then score yourself.

Step 1 of 7 · 5 min

Scope

Interviewer

Design a web crawler. Where do you begin?

Cheat sheet (open after you finish)

Interview cheat sheet

  • 1B pages a month: 386/s, 1,157/s at peak; over a thousand hosts ready.
  • One owner for each host; one request a second; 5xx on robots means closed.
  • 31,000 link checks a second; Bloom filter 18 GB at 0.1%.
  • Pages: 12.5 TB a month compressed, in 1 GB files.
  • Returns: learned interval, conditional request, due buckets.
  • Traps: budgets for each host, not only depth.