Chetanya Ahuja
Chetanya Ahuja

Reputation: 1

How to change RUs in Cosmos DB according to time of the day?

How to change RUs in Cosmos DB according to time of the day, for example higher RUs allowance in daytime and lower during the night?

Upvotes: 0

Views: 103

Answers (1)

4c74356b41
4c74356b41

Reputation: 72171

you cannot do that natively, yet, in Cosmos DB. So you are left with workarounds, which are plenty:

  1. Build job on some ci system that would trigger at certain time and do the scaling
  2. Azure Automation runbook with schedules
  3. Timer trigger Azure Function\Webjob
  4. probably dozen other ways, like cron on some vm, etc

Upvotes: 2

Related Questions