Your SlideShare is downloading. ×
  • Like
  • Save
Google history nd architecture
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.


Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Google history nd architecture



  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • ed3dfeff
    Are you sure you want to
    Your message goes here
No Downloads


Total Views
On SlideShare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. By:-
    Name: Divyangee Jain
    En no: 090410107015
    Class: TY CE-A
    Batch: A
  • 2. What is GOOGLE?
  • 3.
    • GOOGLE is the most popular search engine in the world.
    • 4. A public company based in Mountain View, California, it provides services such as e-mail, online mapping, office productivity, social networking, video sharing and an open source web browser.
  • 5. 4
    • Topics:
    • 6. History
    • 7. How google got name?
    • 8. Anatomy of google
    • 9. How google searches query?
    • 10. Page rank algorithm
  • History
  • 11.
    • The company was founded byLARRYPAGE and SERGEY BRIN,often dubbed the "Google Guys“,while they were attending Stanford University as PhD candidates
    • 12. It was first incorporated as a privately held company on September 4, 1998, and its initial public offering followed on August 19, 2004.
  • 13. 7
  • 14. 8
    Main AIM of GOOGLE:
    “To organize the world's information and make it universally accessible and useful”
  • 15. How Google Got the Name
    Google ?
  • 16.
    • The original name for the search engine was BackRub
    • 17. But Later Sergey and Larry decided to name the company number called a “Googol” – which is the number 1 followed by 100 zeroes(10100).
  • 18.
    • Then name 'Google' itself was derived from a misspelling of 'googol'
    which was picked to signify that the search engine wants to provide large quantities of information for people.
  • 19. Anatomy (Architecture) of google
  • 20. High level archit-ecture of GOOGLE
  • 21. 14
    Few words to acquaint with:
  • 22. 15
    • URL:
    • 23. A Uniform Resource Locator or Universal Resource Locator (URL) is a character string that specifies where a known resource is available on the Internet and the mechanism for retrieving it.
  • 16
    • DNS:
    • 24. Short for Domain Name System, an Internet service that translates domain names into IP addresses
    • 25. For example, the domain name might translate to
  • 17
    • docID
    • 26. The document index keeps information about each document.
    • 27. The information stored in each entry includes the current document status, a pointer into the repository, a document checksum, and various statistics, points to variable file which contains crawled pages’ URL.
  • 18
    • PARSING:
    • 28. Parse:to divide large components into small components that can be analyzed.
    • 29. PARSER: A program that dissects source code so that it can be translated into object code.
  • 19
    Components of architecture:
  • 30. 20
    Part 1:
  • 31. 1)CRAWLER
    • In Google, the web
    crawling ,(downloading
    of web pages)
    is done by several distributed crawlers.
    • Fragile application implemented in PYTHON
  • 32. 22
    • It involves interacting with hundreds of thousands of web servers and various name servers which are all beyond the control of the system.
    • 33. Each crawler keeps roughly 300 connections open at once. This is necessary to retrieve web pages at a fast enough pace.
  • 23
    At peak speeds, the system can crawl over
    four crawlers 100 web pages per second
    600K per second of data.
  • 34. 24
    • Each crawler maintains a its own DNS cache so it does not need to do a DNS lookup before crawling each document.
    • 35. Each of the hundreds of connections can be in a number of different states: looking up DNS, connecting to host, sending request, and receiving response.
  • 25
    • It uses asynchronous IO to manage events, and a number of queues to move page fetches from state to state.
    • 36. Due to huge amount of data involved,crawler can crash or behave unexpectedly.
  • 26
    • Systems which access large parts of the Internet need to be designed to be very robust and carefully tested.
    • 37. Since large complex systems such as crawlers will invariably cause problems, there needs to be significant resources devoted to reading the email and solving these problems as they come up.
  • 27
    2)URL server
    • URLserver sends
    lists of URLs(Uniform
    Resource Location)
    to be fetched to the crawlers.
  • 38. 3)Storeserver
    • The web pages that are fetched are then sent to the storeserver.
    • 39. The storeserver then compresses and stores the web pages into a repository.
  • 40. 4)REPOSITORY
    • The repository contains the full HTML of every web page.
    • 41. The choice of compression technique is a tradeoff between speed and compression ratio.
  • 30
    • Each page is compressed using zlib
    • 42. The compression rate on the repository of zlib is 3 to 1 compression.
    • 43. In the repository, the documents are stored one after the other and are prefixed by docID, length, and URL as can be seen in Figure.
  • 31
  • 44. 32
    Part 2:
  • 45. 33
    • Every web page has an associated ID number called a docID which is assigned whenever a new URL is parsed out of a web page.
    • 46. The indexing function is performed by the indexer and the sorter.
  • 34
    • The indexer performs
    a number of functions.
    • It reads the repository, uncompresses the documents, and parses them
  • 35
    • It passes through three stages as follows:
    • 47. Parsing
    • 48. Indexing Documents into Barrels
    • 49. Sorting
    • Each document is converted into a set of word occurrences called hits.
    • 50. The hits record the word, position in document, an approximation of font size, and capitalization.
  • 51. 37
    • The indexer distributes these hits into a set of "barrels", creating a partially sorted forward index.
    • The indexer performs another important function. It parses out all the links in every web page and stores important information about them in an anchors file.
    • 52. This file contains enough information to determine where each link points from and to, and the text of the link.
  • 53.
    • The URLresolver reads the anchors file and converts relative URLs
    into absolute URLs and
    in turn into docIDs.
    • It puts the anchor text
    into the forward index,
    associated with
    the docID that the
    anchor points to.
    Part 3:
  • 54. 40
    • It also generates a database of links which are pairs of docIDs.
    • 55. The links database is used to compute PageRanks for all the documents
    • The sorter takes the barrels, which are sorted by docID, and resorts them by wordID to generate the inverted index.
    • 56. This is done in place so that little temporary space is needed for this operation.
  • 57.
    • The sorter also produces a list of wordIDs and offsets into the inverted index.
    • 58. A program called DumpLexicon
    takes this list together with
    the lexicon produced by
    the indexer and generates
    a new lexicon to be used by
    the searcher.
  • 59.
    • The searcher is run by a web server and uses the lexicon built by DumpLexicon together with the inverted index and
    the PageRanks to answer queries.
  • 60. 44
  • 61. 45
    The goal of searching is to provide quality search results efficiently.
    • The google query evaluation process:
    • 62. Step 1:Parse the query.
    • 63. Step 2:Convert words into wordIDs.
  • 46
    • Step 3:Seek to the start of the doclist in the short barrel for every word.
    • 64. Step 4:Scan through the doclists until there is a document that matches all the search terms.
    • 65. Step 5:Compute the rank of that document for the query.
  • 47
    • Step 6:If we are in the short barrels and at the end of any doclist, seek to the start of the doclist in the full barrel for every word and go to step 4.
    • 66. Step 7:If we are not at the end of any doclist go to step 4.
    • 67. Sort the documents that have matched by rank and return the top k.
  • 48
    Page Rank Algorithm
  • 68. 49
    • PageRank
    • 69. a link analysis algorithm
    • 70. named after Larry Page
    • 71. assigns a numerical weighting to each element of a hyperlinked set of documents(such as www)
    • 72. purpose is "measuring" its relative importance within the set.
  • 50
    • Pages that GOOGLE believes are important pages receive a higher PageRankand are more likely to appear at the top of the search results
    • 73. PageRank also considers the importance of each page that casts a vote, as votes from some pages are considered to have greater value, thus giving the linked page greater value
  • 51
    • Web pages as nodes
    • 74. Hyperlinks as edges
  • 75. 52
    • Assume a small universe of four web pages: A, B, C and D.
    • 76. The initial approximation of PageRank would be evenly divided between these four documents.
  • 53
    • Hence, each document would begin with an estimated PageRank of 0.25.
    • 77. If pages B, C, and D each only link to A, they would each confer 0.25 PageRank to A.
    • 78. This is 0.75
  • 54
    B C and A
    • page B gives a vote worth 0.125 to page A and a vote worth 0.125 to page C.
    D A,B and C
  • 79. 55
    • The PageRank value for a page u is dependent on the PageRank values for each page v out of the set Bu (this set contains all pages linking to page u), divided by the number L(v) of links from page v.
  • 56