Two requirements pull the frontier in opposite directions. The crawler must make 800 fetches a second and fetch popular pages first. And each host must get at most one request at a time, at most once every 2 seconds. A plain first-in, first-out queue meets neither. This lesson is about the queue that meets both.
In this lesson
- Two layers
- Worked by hand
- Hosts across nodes
- Politeness against freshness
- Common mistake
- Key points