当 CosmosDb 说 10 毫秒写入延迟时,它是否包括写入请求到达 cosmosdb 服务器所需的时间?

When CosmosDb says 10 ms write latency, does it include the time it takes for the write request to reach the cosmosdb server?

这篇关于 cosmosdb consistency levels and latency 的文档说 CosmosDb 写入在第 99 个百分位数处有 10 毫秒的延迟。这是否包括写入到达 CosmosDB 所需的时间。我怀疑不是,因为如果我在远离我配置的 azure 区域的地方发出请求,我看不出它如何花费 < 10 毫秒。

SLA 是针对执行操作和返回结果所涉及的延迟。正如您提到的,它不包括到达 Cosmos 端点所花费的时间,这取决于客户端的距离。

performance guidance所示:

You can get the lowest possible latency by ensuring that the calling application is located within the same Azure region as the provisioned Azure Cosmos DB endpoint.

根据我的经验,<10 毫秒的延迟对于与其工作的 Cosmos 端点位于同一区域的应用程序来说是典型的。