简体   繁体   English

天蓝色Cosmos DB的图形遍历性能

[英]graph traversal performance of azure Cosmos DB

Cosmos DB allows us to store graph data using the gremlin query language. Cosmos DB允许我们使用gremlin查询语言存储图形数据。

Are there intelligent algorithms optimizing how the graph is split up among many servers? 是否有智能算法可以优化在多个服务器之间分配图形的方式? If not I can imagine some queries being extremely slow do to network latency between the shards. 如果不是,我可以想象某些查询会非常慢,这会导致分片之间的网络延迟。

The documentation is still a bit lacking, but there are some performance considerations for DocumentDb itself. 仍然缺少文档,但是DocumentDb本身有一些性能方面的考虑。 Namely, setting up a PartitionKey that is adequately granular will split your data across multiple partitions, giving you higher throughput. 即,设置足够精细的PartitionKey会将您的数据拆分到多个分区中,从而提高吞吐量。 You can find more here: https://docs.microsoft.com/en-us/azure/documentdb/documentdb-partition-data 您可以在这里找到更多信息: https : //docs.microsoft.com/zh-cn/azure/documentdb/documentdb-partition-data

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM