[英]Cosmos Query Latency
FeedResponse<T> feedResponse =
cosmosContainer.readMany(
ids.stream()
.map(id -> new CosmosItemIdentity(partitionKey, id))
.collect(Collectors.toList()),
domainClass);
上面的 cosmos 片段花费了超过 1 秒,这太多了。 有什么办法可以优化吗?
代码块执行的延迟取决于几个因素,例如:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.