DEV Community

Discussion on: DynamoDB PrimaryKey, HashKey, SortKey (RangeKey)

Collapse
 
buinauskas profile image
Evaldas Buinauskas

As far as I remember Cassandra is inspired by DynamoDB and shares exactly same concept. Hash key there is called partition key and is needed to locate exact machine within the cluster that had desired data, otherwise you'd end up scanning whole cluster and you want to avoid it.

There's great course about Cassandra (distributed databases in general) design on DataStax academy. Was an eye opener.