[ 
https://issues.apache.org/jira/browse/SOLR-16974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17764747#comment-17764747
 ] 

Justin Sweeney commented on SOLR-16974:
---------------------------------------

Curious on thoughts for how per-core vs per-node circuit breakers should 
interact. Here is one potential option:

I could envision it working where per-node are used as defaults and per-core 
are more specific overrides. In that case, we would want to only check the 
global circuit breakers if there are no per-core circuit breakers enabled of a 
given type.

For example, in an environment with Collection A, Collection B, and Collection 
C, if per-node CPU circuit was configured for 80%, but Collection A had a 
per-core circuit configured for 90%, we should not trip requests to Collection 
A when CPU is at 85%, but we would trip requests to Collections B and C.

I'd imagine typical usage would just be configuring global circuit breakers per 
node, but the per-core would be more advance usage in multi-collection 
environments. What do you think about that?

> Global Circuit Breakers
> -----------------------
>
>                 Key: SOLR-16974
>                 URL: https://issues.apache.org/jira/browse/SOLR-16974
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Circuit Breakers
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Currently Circuit Breakers are configured per core in solrconfig.xml. 
> However, cores/collections do not live in isolation, and it could be that a 
> cluster administrator would like to enforce circuit breakers for the entire 
> cluster.
> I'm not clear as to whether we need both cluster level and a core level 
> pluggability. And would core-level breakers add to any cluster-level ones or 
> override them for that core?
> A potential design is to add this as a new plugin in solr.xml, and have them 
> added in a new static context of CircuitBreakerRegistry. Then the isTripped 
> logic would consult both the per-core list and the static/global list of 
> breakers.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to