Advanced Walkthrough: A Web Crawler
System Design · Advanced Walkthroughs · Master · 30 min
Design a crawler that fetches a billion pages a month without hammering any website: the URL frontier, per-host politeness, robots.txt, URL and content dedup, distributed workers and recrawl scheduling, then code the polite frontier.
This lesson is part of TuringPath Pro. See plans.
What you will learn
- 1. Requirements and numbers
- 2. Interfaces and data model
- 3. High-level design
- 4. Deep dive: the frontier and politeness
- 5. Deep dive: dedup, robots.txt and traps
- 6. Trade-offs and failure modes
More in Advanced Walkthroughs
- Advanced Walkthrough: A Dynamo-style Key-Value Store
- Advanced Walkthrough: A Payment System
- Advanced Walkthrough: A Collaborative Editor (Google Docs)
- Advanced Walkthrough: Ticket Booking (Ticketmaster)
Previous: Advanced Walkthrough: A Collaborative Editor (Google Docs) · Next: Advanced Walkthrough: Ticket Booking (Ticketmaster)