Labs
โบ
web search engine
0 / 13
steps
Step 1 of 13 ยท Intro
Design a web search engine
Crawl the web, index it, and answer queries in milliseconds.
How it works
โบ
Crawl: fetch pages politely and prioritise what changes (write-heavy, background).
โบ
Index: turn pages into an inverted index split across machines.
โบ
Query: parse, fan out to shards, rank, and return in tens of milliseconds (read-heavy).
What you'll build
The API and the crawl, page and index data
A cached query path
A crawl-to-index pipeline with a stream
A sharded index behind edge and result caches
Designs that survive a cold cache, a lost shard and a lost indexer