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

Jason Gerlowski edited comment on SOLR-17277 at 5/21/24 6:59 PM:
-----------------------------------------------------------------

Adding APIs to reconfigure CBs on the fly, etc. is beyond our scope here I 
think.  For fear of letting the perfect be the enemy of the good, I'll use this 
ticket to focus on only (2) - it's a nice discrete chunk to break off, and then 
we can go from there on other tickets.

(I think (3) in particular would be pretty cool - but it'd require a real 
overhaul in how CB's are configured - especially in the "global" CB case where 
the only way to configure things currently is with a finite list of system 
props.  It'd be easier to tackle if "global" CB's could be configured in 
solr.xml, similar to how the collection-level CB's are done.  But maybe in the 
future at some point...)


was (Author: gerlowskija):
Yeah, I think (3) would be cool, 

Adding APIs to reconfigure CBs on the fly, etc. is beyond our scope here I 
think.  For fear of letting the perfect be the enemy of the good, I'll use this 
ticket to focus on only (2) - it's a nice discrete chunk to break off, and then 
we can go from there on other tickets.

(I think (3) in particular would be pretty cool - but it'd require a real 
overhaul in how CB's are configured - especially in the "global" CB case where 
the only way to configure things currently is with a finite list of system 
props.  It'd be easier to tackle if "global" CB's could be configured in 
solr.xml, similar to how the collection-level CB's are done.  But maybe in the 
future at some point...)

> Circuit Breakers should support a "Warn-only" mode
> --------------------------------------------------
>
>                 Key: SOLR-17277
>                 URL: https://issues.apache.org/jira/browse/SOLR-17277
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Circuit Breakers
>    Affects Versions: main (10.0)
>            Reporter: Jason Gerlowski
>            Priority: Minor
>              Labels: newdev
>
> The threshold values used when configuring Circuit Breakers are incredibly 
> important.  Identifying when load begins to get "dangerous" is tricky: too 
> stringent and users will get 429s unnecessarily, too lax and the circuit 
> breakers won't be effective at preventing crashes.
> Conservative users may wish to evaluate potential thresholds without actually 
> blocking traffic.  Could Circuit Breakers offer some sort of "Dry Run" 
> capability - where a request that would otherwise have been blocked merely 
> logs a message?  This would allow users to get feedback on their thresholds 
> before they actually start sending CB-based 429s to users.



--
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