[ https://issues.apache.org/jira/browse/SOLR-844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666413#action_12666413 ]
Noble Paul commented on SOLR-844: --------------------------------- bq.I'm not sure there is a clear consensus about this functionality being a good thing This is not a Solr functionality. This is an external feature. Solr is agnostic about it. Most of our users use Solr with an external LoadBalancer. It does not mean that that is the best solution always. They do it because that is the only way .We are trying to offer a choice. A very good comparison would be memcached client . It does load balancing at the client side . I have copied some ideas from there too. I have already mentioned the example of mysql. The problems with the existing solutions is that there is no automatic failover. This implementation has it. > 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 > Assignee: Shalin Shekhar Mangar > Fix For: 1.4 > > Attachments: SOLR-844.patch, 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.