-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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] Benchmark bfetch
impact in cloud with http2
#124538
Comments
Pinging @elastic/kibana-app-services (Team:AppServicesSv) |
ConditionsThese are the simple measurements I took. Simply from my machine:
ResultsIn different measurements I noticed that No network and cpu throttle
Fast 3G network and 4x cpu throttle
In this example we see that my dashboard is 1-2% faster with Worthing noting, that internally
This, for example, reduces Reminder, downsides of bfetch:
If my preliminary measurements are correct, then It doesn't look like @mshustov, @ppisljar, @streamich, @lukasolson do you have any thoughts about these results? |
Awesome! Thanks for doing these benchmarks. Since we are moving "cloud first" and the gains with |
We don't have to delete it. We can programmatically disable
It can be interesting to compare server-side metrics as well. Especially CPU load and event-loop delay. I have no idea what overhead |
It seems like currently Kibana has a sever bottleneck with simultaneous network requests (according to @lizozom's exploration). Using @lizozom's testing script (https://github.com/elastic/kibana-capacity-test) against the same Kibana instance: No bfetch, each search request is a separate network request:
With bfetch, but each bfetch request contains 10 search requests, so we get the same total amount of searches in total
So it seems that because of impact of larger number of separate network requests on Kibana server we shouldn't just ditch bfetch (which is mostly for developer experience purposes) until we figure out how to mitigate performance impact of separate network request |
pausing for now. internal doc with summary. |
bfetch
might be redundant in such setup/bsearch
#122244 we added configuration to run a search withoutbfetch
,bfetch
and withoutbfetch
in cloud with http2if you're interested in support of http2 in Kibana: #123748
The text was updated successfully, but these errors were encountered: