You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How complex are your query patterns? - Do you just need retrieval by key, or also by various other parameters? Do you also need fuzzy search on the data?
Consistency
Is strong consistency required (read after write, especially when you switch writes to a different data-center) or eventual consistency is OK?
All items with the same partition key value are stored together, in sorted order by sort key value.
Distribute Queries
Design data keys to distribute traffic evenly across partitions as much as possible, avoiding hot spots.
Use secondary indexes
By creating specific secondary indexes, you can enable different queries than your main table can support, and that are still fast and relatively inexpensive.