How can no of queries per day be 100 billion / day


#1

If average length of a word is 5 letters and there is one query for each letter, then it should be 5 * 4 billion queries / day right ? Am I missing something here.

Thanks.


#2

I think it’s mentioned that average search query is 5 words, with average length of 5 characters each. So it is 5 * 5 * 4 BN = 100 BN queries (every keystroke is a request)


#3

There are client side optimizations you can do to reduce the number of queries being sent to server. If user is typing very fast we can hold off sending the query until there is a 50ms lag - which may indicate the user is thinking what to type - so that itself will cut down lot of queries. You can also do prefetching and caching on user side to reduce the server side queries.