Estimation question
How many queries per second does Gmail get?
- Estimation
- Easy
Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.
Start a mock interview on this question · Mock interview from a job description
What this question tests
Estimation using known user scale and typical per user activity to derive a systems level throughput number.
How to approach it
- Estimate the email product's total active user base, commonly cited around 1.8 billion active users globally.
- Estimate the share active on a typical day and average actions per active user per day, checking mail 10 to 15 times, each involving a few queries.
- Estimate total daily queries by multiplying daily active users by average queries per user per day.
- Convert daily total queries to queries per second by dividing by seconds in a day, accounting for uneven traffic distribution across time zones.
- Adjust the estimate upward for peak load, since global usage is not evenly spread across all 24 hours, and state a range for average versus peak.
What a strong answer includes
- Anchors on a known, defensible user base figure and builds up through daily actions rather than guessing a queries per second number directly.
- Shows the math, 1 billion daily active users times 10 queries a day equals 10 billion queries a day, divided by 86,400 seconds gives roughly 115,000 average queries per second.
- Explicitly separates average from peak load, noting real traffic engineering cares more about peak, which could be several times the average.
Common mistakes
- Giving a single number with no distinction between average and peak load.
- Not stating an assumption for daily active users or queries per user.
- Ignoring time zone distribution, treating global traffic as evenly spread.
Likely follow-up questions
- How would this estimate change during a global event that spikes email traffic?
- How would you separate read queries from send or compose queries in this estimate?
More estimation questions
- YouTube Red is a premium service without ads. Assume that 1.5% of initial YouTube user base signs up for the service. What is the lifetime revenue Google generates from those users?Google · Estimation · Hard
- How much would it cost to set up WiFi in New York?Google · Estimation · Medium
- How many dentists are there in New York?Google · Estimation · Easy
- How many Pianists are there in New York city?Google · Estimation · Easy
- Estimate the total number of videos on YouTube.Google · Estimation · Easy
- How many airports are in the US and in the World?Google · Estimation · Easy
More questions from Google
Learn the skill behind it
Chapters of the AI PM course that teach what this question tests.
- Chapter 2: Data fluency: SQL, logs, and reading the truth yourself
- Chapter 9: Prove it paid off: outcomes, economics, and pricing
- Chapter 14: Get the job: the AI PM interview loop