AzureCosmosDB / PriorityBasedExceution

2 stars 1 forks source link

Python SDK #5

Open Rildlanster opened 7 months ago

Rildlanster commented 7 months ago

Hi, any plans to make the priority based execution available for the Python SDK? Also, it would be great to have an option in the container settings to always prioritize queries instead of inserts/upserts, for example. We're spending a lot of time trying to adjust our application to avoid spikes in upsert operations. In our use case we have an almost constant query consumption of ~5000 RU/s during the day and some periodic data loading jobs are causing 429 errors for the applications querying the container. It would be nice to be able to control the upsert spikes with prioritization or by allocating an specific amount of throughput to the operation.

thanks

kushagraThapar commented 6 months ago

@Rildlanster - it is done for python SDK, you can see the changelog here - https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/cosmos/azure-cosmos/CHANGELOG.md#452b2-2023-10-31

for your other question, I will defer to @richagaur