Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory: poor performance for recursive queries #786

Open
iddan opened this issue Jun 27, 2019 · 0 comments
Open

Memory: poor performance for recursive queries #786

iddan opened this issue Jun 27, 2019 · 0 comments
Labels

Comments

@iddan
Copy link
Collaborator

@iddan iddan commented Jun 27, 2019

Description
Simple recursive queries take much more compared to their non recursive counterparts.

Steps to reproduce the issue:
Follow a simple RDF list

g
.V()
.FollowRecursive("<http://www.w3.org/1999/02/22-rdf-syntax-ns#rest>")
.Out("<http://www.w3.org/1999/02/22-rdf-syntax-ns#first>")
.All()

Received results:
Results return 100x more slow

Expected results:
Performance to be similar to non recursive queries

Output of cayley version or commit hash:
5318a81

Environment details:
Docker

Backend database:
memory

@dennwc dennwc added the performance label Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.