Skip to content
Theory · Web crawler · lesson 8 of 10

What breaks and what it costs

When the diagram is ready, the interviewer walks through it and asks: "What if this breaks?" A crawler has two sources of failure. The first is other people's sites: 5% of fetches fail, and some sites produce URLs forever. The second is our own machines: a frontier node keeps millions of URLs in memory, and it can fail at any moment.

In this lesson

  • A failed fetch
  • A host that does not answer
  • DNS
  • Endless sites
  • A frontier node fails
  • Other failures
  • Common mistake
  • Key points