Skip to content
Minute Campus.

How real companies do itLesson 101 min

How does Google search billions of pages in under a second?

Google does not read the web while you wait. Its index works like the index at the back of a book: for each word, a list of the pages it appears on. Searching three words means pulling three ready-made lists and finding the pages on all of them, without opening any page. Crawlers keep visiting pages and following links to keep the lists fresh.

Remember

When a question will be asked millions of times, do the work once, in advance.

Sources

Checked at the source.

Every claim in the lesson was checked against these before it was recorded.

  1. 1How Search works: organizing informationGoogle · read 4 Oct 2026The index covers hundreds of billions of pages and works like a book's index; crawlers visit pages and follow links.

Transcript

The lesson, word for word.

Read it at your own pace, or search the page for a term.

Google answers a search in under a second. It is not reading the web while you wait. It did the reading earlier. In Google's own words, its index covers hundreds of billions of pages, and works like the index at the back of a book, with an entry for every word seen on every page. A book's index does not list pages and what they say. It lists words, and for each word, the pages it appears on. Turn the web round like that, and searching becomes a lookup. You type three words. The system pulls three ready-made lists and finds the pages that are on all of them. No page is opened. Programs called crawlers keep visiting pages and following links, to keep the lists fresh. Engineers call this an inverted index. The lesson: when a question will be asked millions of times, do the work once, in advance.

Questions? Comment on the lesson on YouTube

New lessons every day.

Follow Minute Campus where you already scroll.