Shard lookups are generally done based on criteria based on single attribute emailId so that whenever a request comes with specific emailId it's directed to a specific shard.
If there is a requirement like criteria should depend on two or more attributes which can be present altogether and sometimes only few or alone. This muti attribute criteria is supported by dynamodb. One limitation is all the individual attributes should have distinct values across all shards.
No comments:
Post a Comment