0% found this document useful (0 votes)
116 views58 pages

Cosmosdb: Understanding The Main Factors For Successful Deployment

The document discusses factors for successful deployment of CosmosDB. CosmosDB is a globally distributed database that supports multiple APIs including SQL, MongoDB, Cassandra, Gremlin, and Table. It offers low latency, elastic scaling of storage and throughput, five consistency models, and comprehensive SLAs. The document also includes an example of optimizing CosmosDB performance by adjusting consistency levels and request units.

Uploaded by

Edinilson Cararo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
116 views58 pages

Cosmosdb: Understanding The Main Factors For Successful Deployment

The document discusses factors for successful deployment of CosmosDB. CosmosDB is a globally distributed database that supports multiple APIs including SQL, MongoDB, Cassandra, Gremlin, and Table. It offers low latency, elastic scaling of storage and throughput, five consistency models, and comprehensive SLAs. The document also includes an example of optimizing CosmosDB performance by adjusting consistency levels and request units.

Uploaded by

Edinilson Cararo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 58

CosmosDB

Understanding the main factors for


successful deployment
Armando Lacerda
MVP | MCT | Senior Azure, BI and Data Platform Consultant
@arlacerda | LinkedIn
Core
(SQL) MongoDB

Table API

Column-family Document
Key-value Graph

Guaranteed low latency


at the 99th percentile
Elastic scale out Five well-defined
of storage & throughput consistency models

Turnkey global
Comprehensive
distribution
SLAs
NO
{
"id": "<user-id>",
"username": "<user-username>"
}
{ {
"id": "…", "id": "…",
"relatedItem": { "relatedItemId": "<related-item-id>"
"relatedData": "…" }
}
}
{
"id": "<related-item-id>",
"relatedData": "…"
}
 
 
 

{
"id": "<user-id>",
"username": "<user-username>"
}
C1

7 ms / 5.71 RU
Q1

3 ms / 2.90 RU
C2
Q2

9 ms / 19.54 RU
Q3

130 ms / 619.41 RU
C3
Q4

23 ms / 27.72 RU
C4
Q5
Q6 306 ms / 2063.54 RU
Q2
C3
Q2

3 ms / 5.40 RU
Q4

4 ms / 7.72 RU
Q5
Q3
Q3

4 ms / 6.46 RU
Q6
Q6 9 ms / 16.97 RU
 V1
C1 7 ms / 5.71 RU
Q1 3 ms / 2.90 RU
 C2 9 ms / 8.76 RU
Q2 9 ms / 19.54 RU
Q3 130 ms / 619.41 RU
C3 7 ms / 8.57 RU

 Q4 23 ms / 27.72 RU
C4 6 ms / 7.05 RU
Q5 59 ms / 58.92 RU
Q6 306 ms / 2063.54 RU
V1 V2 V3
C1 7 ms / 5.71 RU 7 ms / 5.71 RU 7 ms / 5.71 RU
Q1 3 ms / 2.90 RU 3 ms / 2.90 RU 3 ms / 2.90 RU
C2 9 ms / 8.76 RU 9 ms / 8.76 RU 9 ms / 8.76 RU
Q2 9 ms / 19.54 RU 3 ms / 5.11 RU 3 ms / 5.11 RU
Q3 130 ms / 619.41 RU 28 ms / 201.54 RU 4 ms / 6.46 RU
C3 7 ms / 8.57 RU 7 ms / 15.27 RU 7 ms / 15.27 RU
Q4 23 ms / 27.72 RU 4 ms / 7.72 RU 4 ms / 7.72 RU
C4 6 ms / 7.05 RU 7 ms / 14.67 RU 7 ms / 14.67 RU
Q5 59 ms / 58.92 RU 4 ms / 8.92 RU 4 ms / 8.92 RU
Q6 306 ms / 2063.54 RU 83 ms / 532.33 RU 9 ms / 16.97 RU
 V3
C1 7 ms / 5.71 RU
 Q1 3 ms / 2.90 RU
C2 9 ms / 8.76 RU
Q2 3 ms / 5.11 RU
Q3 4 ms / 6.46 RU
C3 7 ms / 14.67 RU
Q4 4 ms / 7.72 RU
 C4 7 ms / 14.67 RU
Q5 4 ms / 8.92 RU
Q6 9 ms / 16.97 RU

You might also like