-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Set a default value for 'preference' for Kibana ES' client #119462
Comments
Pinging @elastic/kibana-core (Team:Core) |
What we're exposing to our API consumers via the Unless this is critical in some way, I'd really rather wait until this is addressed upstream (or until we have other use cases to wrap the exposed client with a wrapper/proxy that would allow to potentially perform this more easily) |
@dgieselaar Can we just do this for APM for the time being? |
@sqren we have it for APM already. @pgayvallet I can't really comment on how critical it is. It will increase cache hits by a certain amount when querying shards with 1 or more replicas. I was hoping for an easy fix but if it requires an architectural change than it might not be worth it. But I wouldn't hold your breath for a change on the Elasticsearch side for now, if that is what you were looking for. |
There is a valid concern about making it the default: elastic/elasticsearch#73251 (comment)
So it means we can make it default, but users must have the ability to configure the value to mitigate the potential problems. A downside of the proposal is that the Core cannot leverage configured |
Per @jpountz's (cautious) recommendation to set a default value for preference to increase shard request cache hit ratio, I would like to suggest that we do this for Kibana's ES client.
The text was updated successfully, but these errors were encountered: