Performance and scaling in Azure Cosmos DB
Performance and scaling are vital considerations when designing and deploying Cosmos DB applications. In this section, we’ll explore the different performance characteristics of Cosmos DB, including throughput, latency, and storage, and discuss how to configure and scale a Cosmos DB account to meet your application’s needs.
What are throughput, latency, and RUs in Cosmos DB?
Throughput, latency, and RUs are critical performance metrics in Cosmos DB that determine the speed and efficiency of data access and manipulation. Here’s a brief overview of each concept:
- Throughput: This refers to the number of RUs that a Cosmos DB account can process per second. RUs measure the computational and storage resources required to perform a particular operation in Cosmos DB.
- Latency: This refers to the time a system takes to respond to a request. In the context of Cosmos DB, latency refers to the time it takes for the...