lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "philip hoy (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SOLR-4449) Enable backup requests for the internal solr load balancer
Date Wed, 13 Feb 2013 16:42:13 GMT

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

philip hoy edited comment on SOLR-4449 at 2/13/13 4:41 PM:
-----------------------------------------------------------

The patch implements backup requests only for the methods used by the HttpShardHandler not
for Solrj client type use. 

The load balancer may be configured using something like the following:
{code:xml} 
<shardHandlerFactory class="HttpBackupRequestShardHandlerFactory"> 
	<int name="backupRequestDelay">1000</int> 
	<int name="maximumConcurrentRequests">2</int> 
        <!-- all the HttpShardHandlerFactory args are available too. -->
</shardHandlerFactory>
{code}
                
      was (Author: phloy):
    The patch implements backup requests only for the methods used by the HttpShardHandler
not for Solrj client type use. 

The load balancer may be configured using something like the following:
{code:xml} 
<shardHandlerFactory class="HttpBackupRequestShardHandlerFactory"> 
	<int name="backupRequestDelay">1000</int> 
	<int name="maximumConcurrentRequests">2</int> 
</shardHandlerFactory>
{code}
                  
> 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: SOLR-4449.patch
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message