How to control Priority-based executions in Azure Cosmos DB

Sai Praneeth Eranti 125 Reputation points
2024-01-23T11:43:01.05+00:00

Hi Team ,

I would like to know , How I can leverage this feature in a better way . Suppose , RU consumption is 100% if I want to do a transaction , How can I make it a priority ? Should I specify priority "high" at the time of querying like shown in the example ? How can I make the transactions which are coming from APPs to run as high priority where we can't ask users to specify priority level ? Also , Is there a way that I can make all read transactions low and write transactions high from the DBA stand point where we get queries from APPs and not controlled from our end ?

//Display product information to user with high priority
RequestOptions getProductRequestOptions = new ItemRequestOptions{PriorityLevel = PriorityLevel.High};

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,463 questions
{count} votes

Accepted answer
  1. Richa Gaur 75 Reputation points Microsoft Employee
    2024-01-25T09:16:33.2933333+00:00

    Hi @Sai Praneeth Eranti, Thanks for posting your question.

    We would like to help you onboard to Priority-based execution and understand more about your use-case where you need to set priorities for different clients from DBA standpoint. Would you be interested in a short discussion with the product team at Microsoft?

    If yes, please share your contact details in this form: https://forms.microsoft.com/r/Gq6Wjv7Mmc


0 additional answers

Sort by: Most helpful