Did you ever imagine how quick google fetches the results when you search some text?. Here we see what goes on when you search on google.
Like most search engines, google is continuously crawling throw the web cataloging and storing the billions of pages there. When you search for something, the system calls up these cached pages so that it can respond to you quickly.
Below are the cycles happening when you google.
Once you enter the text to be searched,
1. It is sent to the google web server
This is a network of more than 10,000 computers linked together and connected to the internet.
2. The query is sent to the index servers.
The content of the index servers is like the index in a book. It indicates which pages contain the words that matches your query and where those pages are stored in the document servers.
3. The query travels to the document servers which retrieve the stored pages.
Using page rank software, the system measures the importance of a page by solving an equation of more than 500 million variables and two billions terms. It then displays a ranking of the best known and most visited pages. Since these pages have the most complete information on the given subject, they are the ones you are likely to want.
4. Snippets are generated to describe each search result.
5. Search results are returned to you (10 per page).
The whole process takes about HALF A SECOND…:)