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

Improved scaling by disabling ES auto-rebalancing #9

Open
otrosien opened this issue Mar 29, 2019 · 1 comment
Open

Improved scaling by disabling ES auto-rebalancing #9

otrosien opened this issue Mar 29, 2019 · 1 comment
Labels
design Design idea, not ready for implementation

Comments

@otrosien
Copy link
Member

otrosien commented Mar 29, 2019

Our current node-group based index allocation is mainly due to the fact that the traffic pattern for certain indices is similar. This served fairly well in the past, but it has certain limitations.

  • ES own rebalancing logic doesn't always choose the best node to locate from / to, because it only considers number of shards, not actual load on the system
  • Indices cannot be scaled up in isolation

As a result we can end up with sub-optimal resource utilisation in our cluster: While some nodes may be under-utilised, other nodes could offload some shards there to balance their load, before having to scale up.

The proposed solution may look like this: Based on the assumption that all nodes should be utilised equally we try to manually balance the shard-to-node allocation in es-operator. Taking a cost-function we can try to optimise the shard-to-node allocation.

@otrosien otrosien added the design Design idea, not ready for implementation label Mar 29, 2019
@otrosien otrosien changed the title Scaling idea (disabling ES auto-rebalancing) Improved scaling by disabling ES auto-rebalancing Mar 29, 2019
@otrosien
Copy link
Member Author

OTOH this is raising the criticality of the ES operator, and these optimizations can easily be destroyed by human interaction, eg enabling auto-rebalancing temporarily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design idea, not ready for implementation
Projects
None yet
Development

No branches or pull requests

1 participant