skip to content

part 7 · sources checked 2026-11-22

the crawl frontier and the revisit policy

This module shows how to build the scheduler of a large collector, and how its load looks to each site.

purpose

The crawl frontier decides which URL a large collector fetches next, from which host, and when it fetches a known page again.

After the module, you can build a frontier in your own lab and set a revisit schedule from the measured change rates. You can also prove with a load test that each host gets a polite load, and say what that load looks like to a site.

objectives

  1. Write a URL normalization step with a test set, and measure the duplicate URLs that each rule removes.
  2. Find each near-duplicate page with a similarity hash, and choose a threshold from a labeled lab sample.
  3. Build a frontier with one host queue for each host and a heap of the next-allowed times.
  4. Parse and cache robots.txt by the rules of RFC 9309, and test each status case.
  5. Estimate the change rate of each page, and set a revisit schedule that gives the most freshness for a budget.
  6. Find each crawler trap with budget rules, and explain how a defender uses a trap to identify a crawler.
  7. Store captures and revisits in WARC files with an index.
  8. Run an open-loop load test of the frontier, and report the arrival pattern at each lab host.

lessons

0 of 8 published

a dim title is not yet published

  1. L01 url normalization and duplicate detection (not yet published)
  2. L02 host queues and politeness (not yet published)
  3. L03 the revisit policy and freshness measures (not yet published)
  4. L04 crawler traps and the crawl budget (not yet published)
  5. L05 storage and the archive format (not yet published)
  6. L06 a load test of the frontier (not yet published)
  7. L07 select a source before a crawl (not yet published)
  8. L08 the frontier at size (not yet published)