Skip to content

[7.x] [Task Manager] Batches the update operations in Task Manager (#71470)#72626

Merged
gmmorris merged 1 commit intoelastic:7.xfrom
gmmorris:backport/7.x/pr-71470
Jul 21, 2020
Merged

[7.x] [Task Manager] Batches the update operations in Task Manager (#71470)#72626
gmmorris merged 1 commit intoelastic:7.xfrom
gmmorris:backport/7.x/pr-71470

Conversation

@gmmorris
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

…#71470)

This PR attempts to batch update tasks in Task Manager in order to avoid overloading the Elasticsearch queue.
This is the 1st PR addressing elastic#65551

Under the hood we now use a Reactive buffer accumulates all calls to the `update` api in the TaskStore and flushes after 50ms or when as many operations as there are workers have been buffered (whichever comes first).
@gmmorris gmmorris added the backport This PR is a backport of another PR label Jul 21, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@gmmorris gmmorris merged commit 6378647 into elastic:7.x Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR reverted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants