lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raintung Li (JIRA)" <>
Subject [jira] [Commented] (SOLR-4449) Enable backup requests for the internal solr load balancer
Date Wed, 20 Feb 2013 08:27:13 GMT


Raintung Li commented on SOLR-4449:

Hi Philip, I have one suggestion that don't open new thread in BackupRequestLBHttpSolrServer
that will increase threads double special in the search function.
Search receive request thread will wait the response from multiple shards, this thread can
submit the second request to shards of overtime.
For example:
One search request:
3 shards, 
the first request: Need 1+3*2 = 7 threads to handle , 
the second request: Bad case(3 shards all need resend again) 10 threads

Change to 
the first request: Need 1+3=4  threads to handle
the second request: Bad case 7 threads

Look solr use simple random to do LB. 
This blog attacked the random strategy was terrible.

> Enable backup requests for the internal solr load balancer
> ----------------------------------------------------------
>                 Key: SOLR-4449
>                 URL:
>             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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message