Skip to content

Commit

Permalink
ESQL: Document esql_worker threadpool (elastic#113203)
Browse files Browse the repository at this point in the history
Documents the thread pool we use to run ESQL operations. It's the same
size and queue depth as the `search` thread pool.

Closes elastic#113130
  • Loading branch information
nik9000 committed Sep 24, 2024
1 parent 25fcdc5 commit 9ebd5bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/reference/modules/threadpool.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ There are several thread pools, but the important ones include:
`min(5 * (`<<node.processors, `# of allocated processors`>>`), 50)`
and queue_size of `1000`.

[[modules-threadpool-esql]]`esql_worker`::
Executes <<esql>> operations. Thread pool type is `fixed` with a
size of `int((`<<node.processors, `# of allocated processors`>>
`pass:[ * ]3) / 2) + 1`, and queue_size of `1000`.

Thread pool settings are <<static-cluster-setting,static>> and can be changed by
editing `elasticsearch.yml`. Changing a specific thread pool can be done by
setting its type-specific parameters; for example, changing the number of
Expand Down

0 comments on commit 9ebd5bd

Please sign in to comment.