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

philip hoy commented on SOLR-4449:
----------------------------------

[~isaachebsh], to test, just drop the attached jar into the shared lib folder 
and add the shardHandlerFactory configuration to the requestHandler node in the 
solrconfig.xml:
{code:xml} 
<requestHandler default="true" name="standard" class="solr.SearchHandler">
  <shardHandlerFactory class="HttpBackupRequestShardHandlerFactory">
    <int name="backupRequestDelay">1500</int>
    <int name="maximumConcurrentRequests">2</int>
  </shardHandlerFactory>
</requestHandler>
{code} 

I too have no idea why the HttpShardHandler contains that comment. However for 
the sake of caching, hitting the same replica could be beneficial i guess.
                
> Enable backup requests for the internal solr load balancer
> ----------------------------------------------------------
>
>                 Key: SOLR-4449
>                 URL: https://issues.apache.org/jira/browse/SOLR-4449
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>            Reporter: philip hoy
>            Priority: Minor
>         Attachments: patch-4449.txt, SOLR-4449.patch, SOLR-4449.patch, 
> SOLR-4449.patch, solr-back-request-lb-plugin.jar
>
>
> Add the ability to configure the built-in solr load balancer such that it 
> submits a backup request to the next server in the list if the initial 
> request takes too long. Employing such an algorithm could improve the latency 
> of the 9xth percentile albeit at the expense of increasing overall load due 
> to additional requests. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to