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

noble.paul edited comment on SOLR-844 at 11/29/08 8:50 PM:
-----------------------------------------------------------

A simple round-robin based implementtaion. Keeps two lists of servers live and 
dead. If a request to a server fails it is added to the list of dead servers.

Periodically (once in a minute) the dead servers are pinged to find if they are 
up again. The ping is done in a thread which makes a normal request. A thread 
checks only one server

Needs another ConfigLBHttpSolrServer which can be driven from a config file 
(local/http)

      was (Author: noble.paul):
    A simple round-robin based implementtaion. Keeps two lists of servers live 
and dead. If a request to a server fails it is added to the list of dead 
servers.

Periodically (one in a minute) the dead servers are pinged to find if they are 
up again. The ping is done in a thread which makes a normal request. A thread 
checks only one server

Needs another ConfigLBHttpSolrServer which can be driven from a config file 
(local/http)
  
> A SolrServer impl to front-end multiple urls
> --------------------------------------------
>
>                 Key: SOLR-844
>                 URL: https://issues.apache.org/jira/browse/SOLR-844
>             Project: Solr
>          Issue Type: New Feature
>          Components: clients - java
>    Affects Versions: 1.3
>            Reporter: Noble Paul
>             Fix For: 1.4
>
>         Attachments: SOLR-844.patch, SOLR-844.patch
>
>
> Currently a {{CommonsHttpSolrServer}} can talk to only one server. This 
> demands that the user have a LoadBalancer or do the roundrobin on their own. 
> We must have a {{LBHttpSolrServer}} which must automatically do a 
> Loadbalancing between multiple hosts. This can be backed by the 
> {{CommonsHttpSolrServer}}
> This can have the following other features
> * Automatic failover
> * Optionally take in  a file /url containing the the urls of servers so that 
> the server list can be automatically updated  by periodically loading the 
> config
> * Support for adding removing servers during runtime
> * Pluggable Loadbalancing mechanism. (round-robin, weighted round-robin, 
> random etc)
> * Pluggable Failover mechanisms

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to