LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   How does google work? (https://www.linuxquestions.org/questions/general-10/how-does-google-work-266716/)

dlublink 12-15-2004 11:47 AM

How does google work?
 
I noticed that Google.com claims to search about 8 billion pages.

How is it that when I click Search it takes less than a second to search all 8 billion pages?

Even if an entire page could be searched in one clock cycle(which it can't be), the fastest servers I have seen are 3 gigagherts. At one page per cycle that google.com would need 8 gigahertz.

Obviously it takes a lot more than 1 cycle to search a page, a lot more than 1. So how does google.com (or any other search engine) come up with such incredible power?

Does it have a crazylinked database where everyword in the database has like a million links?

Curiosity has gotten the better of me.

Thanks,

David

mermxx 12-15-2004 12:29 PM

PIGEONS!!!! check out this link!!!!
http://www.google.com/technology/pigeonrank.html

david_ross 12-15-2004 01:07 PM

Moved: This thread is more suitable in General and has been moved accordingly.

ddu_ 12-15-2004 02:40 PM

Not sure if it's what you want, but I have a .pdf of the Google Cluster Architecture.

http://www.digitalcarnage.net/files/...chitecture.pdf

dawizman 12-16-2004 12:29 AM

Google Uses the power of clusters. Basically, they have hundreds, possibly thouthands of top-end servers with multiple processors linked together, essentially combining their processors into one. So, for an example, if they were to only have say 200 computers clustered together, each with 2 2Ghz processors that would be 400 2ghz processors, or 800Ghz of processing power. In reality, google likely has far more servers with more, faster processors per server. Anyway, that is just a basic explanation of how google searches so fast. Hopefully another memmber will have another link to a better explanation.

nex6 12-16-2004 02:32 PM

Google has one of the largest Linux farms anywhere. I think they have a custimized version of redhat . with that much processing power
they can do pretty much anything they want.


http://www.internetweek.com/lead/lead060100.htm


-Nex6

Joey.Dale 12-16-2004 02:53 PM

Google's cluster

* 719 racks
* 63,272 machines
* 126,544 CPUs
* 253,088 GHz of processing power
* 126,544 GB of RAM
* 5,062 TB of hard drive space

November 2004: 8,058,044,651 web pages, 880,000,000 images, 845,000,000 messages, 4,500 news sources

dlublink 12-20-2004 09:13 PM

Holy Crap
 
I am glad I am not paying that electricity bill....


Thanks guys! I knew that Google had some crazy clusters. But WOW! that is a lot of machines.

David

slackist 12-21-2004 12:13 PM

Quote:

Originally posted by Joey.Dale
Google's cluster

* 719 racks
* 63,272 machines
* 126,544 CPUs
* 253,088 GHz of processing power
* 126,544 GB of RAM
* 5,062 TB of hard drive space

November 2004: 8,058,044,651 web pages, 880,000,000 images, 845,000,000 messages, 4,500 news sources

Wow,*very cool info*, where did you find it?

mark

dawizman 12-21-2004 02:40 PM

Quote:

Originally posted by chefmark
Wow,*very cool info*, where did you find it?

mark

I've seen those figures around the net and AFAIK they are just estimates.

leonscape 12-21-2004 02:47 PM

I also presume that what those clusters are running is an searchable index of keywords in a generated database. Not actually searching each and every page.

Joey.Dale 12-22-2004 05:51 PM

http://en.wikipedia.org/wiki/Google

-Joey

winword10 12-22-2004 06:21 PM

I like tacos.

dawizman 12-23-2004 01:45 AM

Quote:

Originally posted by Joey.Dale
http://en.wikipedia.org/wiki/Google

-Joey

Again, to clarify, if you read the info in that link, it says that those statistics are only an estimate or googles cluster size. Th only people who would know 100% would be Google employees.

ror 12-23-2004 02:29 AM

Re: How does google work?
 
Quote:

Originally posted by dlublink

Even if an entire page could be searched in one clock cycle(which it can't be), the fastest servers I have seen are 3 gigagherts. At one page per cycle that google.com would need 8 gigahertz.

afaik (and this is both rough and from memory)
Thankfully, that's not how it works. Pages don't get searched when you search, instead when pages are added, hashes of strings on the page are stored, and that's what is searched. Searching actual pages would be far too slow (impossibly slow), although it would mean wildcard searches would possible, something google (and other search engines) can't do.


All times are GMT -5. The time now is 02:26 PM.