Hi
This is in reference to the Instagram material and the suggestion of storing the photos posted by a user in Cassandra table (see below). The Twitter material had the similar choice.
My question is that a single user may have a huge number of Tweets or pictures (hundreds or thousands), is it still practical to store all their pictures or Tweets in Cassandra.
From the course:
We need to store relationships between users and photos, to know who owns which photo. We also need to store the list of people a user follows. For both of these tables, we can use a wide-column datastore like Cassandra. For the ‘UserPhoto’ table, the ‘key’ would be ‘UserID’ and the ‘value’ would be the list of ‘PhotoIDs’ the user owns, stored in different columns. We will have a similar scheme for the ‘UserFollow’ table.
Thanks