Subject: marvel at 7 day results

From: DocOz Fat-Burning Coaching <[email-masked]>
Date: Wed, 26 Nov 2014 08:34:22 -0800

Health

HEALTHY & HAPPY | RECIPES | BEAUTY | STYLE | MAGAZINE |

Flush-Out Thanksgiving Carbs

You can eliminate visceral fat by tricking your metabolism.

It will have fat rushing to ESCAPE your body!

Everyone is buzzing about yesterday's DocOz episode and the DocOz Fat Flusher.

This fat-flusher sends the carbs right thru you; yes it flushes them out.

FBS Members Inc - Un-s u b s c r i b e here

125 S h e r i d a n S t r e e t |- N e w c a s t l e , Wyoming 8 2 7 0 1

When googling for some term we're told that we see the k's 10 results out of thousands. I.e 1-10th results out of 10000. We can skip right to 50-60th result and google will return them in less than a second. If google would cache all of the 1-40, I guess it would waste RAM. If it would return all of the results at once, it would waste traffic. How does google return so many search results while it sorts them?
architecture search-engine

share|improve this question

asked Jul 20 '13 at 10:48
Vitali Pom

174112

This question appears to be off-topic because it is not about programming John Conde Jul 20 '13 at 12:37

1

Saying that this question is not about programming is as saying that a question on recipe is not about food. Vitali Pom Jul 20 '13 at 14:13

@JohnConde then why is the architecture tag on SO? rahulserver Jul 20 '13 at 14:19

add a comment

1 Answer

activeoldestvotes

up vote

2

down vote

accepted

Here is something I tried: For the google search
How google search engine works
Here is the url sent to the server:
&tok=v1e-J_ynDKaPw_oDlFH-HA&cp=30&gs_id=8&xhr=t&q=how+google+searchf=p&output=search&sclient=psy-ab&oq=how+google+search+engine+works&gs_l=&pbx=1&bav=on.2,or.r_cp.r_qf.&d.bmk&fp=56e0e38cda57afa7&biw=1280&bih=899

And if I select the page number 5 link on the bottom of the page, here is the url which is being sent:=how+google+search+engine+works&ei=qm3qUeXSA4LqrAfXtYDoCg&sqi=2&start=40&sa=N&bav=on.2,or.r_cp.r_qf.&bvm=bv.49478099%2Cd.bmk%2Cpv.xjs.s.en_US.c75bKy5EQ0A.O&fp=56e0e38cda57afa7&biw=1280&bih=899

Note the additional start=40&sa=N parameter here.
So what I feel after going thru google search enging working step 2 of 3 that google has its own index for over 30 TRILLION web pages and for each query they rank the result using over 200 factors. So I feel that the start and sa parameters form one of those factors while fetching the result.
Hence my opinion is that google is not caching the results, but carries out a new search for each queries using different url params.
EDIT:
To further support my observation, here is a list of time taken for navigating to the different pages of the above search query:
For first page: 157,000,000 results (0.22 seconds)
For page 5: Page 5 of about 157,000,000 results (0.26 seconds)
For page 10: Page 10 of about 157,000,000 results (0.30 seconds
For page 14: Page 14 of about 157,000,000 results (0.33 seconds
For page 18: Page 18 of about 157,000,000 results (0.38 seconds)
For page 22: Page 22 of about 157,000,000 results (0.35 seconds)r>
For page 26: Page 26 of about 157,000,000 results (0.43 seconds)
For page 30: Page 30 of about 157,000,000 results (0.45 seconds)
For page 34: Page 34 of about 157,000,000 results (0.40 seconds)
For Page 38: Page 38 of about 371 results (0.50 seconds)

So the time is almost increasing for increasing page numbers of queries. If it were caching the results, above would not have been the trend.
share|improve this answer

edited Jul 20 '13 at 11:33