How it works
A crawler discovers pages by fetching seed URLs (its starting list), extracting links, and scheduling useful new URLs. For a search index, the output is a stream of documents and metadata for indexing; an archive may retain the fetched bytes instead. Common Crawl, which publishes crawl snapshots for anyone to use, sits closer to the archive end. Decide which domains and content types are in scope, how many pages to fetch, how long to retain them, and how quickly changes should appear.
Capacity starts with attempts, not just stored pages. As an illustration, 600 million fetches per month is roughly 230 fetches per second on average over 30 days. If pages average 150 KB, that is about 35 MB per second, or about 280 Mbit/s, and 90 TB of raw bytes each month. Keeping every fetch for five years would take 5.4 PB, which an index storing only parsed text can avoid. Peak load, retries, redirects, and recrawls increase the real budget.
A crawler must also be polite and robust: the public web contains slow hosts, malformed responses, loops, and changing rules. That makes one expensive to run for a narrow job. If you need data from three partner sites, a sitemap reader, a published API, or a data feed is usually cheaper than a general crawler.
A team asks for “a web crawler” but has not decided whether it is an archive or a search index. What do you ask first?
Clarify coverage, content types, retention, freshness, and the output consumer. An archive needs retained versions; a search index needs parsed documents and links.
Use this as a guide for self review; written answers are not graded.Keep in mind
- A crawl objective determines what to fetch, keep, and hand to consumers.
- Estimate peak fetches, bytes, retries, and recrawls separately.