Grokking the System Design Interview
Vote

0% completed

​

Designing Twitter Search

.....

.....

.....

Like the course? Get enrolled and start learning!
A

Anonymous

· 2 years ago

No mention of latency here. This should be the core problem.

A

Anonymous

· 4 years ago

In "Designing Twitter Search", I think the article only said how to search by a word, not words (sentences). But the API design has a search param "search_terms" string containing the search terms (maybe some words?).

Is there a lack? Or am I misunderstanding something?

A

Anonymous

· 4 years ago

can zookeeper replace inddex-builder server?

A

Anonymous

· 4 years ago

What is stored on each of the index servers when you shard based on tweet object? Is it still a big hash table with key = word, value = set of tweet ids containing that word? Or something else? How does this differ from sharding by word?

Show 1 reply
A

Anonymous

· 5 years ago

Can you explain how you came up with this math of 5 bytes number to identify the tweetid's uniquely

If we are getting 400M new tweets each day, then how many tweet objects we can expect in five years? 400M * 365 days * 5 years => 730 billion

This means we would need a five bytes number to identify TweetIDs uniquely.

Show 3 replies

Reading Progress

0%


Vote for new content