https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-threadpool.html
Thread pool typesedit
The following are the types of thread pools and their respective parameters:
fixed
edit
The fixed
thread pool holds a fixed size of threads to handle the requests with a queue (optionally bounded) for pending requests that have no threads to service them.
The size
parameter controls the number of threads, and defaults to the number of cores times 5.
The queue_size
allows to control the size of the queue of pending requests that have no threads to execute them. By default, it is set to -1
which means its unbounded. When a request comes in and the queue is full, it will abort the request.
thread_pool: index: size: 30 queue_size: 1000
scaling
edit
The scaling
thread pool holds a dynamic number of threads. This number is proportional to the workload and varies between the value of the core
and max
parameters.
The keep_alive
parameter determines how long a thread should be kept around in the thread pool without it doing any work.
thread_pool: warmer: core: 1 max: 8 keep_alive: 2m
'Elasticsearch' 카테고리의 다른 글
[elasticsearch5] dynamic template (0) | 2017.08.23 |
---|---|
[elasticsearch5] elasticsearch for hadoop(하둡 연동 일레스틱서치) (0) | 2017.08.23 |
[elasticsearch] 쿼리 취소하기 (0) | 2017.08.21 |
[elasticsearch5] thread pool status (0) | 2017.08.18 |
[elasticsearch] indices.fielddata.cache.expire 설정 (0) | 2017.08.02 |