Software architecture interview · Software Engineer
Distributed web crawler
- Level
- Staff
- Length
- About 55 minutes
- Format
- A diagram canvas you draw on as you talk
- Crawl scheduling
- Politeness
- Deduplication
- Distributed workers
The problem
Design a web crawler that starts from a set of seed URLs and downloads as much of the public web as it can, say ten billion pages within about five days, extracting the text and the links for a downstream search index or model-training pipeline.
The rest of the problem, the interviewer's follow-ups and your report come with the practice interview.
How the interview runs
- Introductions and framing5 min
- Requirements clarification and scoping7 min
- Estimation, core entities and API6 min
- High-level design12 min
- Deep dives15 min
- Wrap-up5 min
- Their questions5 min
Our library of software architecture problems
URL shortener (Bitly-like)Mid-level
Distributed API rate limiterMid-level
Distributed web crawler · This problemStaff
Event ticketing under flash-sale load (Ticketmaster-like)Senior