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

Rolling back at the beginning of every request cause huge overhead #1485

Open
darwinyip opened this issue Mar 11, 2019 · 0 comments
Open

Rolling back at the beginning of every request cause huge overhead #1485

darwinyip opened this issue Mar 11, 2019 · 0 comments

Comments

@darwinyip
Copy link
Contributor

In reference of http://tinkerpop.apache.org/docs/current/reference/#transactions and #500.

Adding a rollback() at the beginning of every request adds a large overhead of about 30s for retrieving only 4000~ vertices with indices enabled. Removing rollback() speeds up all requests to be in the range of milliseconds. However, removing rollback() causes inconsistencies with deleting edges.

We follow https://docs.janusgraph.org/latest/tx.html pretty closely for adding and updating vertices and edges and haven't encountered inconsistency issues without rollback().

Are there no way to refresh the graph cache when deleting objects? Can there be more docs regarding this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants