What is the tech stack behind Google Search Engine?
Google Search is one of the most popular search engines on the web, handling over 3.5 billion searches per day. But what is the tech stack that powers Google Search?
The PageRank algorithm is at the heart of Google Search. This algorithm was developed by Google co-founders Larry Page and Sergey Brin and patented in 1998. It ranks web pages based on their quality and importance, taking into account things like incoming links from other websites. The PageRank algorithm has been constantly evolving over the years, and it continues to be a key part of Google Search today.
However, the PageRank algorithm is just one part of the story. The Google Search Engine also relies on a sophisticated infrastructure of servers and data centers spread around the world. This infrastructure enables Google to crawl and index billions of web pages quickly and efficiently. Additionally, Google has developed a number of proprietary technologies to further improve the quality of its search results. These include technologies like Spell Check, SafeSearch, and Knowledge Graph.
The technology stack that powers the Google Search Engine is immensely complex, and includes a number of sophisticated algorithms, technologies, and infrastructure components. At the heart of the system is the PageRank algorithm, which ranks pages based on a number of factors, including the number and quality of links to the page. The algorithm is constantly being refined and updated, in order to deliver more relevant and accurate results. In addition to the PageRank algorithm, Google also uses a number of other algorithms, including the Latent Semantic Indexing algorithm, which helps to index and retrieve documents based on their meaning. The search engine also makes use of a massive infrastructure, which includes hundreds of thousands of servers around the world. While google is the dominant player in the search engine market, there are a number of other well-established competitors, such as Microsoft’s Bing search engine and Duck Duck Go.
The original Google algorithm was called PageRank, named after inventor Larry Page (though, fittingly, the algorithm does rank web pages).
Ace the AWS Certified Machine Learning Specialty Exam with Confidence: Get Your Hands on the Ultimate MLS-C01 Practice Exams!
After 17 years of work by many software engineers, researchers, and statisticians, Google search uses algorithms upon algorithms upon algorithms.
- The various components used by Google Search are all proprietary, but most of the code is written in C++.
- Google Search has a number of technical explications on how search works and this is also the limit as to what can be shared publicly.
- https://abseil.io and GogleTest https://google.github.io/googletest/ are the main open source Google C++ libraries, those are extensively used for Search.
- https://bazel.build is an other open source framework which is heavily used all across Google including for Search.
- Google has general information on you, the kinds of things you might like, the sites you frequent, etc. When it fetches search results, they get ranked, and this personal info is used to adjust the rankings, resulting in different search results for each user.
How does Google’s indexing algorithm (so it can do things like fuzzy string matching) technically structure its index?
- There is no single technique that works.
- At a basic level, all search engines have something like an inverted index, so you can look up words and associated documents. There may also be a forward index.
- One way of constructing such an index is by stemming words. Stemming is done with an algorithm than boils down words to their basic root. The most famous stemming algorithm is the Porter stemmer.
- However, there are other approaches. One is to build n-grams, sequences of n letters, so that you can do partial matching. You often would choose multiple n’s, and thus have multiple indexes, since some n-letter combinations are common (e.g., “th”) for small n’s, but larger values of n undermine the intent.
- don’t know that we can say “nothing absolute is known”. Look at misspellings. Google can resolve a lot of them. This isn’t surprising; we’ve had spellcheckers for at least 40 years. However, the less common a misspelling, the harder it is for Google to catch.
- One cool thing about Google is that they have been studying and collecting data on searches for more than 20 years. I don’t mean that they have been studying searching or search engines (although they have been), but that they have been studying how people search. They process several billion search queries each day. They have developed models of what people really want, which often isn’t what they say they want. That’s why they track every click you make on search results… well, that and the fact that they want to build effective models for ad placement.
Each year, Google changes its search algorithm around 500–600 times. While most of these changes are minor, Google occasionally rolls out a “major” algorithmic update (such as Google Panda and Google Penguin) that affects search results in significant ways.
For search marketers, knowing the dates of these Google updates can help explain changes in rankings and organic website traffic and ultimately improve search engine optimization. Below, we’ve listed the major algorithmic changes that have had the biggest impact on search.
Originally, Google’s indexing algorithm was fairly simple.
It took a starting page and added all the unique (if the word occurred more than once on the page, it was only counted once) words on the page to the index or incremented the index count if it was already in the index.
The page was indexed by the number of references the algorithm found to the specific page. So each time the system found a link to the page on a newly discovered page, the page count was incremented.
When you did a search, the system would identify all the pages with those words on it and show you the ones that had the most links to them.
As people searched and visited pages from the search results, Google would also track the pages that people would click to from the search page. Those that people clicked would also be identified as a better quality match for that set of search terms. If the person quickly came back to the search page and clicked another link, the match quality would be reduced.
Now, Google is using natural language processing, a method of trying to guess what the user really wants. From that it it finds similar words that might give a better set of results based on searches done by millions of other people like you. It might assume that you really meant this other word instead of the word you used in your search terms. It might just give you matches in the list with those other words as well as the words you provided.
It really all boils down to the fact that Google has been monitoring a lot of people doing searches for a very long time. It has a huge list of websites and search terms that have done the job for a lot of people.
There are a lot of proprietary algorithms, but the real magic is that they’ve been watching you and everyone else for a very long time.
What programming language powers Google’s search engine core?
C++, mostly. There are little bits in other languages, but the core of both the indexing system and the serving system is C++.
How does Google handle the technical aspect of fuzzy matching? How is the index implemented for that?
- With n-grams and word stemming. And correcting bad written words. N-grams for partial matching anything.
Use a ping service. Ping services can speed up your indexing process.
- Search Google for “pingmylinks”
- Click on the “add url” in the upper left corner.
- Submit your website and make sure to use all the submission tools and your site should be indexed within hours.
Our ranking algorithm simply doesn’t rank google.com highly for the query “search engine.” There is not a single, simple reason why this is the case. If I had to guess, I would say that people who type “search engine” into Google are usually looking for general information about search engines or about alternative search engines, and neither query is well-answered by listing google.com.
To be clear, we have never manually altered the search results for this (or any other) specific query.
When I tried the query “search engine” on Bing, the results were similar; bing.com was #5 and google.com was #6.
If you are looking for an all-in-one solution to help you prepare for the AWS Cloud Practitioner Certification Exam, look no further than this AWS Cloud Practitioner CCP CLFC01 book below.
What is the search algorithm used by the Google search engine? What is its complexity?
The basic idea is using an inverted index. This means for each word keeping a list of documents on the web that contain it.
Responding to a query corresponds to retrieval of the matching documents (This is basically done by intersecting the lists for the corresponding query words), processing the documents (extracting quality signals corresponding to the doc, query pair), ranking the documents (using document quality signals like Page Rank and query signals and query/doc signals) then returning the top 10 documents.
Here are some tricks for doing the retrieval part efficiently:
– distribute the whole thing over thousands and thousands of machines
– do it in memory
– looking first at the query word with the shortest document list
– keeping the documents in the list in reverse PageRank order so that we can stop early once we find enough good quality matches
– keep lists for pairs of words that occur frequently together
– shard by document id, this way the load is somewhat evenly distributed and the intersection is done in parallel
– compress messages that are sent across the network
Jeff Dean in this great talk explains quite a few bits of the internal Google infrastructure. He mentions a few of the previous ideas in the talk.
He goes through the evolution of the Google Search Serving Design and through MapReduce while giving general advice about building large scale systems.
As for complexity, it’s pretty hard to analyze because of all the moving parts, but Jeff mentions that the the latency per query is about 0.2 s and that each query touches on average 1000 computers.
Is Google’s LaMDA conscious? A philosopher’s view (theconversation.com)
LaMDA is Google’s latest artificial intelligence (AI) chatbot. Blake Lemoine, a Google AI engineer, has claimed it is sentient. He’s been put on leave after publishing his conversations with LaMDA.
If Lemoine’s claims are true, it would be a milestone in the history of humankind and technological development.
Google strongly denies LaMDA has any sentient capacity.
Fun facts about Google Search Engine Competitors
Data Source: statcounterGS
Tools Used: Excel & PowerPoint
Edit: Note that the data for Baidu/China is likely higher. How statcounterGS collects the data might understate # users from China.
Baidu is popular in China, Yandex is popular in Russia.
Yandex is great for reverse image searches, google just can’t compete with yandex in that category.
Normal Google reverse search is a joke (except for finding a bigger version of a pic, it’s good for that), but Google Lens can be as good or sometimes better at finding similar images or locations than Yandex depending on the image type. Always good to try both, and also Bing can be decent sometimes.
Bing has been profitable since 2015 even with less than 3% of the market share. So just imagine how much money Google is taking in.
Firstly: Yahoo, DuckDuckGo, Ecosia, etc. all use Bing to get their search results. Which means Bing’s usage is more than the 3% indicated.
Secondly: This graph shows overall market share (phones and PCs). But, search engines make most of their money on desktop searches due to more screen space for ads. And Bing’s market share on desktop is WAY bigger, its market share on phones is ~0%. It’s American desktop market share is 10-15%. That is where the money is.
What you are saying is in fact true though. We make trillions of web searches – which means even three percent market-share equals billions of hits and a ton of money.
I like duck duck go. And they have good privacy features. I just wish their maps were better because if I’m searching a local restaurant nothing is easier than google to transition from the search to the map to the webpage for the company. But for informative searches I think it gives a more objective, less curated return.
Use Ecosia and profits go to reforestation efforts!
Turns out people don’t care about their privacy, especially if it gets them results.
I recently switched to using brave browser and duck duck go and I basically can’t tell the difference in using Google and chrome.
The only times I’ve needed to use Google are for really specific searches where duck duck go doesn’t always seem to give the expected results. But for daily browsing it’s absolutely fine and far far better for privacy.
Does Google Search have the most complex functionality hiding behind a simple looking UI?
There is a lot that happens between the moment a user types something in the input field and when they get their results.
Google Search has a high-level overview, but the gist of it is that there are dozens of sub systems involved and they all work extremely fast. The general idea is that search is going to process the query, try to understand what the user wants to know/accomplish, rank these possibilities, prepare a results page that reflects this and render it on the user’s device.
I would not qualify the UI of simple. Yes, the initial state looks like a single input field on an otherwise empty page. But there is already a lot going on in that input field and how it’s presented to the user. And then, as soon as the user interacts with the field, for instance as they start typing, there’s a ton of other things that happen – Search is able to pre-populate suggested queries really fast. Plus there’s a whole “syntax” to search with operators and what not, there’s many different modes (image, news, etc…).
One recent iteration of Google search is Google Lens: Google Lens interface is even simpler than the single input field: just take a picture with your phone! But under the hood a lot is going on. Source.
The Google search engine is a remarkable feat of engineering, and its capabilities are only made possible by the use of cutting-edge technology. At the heart of the Google search engine is the PageRank algorithm, which is used to rank web pages in order of importance. This algorithm takes into account a variety of factors, including the number and quality of links to a given page. In order to effectively crawl and index the billions of web pages on the internet, Google has developed a sophisticated infrastructure that includes tens of thousands of servers located around the world. This infrastructure enables Google to rapidly process search queries and deliver relevant results to users in a matter of seconds. While Google is the dominant player in the search engine market, there are a number of other search engines that compete for users, including Bing and Duck Duck Go. However, none of these competitors have been able to replicate the success of Google, due in large part to the company’s unrivaled technological capabilities.
- Your Samsung phone is screwedby /u/techberg_ (Google) on March 25, 2023 at 6:00 pm
submitted by /u/techberg_ [link] [comments]
- I Got access to Bard, Reply With any Question you want me to ask it.by /u/Mk_Makanaki (Google) on March 25, 2023 at 5:40 pm
https://preview.redd.it/ec19fpa79xpa1.png?width=1314&format=png&auto=webp&s=e1ab9aa12ca58b672f956faa74171c5f2e2b51aa submitted by /u/Mk_Makanaki [link] [comments]
- Google’s PaLM E AI demo. Coming to Google Workplaces and API access in couple of weeks . Incredibleby /u/hasanahmad (Google) on March 25, 2023 at 4:15 pm
submitted by /u/hasanahmad [link] [comments]
- Canada still blocking news feed in Google news? Bill C-18 is a disgrace!by /u/BRCNNEWS (Google) on March 25, 2023 at 4:09 pm
I am being censored! I am looking for news outside Canada, and I get the "Your search did not match any news results." on Google News. I tried different browsers, same result. If I change my location, then news come up. I NEED WORLD NEWS! There's millions and millions of immigrants in Canada. We need international news to know how's life of our families and friends back home, and it's counter-productive to have to keep changing my location all the time! submitted by /u/BRCNNEWS [link] [comments]
- Google Pixel phones get easy Adaptive Charging status in the notificationby /u/Broad_Republic2854 (Google) on March 25, 2023 at 10:53 am
submitted by /u/Broad_Republic2854 [link] [comments]
- Google Drive begins rolling out tablet redesign with navigation railby /u/Broad_Republic2854 (Google) on March 25, 2023 at 10:00 am
submitted by /u/Broad_Republic2854 [link] [comments]
- GOOGLE’S BARD AI CREDIBLY ACCUSED OF PLAGIARIZING WITHOUT CREDITby /u/TallSide7746 (Google) on March 25, 2023 at 7:30 am
submitted by /u/TallSide7746 [link] [comments]
- New google drive material you update stinksby /u/SilverShadow2030 (Google) on March 25, 2023 at 5:36 am
It has taken away the most basic ability to move files easily! For example. The top bar has the folder you are located in. When you select an item, the folder disappears and a checkbox appears. Now you can only movie the file by right clicking method - instead of the easier method of dragging the file to the previous folder up top. This is so stupid submitted by /u/SilverShadow2030 [link] [comments]
- Bard AI Is Boring: Google Explains Why They Want It That Way | WSJby /u/digidude23 (Google) on March 25, 2023 at 12:14 am
submitted by /u/digidude23 [link] [comments]
- Google Summer of Code - Beginnersby /u/JustBrowsingForReal (Google) on March 24, 2023 at 9:10 pm
I'm a current CS freshman, and I was looking to apply for this program to do something over the summer. My skills are mostly in Python, and I've scrolled through most of the host organizations offered by the program. I wanted to know whether there were any specific ones that were directed toward a beginner audience, or ones that may provide mentorship in order to complete your proposal draft application. submitted by /u/JustBrowsingForReal [link] [comments]
- Google Keep for Wear OS adds watch face complicationsby /u/Markiemoomoo (Google) on March 24, 2023 at 8:36 pm
submitted by /u/Markiemoomoo [link] [comments]
- How negative content affects companies and how to remove itby Bright past (Google Search on Medium) on March 24, 2023 at 6:47 pm
The reputation of a business can be seriously damaged by negative content. As stated by Bright Past, In the current digital era, a single…Continue reading on Medium »
- You can have a text-based adventure with Bardby /u/XJ--0461 (Google) on March 24, 2023 at 5:55 pm
I wanted to try a short text-based adventure and see what would happen. These are the results: Me: Let's play a text-based adventure game. You will be the game master. I will be the player. You will give me a prompt and wait for my input. After receiving my input, you will continue the adventure with more prompts awaiting more of my inputs. This will continue indefinitely. Are you ready? Bard: Yes, I am ready. I will try my best to make the game interesting and challenging. Me: Please start. Bard: Sure. Here's the first prompt: You are standing in a dark, dusty room. There is no furniture, only a few cobwebs and a single door. What do you do? Me: Look for a light. Bard: You look around the room, but there is no light source. The only light comes from a small crack in the door. Me: I open the door. Bard: You open the door and find yourself in a long, dark hallway. The walls are covered in strange symbols and there is a faint light coming from the end of the hallway. Me: Run towards the light. Bard: You run towards the light, and as you get closer, you see that it is coming from a large room. The room is filled with light and there is a large, golden door at the far end of the room. Me: Look around. Bard: You look around the room and see that it is filled with strange and wonderful things. There are large crystals, strange machines, and even a few animals that you have never seen before. Me: Play with the animals. Bard: You walk up to the animals and they seem to be friendly. You pet them and they purr. I stopped here, but it looks to have some potential. Thoughts? submitted by /u/XJ--0461 [link] [comments]
- Which unlocking method do you prefer on Google Pixel?by /u/SeanManNYM (Google) on March 24, 2023 at 4:32 pm
View Poll submitted by /u/SeanManNYM [link] [comments]
- Oh, come on!by /u/world-ignz90 (Google) on March 24, 2023 at 4:13 pm
submitted by /u/world-ignz90 [link] [comments]
- Deals: Google Pixel Watch hits $299 low, Bose QuietComfort II earbuds $249, moreby /u/Markiemoomoo (Google) on March 24, 2023 at 4:05 pm
submitted by /u/Markiemoomoo [link] [comments]
- Microsoft should put Bing with ChatGPT on Wear OS, beat Google to the punchby /u/Broad_Republic2854 (Google) on March 24, 2023 at 3:34 pm
submitted by /u/Broad_Republic2854 [link] [comments]
- We have cleaned the queue!by /u/Markiemoomoo (Google) on March 24, 2023 at 12:58 pm
Hey everyone, For a long time, there were many messages that were marked as spam without any action being taken, as well as messages that were placed in the moderation queue by u/automoderator but were neither approved nor removed with a reason. At this moment, all posts from the queue have been removed and we will now actively monitor it so that all posts are either approved or removed with a reason. We may have mistakenly removed some posts that should have been approved, but there were too many to check, so please feel free to repost them. Do note that we have a dedicated pinned support megathread so any of your technical questions should go there. For everyone on the r/google subreddit, please report any rule-breaking posts and comments you come across, and we will take action on them. If you have any questions, feel free to ask them by contacting the modmail. submitted by /u/Markiemoomoo [link] [comments]
- Google won't let you create an email without a phone number.by /u/Secret_Fudge1495 (Google) on March 24, 2023 at 12:19 pm
submitted by /u/Secret_Fudge1495 [link] [comments]
- Google begins opening access to its ChatGPT competitor Bardby /u/yourtechstoryblogs (Google) on March 24, 2023 at 11:49 am
submitted by /u/yourtechstoryblogs [link] [comments]
- Well looks like Bard is a lightweight LaMDa (30 b vs 250 b?)by /u/hasanahmad (Google) on March 24, 2023 at 1:36 am
submitted by /u/hasanahmad [link] [comments]
- Trying to play Zork in Google Bardby /u/LucidusAtra (Google) on March 24, 2023 at 12:52 am
I tried to get Bard to stimulate the experience of playing the text adventure Zork by asking it to print the first message the player would see in the game, and then responding to my messages as if they were in-game commands. I thought it was doing reasonably well, though I had never actually played Zork, so I didn't have anything to compare it to. I did find it strange that in the room with the altar and the key, the key was still described as being on the altar even after I'd taken it. Upon further investigation, I found out that Zork starts in a completely different way. Was Bard just inventing a completely new text adventure? submitted by /u/LucidusAtra [link] [comments]
- A simple test animation that I have created... opinions?by /u/Leapfire (Google) on March 24, 2023 at 12:02 am
submitted by /u/Leapfire [link] [comments]
- Google Generative AI (Chat Search) assistant is coming.by pushpendra prakash sagar (Google Search on Medium) on March 23, 2023 at 8:57 pm
In a recent Google Experiment email newsletter talked about:Continue reading on Medium »
- Google was found to be the 6th most valuable asset in the world, and the 4th most valuable company.by /u/Artemistical (Google) on March 23, 2023 at 4:27 pm
submitted by /u/Artemistical [link] [comments]
- Bard telling me not to use Google.by /u/AngryBacon2028 (Google) on March 23, 2023 at 11:31 am
submitted by /u/AngryBacon2028 [link] [comments]
- Google Bard is the only tool which got the answer of this complex math problem correct, Bing refused to calculate itself and GPT gave wrong answerby /u/hasanahmad (Google) on March 23, 2023 at 8:07 am
submitted by /u/hasanahmad [link] [comments]
- Google offers Bard access to US, UK users with ‘more coming soon’by Raghav Chopra (Google Search on Medium) on March 22, 2023 at 12:21 pm
File pictureContinue reading on Medium »
- Can googling be a real skill?by Vidusi Mistry (Google Search on Medium) on March 21, 2023 at 9:07 pm
I believe it is possible, and you can list it on your resume as a skill.Continue reading on Medium »
- Why You Should Switch from Google Search to AI-Powered Bing Searchby Jake Jing (Google Search on Medium) on March 20, 2023 at 9:52 am
I have decided to switch from Google Chrome to Microsoft Edge after watching the introduction video about the AI-powered Bing search in…Continue reading on Medium »
- Make Money From Google Search (Top Secret)by Majed khalaf (Google Search on Medium) on March 18, 2023 at 3:55 pm
Google is the most popular search engine on the planet, with billions of searches performed every day. But did you know that you can…Continue reading on Medium »
- How to Use Google Sheet: GoogleSheet Search Functions (VLOOKUP, HLOOKUP, XLOOKUP).by Peppubooks (Google Search on Medium) on March 18, 2023 at 6:50 am
Google Sheets is a powerful tool for organising and analysing data.Continue reading on Medium »
- The influence of Online reputation managementby Bright past (Google Search on Medium) on March 17, 2023 at 8:40 pm
Internet reviews are vital for a company’s online reputation because they can considerably impact the decisions of potential clients. The…Continue reading on Medium »
- Generative Text AI WitFlood The Web With Spamby Mason Pelt (Google Search on Medium) on March 17, 2023 at 7:07 pm
AI is going to give super powers to Blackhat SEO, breaking online search as we know it. RIP magic box at the top of the browser where we…Continue reading on Medium »
- Benefits of verifying domain name with google search consoleby Carols Mary (Google Search on Medium) on March 16, 2023 at 12:09 pm
Verifying your domain name with Google Search Console can offer several benefits to your website, such as:Continue reading on Medium »
- Support Megathread - March 2023by /u/AutoModerator (Google) on March 1, 2023 at 12:02 am
Have a question you need answered? A new Google product you want to talk about? Ask away here! Recently, we at /r/Google have noticed a large number of support questions being asked. For a long time, we’ve removed these posts and directed the users to other subreddits, like /r/techsupport. However, we feel that users should be able to ask their Google-related questions here. These monthly threads serve as a hub for all of the support you need, as well as discussion about any Google products. Please note! Top level comments must be related to the topics discussed above. Any comments made off-topic will be removed at the discretion of the Moderator team. Discord Server We have made a Discord Server for more in-depth discussions relating to Google and for quicker response to tech support questions. submitted by /u/AutoModerator [link] [comments]
- Google Employee Layoff Megathreadby /u/Damiian1 (Google) on January 22, 2023 at 5:24 am
As you may be aware, Google announced on Friday that it was cutting 12,000 employees, roughly 6% of the full-time workforce. This thread serves as a place to discuss options as well as sharing support resources. This is not the place to discuss anything which is sensitive in nature. Please keep the thread on topic to facilitate the flow of useful information for anyone affected by the layoffs. submitted by /u/Damiian1 [link] [comments]
What are the Greenest or Least Environmentally Friendly Programming Languages?
How do we know that the Top 3 Voice Recognition Devices like Siri Alexa and Ok Google are not spying on us?
Machine Learning Engineer Interview Questions and Answers
A Twitter List by enoumen