Design a URL crawler
hard 60 minStart from a few addresses, download pages, find links, and repeat a billion times a month.
Where it shows up
The same pattern appears across everyday software.
Search engines
A search index is only as good as its crawl. Google's own guide tells owners of large sites that each site gets a limited crawl budget.
Web archives
The Internet Archive's crawler, Heritrix, is open source. An archive wants old versions kept, so nothing is overwritten.
Public datasets
Common Crawl publishes petabytes of crawled pages as WARC files, a format that packs many pages into one large file.
Price and stock watchers
Shops compare prices by visiting a short list of pages often. Discovery hardly matters; the schedule is everything.
Site health checks
A spider walks one site to find dead links and missing titles. All requests go to one host, so politeness decides how long it takes.
Link previews
Chat programs fetch one page when a link is pasted. It is a crawler of depth zero, and must still defend itself from slow and huge answers.
Infinite calendars
A page with a next month link never ends. Nobody means harm, yet a naive crawler would follow it for ever.