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

[courier] each dashboard panel search request getting sent in separate HTTP request #17272

Closed
nreese opened this issue Mar 20, 2018 · 6 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@nreese
Copy link
Contributor

nreese commented Mar 20, 2018

It looks like each panel is submitting its own _msearch HTTP request when fetching data instead of combining into a single _msearch request.

screen shot 2018-03-20 at 9 40 27 am

screen shot 2018-03-20 at 9 40 36 am

cc @stacey-gammon @spalger

@nreese nreese added bug Fixes for quality problems that affect the customer experience blocker Feature:Dashboard Dashboard related features labels Mar 20, 2018
@stacey-gammon
Copy link
Contributor

Sometimes they are being grouped together. There is logic in there to send requests off every x ms, so sometimes, depending on how long it takes for one viz request to get added to the queue vs the next, they might go out in batches. It does seem to be splitting them up much more than previously though. I wonder if a timing thing changed...

@stacey-gammon
Copy link
Contributor

I went back 10 days and am seeing the same kind of request separation.... will see what happens if I go back even further.

@stacey-gammon
Copy link
Contributor

Went back 20 days, and same thing, so this is def not something recently introduced. I'll check a 6.2 version next to see how our released version is behaving.

@stacey-gammon
Copy link
Contributor

v6.2 acts the same, so this isn't a blocker.

@spalger
Copy link
Contributor

spalger commented Mar 20, 2018

I'm also seeing multiple msearch requests (with three panels I get two requests sometimes), but only sometimes and only when initially loading the dashboard. In my network panel Chrome says that requests start at 5.48 and 5.5, which is greater than the default 10ms debounce time. Any idea when dashboard panels would have started loading async? AFAIK all panels are loaded by the saved object loader before any of them are rendered, but things have changed a lot since I was in there last.

@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed :Sharing labels Sep 14, 2018
@lukasolson
Copy link
Member

lukasolson commented Mar 26, 2019

Hmm, not seeing this behavior any more, and we're considering removing the batching behavior and replacing it with some other optimization (such as response streaming), so I'm going to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

5 participants