Question:
how does google search engin work?
KAMYMOINI
2006-04-30 11:07:55 UTC
how does google search engin work?
Nine answers:
Ced
2006-04-30 11:10:30 UTC
Your continued donations keep Wikipedia running!

Google platform

From Wikipedia, the free encyclopedia

Jump to: navigation, search



For the company, see Google, Inc.; for the search engine see Google search; for other uses see Google (disambiguation).



Google Company Logo

Enlarge

Google Company Logo



Google, being one of the most popular Internet search engines, requires large computational resources in order to provide their service. This article describes Google's technological infrastructure, as presented in the company's public announcements.

Contents

[hide]



* 1 Network topology

* 2 Main index

* 3 Server types

* 4 Server hardware and software

o 4.1 Original hardware

o 4.2 Current hardware

* 5 Server operation

* 6 References

* 7 External links



[edit]



Network topology



Google has several clusters in locations across the world. When an attempt to connect to Google is made, Google's DNS servers perform load balancing to allow the user to access Google's content most rapidly. This is done by sending the user the IP address of a cluster that is not under heavy load, and is geographically proximate to them. Each cluster has a few thousand servers, and upon connection to a cluster further load balancing is performed by hardware in the cluster, in order to send the queries to the least loaded Web Server.



Racks are custom-made and contain 40 to 80 servers (20 to 40 1U servers on either side), new servers are 2U Rackmount systems. Each rack has a switch. Servers are connected via a 100 Mbit/s Ethernet link to the local switch. Switches are connected to core gigabit switch using one or two gigabit uplinks.

[edit]



Main index



Since queries are composed of words, an inverted index of documents is required. Such an index allows obtaining a list of documents by a query word. The index is very large due to the number of documents stored in the servers, therefore it needs to be split up into "index shards". Each shard is hosted by a set of index servers. The load balancer decides which index server to query based on the availability of each server.

[edit]



Server types



Google's server infrastructure is divided in several types, each assigned to a different purpose:



* Google Web Servers coordinate the execution of queries sent by users, then format the result into an HTML page. The execution consists of sending queries to index servers, merging the results, computing their rank, retrieving a summary for each hit (using the document server), asking for suggestions from the spelling servers, and finally getting a list of advertisements from the ad server.



* Data-gathering servers are permanently dedicated to spidering the Web. They update the index and document databases and apply Google's algorithms to assign ranks to pages.



* Index servers each contain a set of index shards. They return a list of document IDs ("docid"), such that documents corresponding to a certain docid contain the query word. These servers need less disk space, but suffer the greatest CPU workload.



* Document servers store documents. Each document is stored on dozens of document servers. When performing a search, a document server returns a summary for the document based on query words. They can also fetch the complete document when asked. These servers need more disk space.



* Ad servers manage advertisements offered by services like AdWords and AdSense.



* Spelling servers make suggestions about the spelling of queries.



See also: List of Google server types



[edit]



Server hardware and software

[edit]



Original hardware



The original hardware circa 1998 used by Google included:



* Sun Ultra II with dual 200MHz processors, and 256MB of RAM. This was the main machine for the original Backrub system.

* 2 x 300 MHz Dual Pentium II Servers donated by Intel, they included 512MB of RAM and 9 x 9GB hard drives between the two. It was on these that the main search ran.

* F50 IBM RS6000 donated by IBM, included 4 processors, 512MB of memory and 8 x 9GB hard drives.

* Two additional boxes included 3 x 9GB hard drives and 6 x 4GB hard drives respectively (the original storage for Backrub). These were attached to the Sun Ultra II.

* IBM disk expansion box with another 8 x 9GB hard drives donated by IBM.

* Homemade disk box which contained 10 x 9GB SCSI hard drives



[edit]



Current hardware



Servers are commodity-class x86 PCs running customized versions of Linux. Indeed, the goal is to purchase CPU generations that offer the best performance per unit of power, not absolute performance. The biggest cost that Google faces is electric power consumption given the huge amount of computing power required. Estimates of the electric power consumption required for 100,000 servers range upwards of 20 Megawatts which could cost on the order of 1-2 million $US per month in electricity charges.



For this reason, the Pentium II has been the most favoured processor, but this could change in the future as processor manufacturers are increasingly limited by the power output of their devices.



Published specifications:



* 100,000 servers ranging from 533 MHz Intel Celeron to dual 1.4 GHz Intel Pentium III (as of 2005)

* One or more 80GB hard disk per server. (2003)

* 2–4 GiB memory per machine (2004)



The exact size and whereabouts of the data centers Google uses are unknown, and official figures remain intentionally vague. According to John Hennessy and David Patterson's Computer Architecture: A Quantitative Approach, Google's server farm computer cluster in the year 2000 consisted of approximately 6000 processors, 12000 common IDE disks (2 per machine, and one processor per machine), at four sites: two in Silicon Valley, California and two in Virginia. Each site had an OC-48 (2488 Mbit/s) internet connection and an OC-12 (622 Mbit/s) connection to other Google sites. The connections are eventually routed down to 4 x 1 Gbit/s lines connecting up to 64 racks, each rack holding 80 machines and two ethernet switches. Google has almost certainly dramatically changed and enlarged their network architecture since then.



Based on the Google IPO S-1 form released in April 2004, Tristan Louis estimated the current server farm to contain something like the following:



