I know that dynamoDB supports shards. I wanted to know that is it possible to add shards dynamically. Suppose I provisioned 4 shards and shardkey would be customerID.
For remapping my guess is that they must using consistent hashing.
No, There is no way to provision partitions as many as you want manually.
The number of Dynamodb partition is decided by specific criteria.
This is the criteria.
Total Partitions = Take the largest of your Partitions by capacity and Partitions by size and round this up to an integer.
For more information, I recommend you read the post .