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

[Search service] Integrate batched fetch (bfetch) #54207

Closed
lukasolson opened this issue Jan 7, 2020 · 2 comments
Closed

[Search service] Integrate batched fetch (bfetch) #54207

lukasolson opened this issue Jan 7, 2020 · 2 comments
Labels
Feature:Search Querying infrastructure in Kibana impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort

Comments

@lukasolson
Copy link
Member

lukasolson commented Jan 7, 2020

Since we are no longer batching search search requests using _msearch, we have started receiving reports that dashboards seem slower. We anticipate part of this is caused by hitting the browser connection limit (6 concurrent requests) when loading a large dashboard. To alleviate this problem, we'd like to integrate with bfetch, which batches multiple requests and streams responses as they become available.

One of the challenges we may encounter is in regards to cancelling in-progress requests in OSS. Since batching requests and streaming responses relies on keeping the connection open, we can't simply close the connection on a single request if the user navigates away or replaces the query. We also can't reliably send an additional request to cancel an individual query since in a multi-tenant scenario we can't reliably route to the server processing the request.

@lukasolson lukasolson added Feature:Search Querying infrastructure in Kibana Team:AppArch labels Jan 7, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@exalate-issue-sync exalate-issue-sync bot added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort labels Jun 2, 2021
@lukasolson
Copy link
Member Author

Closed by #84043.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Search Querying infrastructure in Kibana impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort
Projects
None yet
Development

No branches or pull requests

2 participants