educative.io

Educative

What if we can combine sharding by TweetID and Tweet creation time?

Its unclear to me how sharding based on TweetID and Tweet Creation Time would be more efficient. We still have to hit multiple servers and shards. Will the underlying query to pull the relevant data points be more efficient then? Please clarify with additional details. Thabks.


Type your question above this line.

Course: https://www.educative.io/collection/5668639101419520/5649050225344512
Lesson: https://www.educative.io/collection/page/5668639101419520/5649050225344512/5741031244955648