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
- Write a URL normalization step with a test set, and measure the duplicate URLs that each rule removes.
- Find each near-duplicate page with a similarity hash, and choose a threshold from a labeled lab sample.
- Build a frontier with one host queue for each host and a heap of the next-allowed times.
- Parse and cache robots.txt by the rules of RFC 9309, and test each status case.
- Estimate the change rate of each page, and set a revisit schedule that gives the most freshness for a budget.
- Find each crawler trap with budget rules, and explain how a defender uses a trap to identify a crawler.
- Store captures and revisits in WARC files with an index.
- 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
- L01 url normalization and duplicate detection (not yet published)
- L02 host queues and politeness (not yet published)
- L03 the revisit policy and freshness measures (not yet published)
- L04 crawler traps and the crawl budget (not yet published)
- L05 storage and the archive format (not yet published)
- L06 a load test of the frontier (not yet published)
- L07 select a source before a crawl (not yet published)
- L08 the frontier at size (not yet published)