Bug: Janusgraph Filter queries highly inefficient at medium to large scale #891
Labels
Architecture
elasticsearch
janusgraph
performance
Urgent / Blocker
Highest priority of an issue. Use sparingly, for major bugs or issues blocking many users
Reproduce
Expected behavior
At the above scale all queries should be fast, even list queries which aren't the strength of the NoSQL based setup
Actual Behavior
Depending on which class is used, queries are very slow, for example "Get 100 of Thing Foo" takes around 20 seconds
Analysis
Setting Janusgraph to debug mode, we can see that the queries to the index backend (ES) aren't restrictive at all:
They should be much more narrowed down, instead it seems janus is iterating over every single thing out there.
The text was updated successfully, but these errors were encountered: