-
for example:g.V().has('tag','janus').valueMap(true); if the tag of janus are many records,read properties by vid will be executed sequentially in backend,the time spent on network transmission will continue to accumulate..so can JanusGraph parallel read properties in the future? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
JanusGraph does support this. See query.batch option in https://docs.janusgraph.org/basics/configuration-reference/#query but whether it takes effect depends on the data backend you are using. EDIT: just to update my answer to not mislead anyone who does not read the discussions below. In short, CQL backend supports "query.batch" option (see performance comparison between query.batch = false v.s. query.batch = true at https://www.experoinc.com/post/janusgraph-nuts-and-bolts-part-2-the-new-cql-adapter) but the option does not take effect on valueMap() step. |
Beta Was this translation helpful? Give feedback.
JanusGraph does support this. See query.batch option in https://docs.janusgraph.org/basics/configuration-reference/#query but whether it takes effect depends on the data backend you are using.
For example, currently, Cassandra backend does not support it but HBase supports it. What is your data backend?EDIT: just to update my answer to not mislead anyone who does not read the discussions below. In short, CQL backend supports "query.batch" option (see performance comparison between query.batch = false v.s. query.batch = true at https://www.experoinc.com/post/janusgraph-nuts-and-bolts-part-2-the-new-cql-adapter) but the option does not take effect on valueMap() step.