Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

How to design Twitter Search?

Anjali Sharma answered on January 15, 2023 Popularity 9/10 Helpfulness 3/10

Contents


More Related Answers

  • twitter share link html
  • twitter card meta tags
  • is twitter bankrupt
  • twitter share link html
  • twitter og tags
  • twitter card
  • twitter link html
  • Twitter Card Generato - SEO
  • how to extract data from twitter using python
  • twitter logo
  • How to design a Twitter Clone?
  • javaascript for unliking twitter
  • how to use twitter api without is:qoute
  • how to extract only the text twitter api
  • twitter html
  • twitter tips
  • twitter4j configuration
  • docker twitter scraper
  • export list of twitter accounts i follow
  • how to create twitter media card
  • oauth twitter

  • How to design Twitter Search?

    1

    Functional Requirements

    Users must be able to search tweets— show the top 100 results.

    Search results need not be personalized i.e. it is expected that the same search query will return the same results for 2 different users, simulteneously querying the system.

    Search results should show the latest and trending tweets.

    Search results should be ranked in reverse chronological order.

    Non Functional Requirements

    Availability — Search functionality should be always available

    Low Latency — Search results should be returned with very low latency (50ms)

    Reliability — Latest tweets should be available for search within 10s of creation.

    Traffic and Throughput Requirements

    Number of DAU = 500 million

    Number of search queries per second = 1 million

    Average length of search queries = 10

    Number of tweets per second = 10K

    Peak number of tweets per second = 1 million

    Maximum length of tweets = 140 characters

    https://mecha-mind.medium.com/system-design-twitter-search-ccb29c48d9b6

    Popularity 9/10 Helpfulness 3/10 Language java
    Source: Grepper
    Tags: java
    Link to this answer
    Share Copy Link
    Contributed on Jan 15 2023
    Anjali Sharma
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.