Grokking the System Design Interview
Ask Author
Back to course home

0% completed

Designing Twitter Search
We'll cover the following
1. What is Twitter Search?
2. Requirements and Goals of the System
3. Capacity Estimation and Constraints
4. System APIs
5. High Level Design
6. Detailed Component Design
7. Fault Tolerance
8. Cache
9. Load Balancing
10. Ranking

1. What is Twitter Search?

Twitter users can update their status whenever they like. Each status (called a tweet) consists of plain text and our goal is to design a system that allows searching over all the user tweets.

2. Requirements and Goals of the System

  • Let's assume Twitter has 1.5 billion total users with 800 million daily active users.
  • On average Twitter gets 400 million tweets every day.
  • The average size of a tweet is 300 bytes.
  • Let's assume there will be 500M searches every day.
  • The search query will consist of multiple words combined with AND/OR.

.....

.....

.....

Like the course? Get enrolled and start learning!