System Design
20. System Design Case StudiesAnimated
Web Crawler
Fetch pages across the web politely.
The idea
A frontier queue of URLs, fetchers, a parser and a deduplication store.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
Start from seed URLs in a priority queue.
- step:
- 1/4
- at:
- Seed URLs
1/10
The green dot is a request moving through the system.
Step by step
- 1Take a URL from the frontier
- 2Fetch it politely
- 3Parse and extract links
- 4Deduplicate and enqueue
Where it is used
Search and data collection.
Watch out for
Politeness, traps and duplicates.