-
Notifications
You must be signed in to change notification settings - Fork 13
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
Cancel the query execution if the filter for the widget has been changed #84
Comments
To do that you need to execute query in Async mode and while it's (maybe) possible to add I think drawbacks from that would outweigh any possible advantage. |
We need it greatly in DSW UI. |
Yes, but to do that we need to run all queries asynchronously. It would be slower on the whole because for each query we would need 2 requests at the minimum.
Why? JS side we just drop the requests. Server has DeepSee agents, so even if one request takes a minute it does not particularly affect other requests. |
Added If Query cancellation at Commits: |
@gnibeda ? Implement please? |
REST cancel all when you go out from the dashboard in session only |
automate requests cancel from dashboards |
Header -> MDX data exists -> cancel
|
At this point we achived accuaring query keys for each query, managed deleting the keys when query is done. We`ve discussed that call for canceling the query should be automatic everytime we received /dashboard. The problem is that each request come one by one and executed accordingly. For query to be canceled request need to be async For example on this screenshot marked /MDX request is started on a previous dashboard, but newly opened dashboard have to wait in line for the previos /MDX to load We should develop new approach for canceling the queris. I suggest we develop new endpoint for that |
How to cancel query execution:
https://community.intersystems.com/post/how-cancel-execution-long-query-deepsee
The text was updated successfully, but these errors were encountered: