What is Twitter Search?
Twitter users can update their status whenever they like. Each status (called tweet) consists of plain text and our goal is to design a system that allows searching over all the user tweets.
Requirements and Goals of the System
We need to design a system that can efficiently store and query tweets:
- 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;