December 2019
Intermediate to advanced
494 pages
11h 41m
English
The key-value model is a pretty simple model. In fact, you've probably used a similar construction countless times. It's really just a dictionary (or map, as it's called in some languages). They have a key and an associated value. In traditional key-value stores, data can only be queried with a key, but it has super performance and is highly scalable. The primary keys when using the Table API are the PartitionKey and a RowKey; they have to be unique.
The Table API can query on other properties as well and all are automatically indexed as secondary indexes. Next to having a super-fast lookup on all your properties, Cosmos DB guarantees less than 10 milliseconds of latency for reads and less than 15 milliseconds ...