본문 바로가기
Computer/Elasticsearch

elasticsearch thread pool

by hexists 2015. 5. 7.

http://www.elastic.co/guide/en/elasticsearch/reference/1.x/modules-threadpool.html


node는 thread memory consumption의 관리를 위해 several thread pools을 가진다.

이 pool들은 queues를 가지고, request를 폐기하는대신 대기할 수 있다.


index : fixed # of available processors, queue_size of 200

search : fixed 3x # of available processors, queue_size of 1000

suggest :  fixed # of available processors, queue_size of 1000

get : fixed # of available processors, queue_size of 1000

bulk : fixed # of available processors, queue_size of 50

precolate : fixed # of available processors, queue_size of 1000

snapshot : scaling, keep-alive 5m with a size of (# of available processors)/2

warmer : scaling with a 5m keep-alive

refresh : scaling with a 5m keep-alive

listener : (# of available processors)/2, max at 10


* cluster update settings를 통해 thread pool의 값들을 변경할 수 있음


thread pool types


cache : unbounded thread pool, 요청에 따라 pending 됨


threadpool:

    index:

        type: cached


fixed : fixed size, handle thre request with a queue


threadpool:

    index:

        type: fixed

        size: 30

        queue_size: 1000


개인 목적으로 공식 문서를 번역했습니다.

틀린 부분이 있을수도 있습니다.

'Computer > Elasticsearch' 카테고리의 다른 글

cache(indices.cache.filter.size)  (0) 2015.05.28
doc values  (0) 2015.05.06
eager, eager global ordinals  (1) 2015.05.06
Field data  (0) 2015.05.06
shard 상태 확인  (0) 2015.03.09