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

Increase Kibana responsiveness #14655

Closed
alepuccetti opened this issue Oct 29, 2017 · 5 comments
Closed

Increase Kibana responsiveness #14655

alepuccetti opened this issue Oct 29, 2017 · 5 comments
Labels

Comments

@alepuccetti
Copy link

Describe the feature:

When you have many visualizations (especially using aggregations) in a dashboard the loading time could get very high. Kibana uses a single _msearch to return all the queries results this bounds the return time to the slowest query.

Few ideas:

  1. Introducing loading bar per visualization.
  2. Cap the number of visualizations resolved in one _msearch and have multiple calls of _msearch.
    2.2 To the extreme: one query per visualization (this may impact Elasticsearch performances?).
  3. Enable Kibana to fire queries only of the visible visualizations.
@shaharmor
Copy link
Contributor

@alepuccetti the new TSVB visualization already does 1 request per visualization

@alepuccetti
Copy link
Author

@shaharmor Good to know but what about the other visualizations? If you have a dashboard with visualizations (not TSVB or timelion) the dashboard view do a single _msearch to for all of them bounding the response to the slowest one. Also, point 3 will improve user experiences and could be even that Kibana will query all the vis but wait for the visible one to finish before querying the others. Example of the flow:

  1. Query all the visible visualizations one query per visualization.
  2. Wait for the last (or first) to return.
  3. Start query the first not-visible visualization.

In this scenario, having a loading bar per visualization will be useful to see which visualization returned an which did not. Also, the user could start looking to some of the data while other visualizations load.

A possible side effect is that: If the date format use now, data between visualizations could represent slight different timeframe.

@epixa
Copy link
Contributor

epixa commented Nov 20, 2017

@stacey-gammon Is there already an issue for more robust handling of dashboard searches? I could have sworn there was, but I can't find it.

@stacey-gammon
Copy link
Contributor

Ah yep, I filed #14750 shortly after this one was filed.

@epixa
Copy link
Contributor

epixa commented Nov 20, 2017

@alepuccetti Thanks for opening this issue. While #14750 is newer than this, I'm going to close this issue in favor of that one since there is some more discussion going on in that other issue.

@epixa epixa closed this as completed Nov 20, 2017
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

4 participants