Azure / Azure/azure-sdk-for-python

Cosmos: additional support for dedicated gateway SQLx features

Abierto
#44,845 1 comentario 0 reacciones 1 asignado Asignado a @simorenoh Ver en GitHub
Client Cosmos
Lenguaje dominante
Python
Estrellas
5.6k
Forks
3.4k
Merge medio
2 d 2 h
PR fusionados (30 d)
213

Descripción

We are currently missing two dedicated gateway features in the Python SDK:

**Bypass Dedicated Gateway**
Provide more control to customers by allowing them to choose whether to use the integrated cache or not. If set to `true`, the read will be served by the backend and won't be cached in the dedicated gateway.

ref: https://github.com/Azure/azure-sdk-for-java/pull/35865

**Shard Key**
Allow customers to optionally specify a shard key to use the new sharding feature.
Specifying the shard key will help route the request to an instance that has cached data for this shard or bypass the SQLx cache if correlated instance is down. If the shard key is not specified, it will fall back to the default behavior, which is randomly selecting an instance to serve the request.

ref: https://github.com/Azure/azure-sdk-for-java/pull/47796

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.