* 719 racks

* 63,272 machines

* 126,544 CPUs

* 253 THz of processing power

* 126,544 GB (approx. 123.58 TB) of RAM

* 5,062 TB (approx. 4.77 PB) of hard drive space



According to this estimate, the Google server farm constitutes one of the most powerful supercomputers in the world. At 126–316 teraflops, it can perform at over one third the speed of the Blue Gene supercomputer, which is (as of 2006) the top entry in the TOP500 list of most powerful unclassified computing machines in the world.

[edit]



Server operation



Most operations are read-only. When an update is required, queries are redirected to other servers, such as to simplify consistency issues. Queries are divided into sub-queries, where those sub-queries may be sent to different ducts in parallel, thus reducing the latency time.



In order to avoid the effects of unavoidable hardware failure, data stored in the servers may be mirrored using hardware RAID. Software is also designed to be fault tolerant. Thus when a system goes down, data is still available on other servers, which increases the throughput.

[edit]



References



1. Google Research Publications - A list of papers on Google's platform. Last accessed October 2, 2005.

2. Luiz André Barroso, Jeffrey Dean, Urs Hölzle (2003). "Web Search for a Planet: The Google Cluster Architecture". IEEE Micro 23 (2): 22–28.

3. How many Google machines, by Tristan Louis



[edit]



External links



* 2002 University of Washington Lecture by Google Fellow Urs Hölzle — About Google's Linux cluster

* The Magic of Google - The Big Factor - web-published article about Google's hardware

* Secret Source of Google's Power





Google

Services, tools, hardware, technology, features, and software

Google search | AutoLink | AdSense | AdWords | AjaXSLT | Googlebot | Blogger.com | Google Alerts | Google Analytics | Google Base | Google Calendar | Google Compute | Google Desktop | Google Earth | Google File System | Froogle | GDrive | Gmail | Google Groups | Hello | KML | Google Labs | Google Maps | MapReduce | Mediabot | Google News | Google OS | Orkut | Google Pack | Google Page Creator | PageRank | Google platform | Picasa | Google Reader | Google Ride Finder | Google Search Appliance | Google Secure Access | Google Sets | Google Sitemaps | Sketchup | Google SMS | Google Talk | Googletestad | Google Transit | Google Translate | Google Video | Google Video Marketplace | Google Web Accelerator | Google WiFi | Writely | Google X

Terminology and concepts

Argumentum ad Google | Google economy | Google (verb) | Google bomb | Googleating | Googlebait | Googlewhack | Google juice | SEO contest | Schnitzelmitkartoffelsalat | Google Talk (game)

History and criticism

Google logo | Google and privacy issues | History of Google | Google's hoaxes | Miserable failure | Google Watch

Other

ElgooG | Google Founders' Award | Googlefight | Googleplex | Google Hacks | List of Google server types | List of websites with a high PageRank | Pyra Labs | Google consultant | Scroogle | Google Space | Google Current | Google Summer of Code | Urchin Software Corporation | List of Acquisitions by Google

Retrieved from "http://en.wikipedia.org/wiki/Google_platform"



Categories: Google | Supercomputers

Views



* Article

* Discussion

* Edit this page

* History



Personal tools



* Sign in / create account



Navigation



* Main Page

* Community Portal

* Featured articles

* Current events

* Recent changes

* Random article

* Help

* Contact Wikipedia

* Donations



Search



Toolbox



* What links here

* Related changes

* Upload file

* Special pages

* Printable version

* Permanent link

* Cite this article



MediaWiki

Wikimedia Foundation



* This page was last modified 02:56, 11 April 2006.

* All text is available under the terms of the GNU Free Documentation License (see Copyrights for details).

Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc.

* Privacy policy

* About Wikipedia

* Disclaimers
anonymous
2016-05-20 03:15:22 UTC
For a start, you will attract NO real interest unless you register your own domain name. A sub-domain, which is what you have, will always look unprofessional. You then need to make the site interesting to your intended customers and try to get links to it in as many sensible locations (areas where you actually work) as you possibly can. NO company can make you go top of the list. MY listing is normally about page 3, sometimes 4, on Google, often higher on all the other search engines, but a person entering additional words to the search can go up (even an odd page 1) or down (not found in 50 pages) depending on the relevance (and spelling) of the word. Ignore the commercial companies who promise the world, They don't own it (although maybe Microsoft do).
rohit
2006-04-30 11:14:44 UTC
well it works like all other search engines. it is actually a meta search engine. queries sent to the main server are sent to other servers for searching, any matching results are sent back to the main server ,where results are populated and sent to the specific node(computer that asked to search) in the network.results are returned within milli seconds, since servers function at very faster rates than pc's.no.of results displayed are in thousands. it is your task to choose the right result.
wandering nomad
2006-05-01 00:17:05 UTC
the same way w/ yahoo search engine...
blueeyedboy
2006-04-30 11:25:03 UTC
can't let the genie out of the bottle
yogesh
2006-04-30 11:10:51 UTC
they never told me how it works.
clark10clark
2006-04-30 11:09:31 UTC
very carefully
tazdevil007au
2006-04-30 11:10:50 UTC
WITH UNLEADED PETROL I THINK HA HA
anonymous
2006-04-30 11:10:11 UTC
It doesn't.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...