GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.