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

[Performance] Suspicious _msearch request might be slowing down the display of dashboards #107

Open
mastropi opened this issue Aug 9, 2020 · 1 comment
Labels
question Further information is requested

Comments

@mastropi
Copy link
Collaborator

mastropi commented Aug 9, 2020

@mbourgue Possible performance issue discussed last week on the phone.

In dashboards, there seems to be an _msearch request that is not related to the dashboard request.

This is highlighted in the first screenshot below where the execution time of 2.5 sec and the POST payload for the usual INCOME dashboard are enclosed in red boxes. Note that the POST payload is very short as it corresponds to just one visualization of the visualizations present in the dashboard.

The correct _msearch request associated to the actual dashboard request is highlighted in the second screenshot where the execution time of 20 sec and the POST payload containing the dashboard request are enclosed in green boxes.

The question is: is the first _msearch request really necessary, and if not, is it slowing down the actual _msearch associated to the dashboard request?

1) Apparently unnecessary _msearch request
image

2) Actual dashboard _msearch request
image

@mastropi mastropi added the question Further information is requested label Aug 9, 2020
@mastropi
Copy link
Collaborator Author

Note that this "phantom" request distorts the query statistics which are used by the dashboard acceleration process, making the query appear much more requested than other queries. (The "phantom" query tends to be the same at every new request and it is not clear when it changes. I have also observed the phantom request no longer be there, but I cannot tell what causes its disappearance).

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

No branches or pull requests

2 participants