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

Enabling timeout/force-stop on SPARQL endpoints #227

Open
mdeagen opened this issue Jul 14, 2020 · 1 comment
Open

Enabling timeout/force-stop on SPARQL endpoints #227

mdeagen opened this issue Jul 14, 2020 · 1 comment
Labels

Comments

@mdeagen
Copy link
Collaborator

mdeagen commented Jul 14, 2020

Terminating execution of intractable queries would improve performance of the SPARQL endpoint.

Problem: Intractable queries (e.g., too broad, containing logical error, ...) may take several minutes or longer to return results. Without the ability to force-stop, a malformed query can slow down the entire system. In the worst cases, Blazegraph may require a restart.

UI/UX Fix: When the user runs a query, a loading icon is displayed. If the query is modified before results are returned, the loading icon disappears. However, the query still runs in the background (and results are sometimes returned several minutes or hours later without indication that the query is still running). If a still-running query is slowing things down, user should have option to stop the query or be made aware that the query is still running.

Backend Fix: Enable a timeout or force-stopping of queries, especially before a query is re-run after being modified.

@jpmccu jpmccu added the 20 label Jul 30, 2020
@mdeagen
Copy link
Collaborator Author

mdeagen commented Aug 26, 2020

Does/should Whyis use the Blazegraph Python Client? This commit may be relevant blazegraph/blazegraph-python@33cf933

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

No branches or pull requests

2 participants