Tuesday, 15 February 2011

How to kill the thread of searching request on elasticsearch cluster? Is there some API to do this? -



How to kill the thread of searching request on elasticsearch cluster? Is there some API to do this? -

i made elasticsearch cluster big data, , client can send searching request it. sometimes, cluster costs much time deal 1 request. question is, there api kill specified thread cost much time?

i wanted follow on reply elasticsearch 1.0.0 has been released. happy announce there new functionality has been introduced implements protection heap, called circuit breaker.

with current implementation, circuit breaker tries anticipate how much info going loaded field info cache, , if it's greater limit (80% default) trip circuit breaker , there kill query.

there 2 parameters set if want modify them:

indices.fielddata.breaker.limit indices.fielddata.breaker.overhead

the overhead constant used estimate how much info loaded field cache; 1.03 default.

this exciting development elasticsearch , feature have been waiting implemented months.

this pull request if interested in seeing how made; dakrone getting done!

https://github.com/elasticsearch/elasticsearch/pull/4261

hope helps, matthewj

elasticsearch kill-process

No comments:

Post a Comment