o19s / elasticsearch-learning-to-rank

Plugin to integrate Learning to Rank (aka machine learning for better relevance) with Elasticsearch
http://opensourceconnections.com/blog/2017/02/14/elasticsearch-learning-to-rank/
Apache License 2.0
1.47k stars 370 forks source link

Add memory circuit breaker #303

Open jngz-es opened 4 years ago

jngz-es commented 4 years ago

I'd like to add memory circuit breaker on LTR memory usage to not impact the cluster availability, like ingestion function, when the system memory usage is high.

nathancday commented 4 years ago

This seems like a smart thing to do, what would be the behavior when memory usage is too high?

jngz-es commented 4 years ago

What I am thinking is rejecting APIs which consume memory like create model/feature set etc.