Skip to content

[7.x][ML] Ensure bulk requests are not over memory limit (#60219)#60283

Merged
dimitris-athanasiou merged 1 commit intoelastic:7.xfrom
dimitris-athanasiou:ensure-ml-bulk-requests-are-not-over-limit-7x
Jul 28, 2020
Merged

[7.x][ML] Ensure bulk requests are not over memory limit (#60219)#60283
dimitris-athanasiou merged 1 commit intoelastic:7.xfrom
dimitris-athanasiou:ensure-ml-bulk-requests-are-not-over-limit-7x

Conversation

@dimitris-athanasiou
Copy link
Copy Markdown
Contributor

Data frame analytics jobs that work with very large datasets
may produce bulk requests that are over the memory limit
for indexing. This commit adds a helper class that bundles
index requests in bulk requests that steer away from the
memory limit. We then use this class both from the results
joiner and the inference runner ensuring data frame analytics
jobs do not generate bulk requests that are too large.

Note the limit was implemented in #58885.

Backport of #60219

Data frame analytics jobs that work with very large datasets
may produce bulk requests that are over the memory limit
for indexing. This commit adds a helper class that bundles
index requests in bulk requests that steer away from the
memory limit. We then use this class both from the results
joiner and the inference runner ensuring data frame analytics
jobs do not generate bulk requests that are too large.

Note the limit was implemented in elastic#58885.

Backport of elastic#60219
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/ml-core (:ml)

@dimitris-athanasiou dimitris-athanasiou merged commit 16ffcfb into elastic:7.x Jul 28, 2020
@dimitris-athanasiou dimitris-athanasiou deleted the ensure-ml-bulk-requests-are-not-over-limit-7x branch July 28, 2020 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport >bug :ml Machine learning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants