Skip to content

Conversation

@benwtrent
Copy link
Member

Throttling nightly cleanup as much as we do has been over cautious.

Night cleanup should be more lenient in its throttling. We still
keep the same batch size, but now the requests per second scale
with the number of data nodes. If we have more than 5 data nodes,
we don't throttle at all.

Additionally, the API now has requests_per_second and timeout set.
So users calling the API directly can set the throttling.

This commit also adds a new setting xpack.ml.nightly_maintenance_requests_per_second.
This will allow users to adjust throttling of the nightly maintenance.

…c#56895)

Throttling nightly cleanup as much as we do has been over cautious.

Night cleanup should be more lenient in its throttling. We still
keep the same batch size, but now the requests per second scale
with the number of data nodes. If we have more than 5 data nodes,
we don't throttle at all.

Additionally, the API now has `requests_per_second` and `timeout` set.
So users calling the API directly can set the throttling.

This commit also adds a new setting `xpack.ml.nightly_maintenance_requests_per_second`.
This will allow users to adjust throttling of the nightly maintenance.
@benwtrent benwtrent added :ml Machine learning backport labels May 18, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

@benwtrent benwtrent merged commit ef94226 into elastic:7.8 May 18, 2020
@benwtrent benwtrent deleted the backport/7.8/pr-56711 branch May 18, 2020 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :ml Machine learning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants