Database Reference
In-Depth Information
Modeling follow relationships
A data model for
follow
relationships should be able to answer two questions on behalf of a
user:
• Who do I follow?
• Who follows me?
all important data access can be accomplished by querying a single partition. For this reas-
on, we're better off considering the above questions separately, and designing the right table
schema for each.