DEV Community

Discussion on: Understanding and Optimizing Throughput in Azure Cosmos DB

Collapse
 
pirlofromspain profile image
Antonio J. Dios

Hi. I have a question in my mind. I read always that throughput is distribu5ed uniform between de difrerent partitions. My question is, each time you have more partitions this amount of throughput for eavh partition decrease??? Or it is distributed the RU for thosr partition are being querying in a exact time/second?

Collapse
 
willvelida profile image
Will Velida

Hi Antonio,

Hopefully this example can help answer your question. Say if I provision a container with 10k RU's and I happen to have 10 partitions, then each partition will be allocated with 1K RU's. This is done for that particular second/exact moment of time.

This happens to the ones that are being queried at that particular moment. So if you have a time where only 5 partitions are being queried, than 2K RU/s will be allocated to each partition.

Hope I've explained that well enough? If you have more questions, let me know 😊