I am reading the slides shared by Mr. Kallen, i dont understand one of the slides:

Mr. Kallen claims that this partition strategy can work for both query pattern:
1. get the tweets of a given user.
2. get the tweets by a given id.
I can understand that it works for “get the tweets for a given user”, but how it works for “get the tweets by a given id”?
he says(~17:30) that they replicated the db as well ( in addition to partitioning).. one of copies (of data) is partitioned by tweet id and the other is partitioned by user id .. However this creates additional problem of keeping the two copies consistent