[jira] Commented: (SOLR-1698) load balanced distributed search

2010-01-12 Thread Yonik Seeley (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12799250#action_12799250
 ] 

Yonik Seeley commented on SOLR-1698:


This is now part of the solr_cloud branch.
Seems like we should change the default number of retries from 3 to 1 in our 
HttpClient... otherwise failover can take a little while.

 load balanced distributed search
 

 Key: SOLR-1698
 URL: https://issues.apache.org/jira/browse/SOLR-1698
 Project: Solr
  Issue Type: Improvement
Reporter: Yonik Seeley
 Attachments: SOLR-1698.patch, SOLR-1698.patch, SOLR-1698.patch, 
 SOLR-1698.patch, SOLR-1698.patch


 Provide syntax and implementation of load-balancing across shard replicas.

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



[jira] Commented: (SOLR-1698) load balanced distributed search

2010-01-12 Thread Yonik Seeley (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12799283#action_12799283
 ] 

Yonik Seeley commented on SOLR-1698:


committed no-retries on solr_cloud branch.  Has the nice side-effect of 
speeding up some of the tests too.

 load balanced distributed search
 

 Key: SOLR-1698
 URL: https://issues.apache.org/jira/browse/SOLR-1698
 Project: Solr
  Issue Type: Improvement
Reporter: Yonik Seeley
 Attachments: SOLR-1698.patch, SOLR-1698.patch, SOLR-1698.patch, 
 SOLR-1698.patch, SOLR-1698.patch


 Provide syntax and implementation of load-balancing across shard replicas.

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



[jira] Commented: (SOLR-1698) load balanced distributed search

2010-01-12 Thread patrick o'leary (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12799430#action_12799430
 ] 

patrick o'leary commented on SOLR-1698:
---

How does this work with search domains in resolv.conf ?

 load balanced distributed search
 

 Key: SOLR-1698
 URL: https://issues.apache.org/jira/browse/SOLR-1698
 Project: Solr
  Issue Type: Improvement
Reporter: Yonik Seeley
 Attachments: SOLR-1698.patch, SOLR-1698.patch, SOLR-1698.patch, 
 SOLR-1698.patch, SOLR-1698.patch


 Provide syntax and implementation of load-balancing across shard replicas.

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



[jira] Commented: (SOLR-1698) load balanced distributed search

2010-01-11 Thread Uri Boness (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12798851#action_12798851
 ] 

Uri Boness commented on SOLR-1698:
--

I think the patch doesn't work. I just checkout the trunk and applying the 
patch fails with a conflict for LBHttpSolrServer.java

 load balanced distributed search
 

 Key: SOLR-1698
 URL: https://issues.apache.org/jira/browse/SOLR-1698
 Project: Solr
  Issue Type: Improvement
Reporter: Yonik Seeley
 Attachments: SOLR-1698.patch, SOLR-1698.patch, SOLR-1698.patch, 
 SOLR-1698.patch


 Provide syntax and implementation of load-balancing across shard replicas.

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



[jira] Commented: (SOLR-1698) load balanced distributed search

2010-01-11 Thread Yonik Seeley (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12798856#action_12798856
 ] 

Yonik Seeley commented on SOLR-1698:


Hmmm, the rejection had $Id - that might be the cause.  I'll see if I can get 
rid of it first and generate a new patch.

 load balanced distributed search
 

 Key: SOLR-1698
 URL: https://issues.apache.org/jira/browse/SOLR-1698
 Project: Solr
  Issue Type: Improvement
Reporter: Yonik Seeley
 Attachments: SOLR-1698.patch, SOLR-1698.patch, SOLR-1698.patch, 
 SOLR-1698.patch


 Provide syntax and implementation of load-balancing across shard replicas.

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



[jira] Commented: (SOLR-1698) load balanced distributed search

2010-01-11 Thread Uri Boness (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12798870#action_12798870
 ] 

Uri Boness commented on SOLR-1698:
--

yep.. that works

 load balanced distributed search
 

 Key: SOLR-1698
 URL: https://issues.apache.org/jira/browse/SOLR-1698
 Project: Solr
  Issue Type: Improvement
Reporter: Yonik Seeley
 Attachments: SOLR-1698.patch, SOLR-1698.patch, SOLR-1698.patch, 
 SOLR-1698.patch, SOLR-1698.patch


 Provide syntax and implementation of load-balancing across shard replicas.

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



[jira] Commented: (SOLR-1698) load balanced distributed search

2010-01-10 Thread Yonik Seeley (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12798558#action_12798558
 ] 

Yonik Seeley commented on SOLR-1698:


Not sure what's going on... but it seems like if I have more than one load 
balancer instance that only one does zombie checks.  Really strange -  I've 
been banging my head against the wall for a while now.


 load balanced distributed search
 

 Key: SOLR-1698
 URL: https://issues.apache.org/jira/browse/SOLR-1698
 Project: Solr
  Issue Type: Improvement
Reporter: Yonik Seeley
 Attachments: SOLR-1698.patch, SOLR-1698.patch, SOLR-1698.patch


 Provide syntax and implementation of load-balancing across shard replicas.

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



[jira] Commented: (SOLR-1698) load balanced distributed search

2010-01-05 Thread Noble Paul (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12796585#action_12796585
 ] 

Noble Paul commented on SOLR-1698:
--

is this related to SOLR-1431 . I though we can have custom ShardComponents for 
these things

 load balanced distributed search
 

 Key: SOLR-1698
 URL: https://issues.apache.org/jira/browse/SOLR-1698
 Project: Solr
  Issue Type: Improvement
Reporter: Yonik Seeley

 Provide syntax and implementation of load-balancing across shard replicas.

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



[jira] Commented: (SOLR-1698) load balanced distributed search

2010-01-05 Thread Yonik Seeley (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12796838#action_12796838
 ] 

Yonik Seeley commented on SOLR-1698:


Looking into LBHttpSolrServer more, it looks like we have some serious 
concurrency issues.  When a request does fail, a global lock is aquired to move 
from alive to zombie - but this same lock is used while making requests to 
check if zombies have come back (i.e. actual requests to zombies are being made 
with the lock held!).

For distributed search use (SearchHandler) I'm thinking of going with option #2 
from my previous message (have a single static LBHttpSolrServer instance that's 
shared for all requests, with an extra method that allows passing of a list of 
addresses on a per-request basis.).  I'll address the concurrency issues at the 
same time.

 load balanced distributed search
 

 Key: SOLR-1698
 URL: https://issues.apache.org/jira/browse/SOLR-1698
 Project: Solr
  Issue Type: Improvement
Reporter: Yonik Seeley

 Provide syntax and implementation of load-balancing across shard replicas.

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



[jira] Commented: (SOLR-1698) load balanced distributed search

2010-01-05 Thread Noble Paul (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12797011#action_12797011
 ] 

Noble Paul commented on SOLR-1698:
--

LBHttpSolrServer can have the concept of a sticky session and the session 
object can be used for all shard requests made in a single solr request.

 load balanced distributed search
 

 Key: SOLR-1698
 URL: https://issues.apache.org/jira/browse/SOLR-1698
 Project: Solr
  Issue Type: Improvement
Reporter: Yonik Seeley

 Provide syntax and implementation of load-balancing across shard replicas.

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



[jira] Commented: (SOLR-1698) load balanced distributed search

2010-01-04 Thread Yonik Seeley (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12796410#action_12796410
 ] 

Yonik Seeley commented on SOLR-1698:


This is related to the solr cloud branch, but is perhaps separable enough that 
I thought I'd try integrating into trunk.
We could add pipe delimiters between equivalent shards - useful for testing, 
troubleshooting, and ad hoc requests, even when shard info will be retrieved 
from zookeeper.

Example shards param:
shards=localhost:8983/solr|localhost:8985/solr,localhost:7574/solr|localhost:7576/solr

 load balanced distributed search
 

 Key: SOLR-1698
 URL: https://issues.apache.org/jira/browse/SOLR-1698
 Project: Solr
  Issue Type: Improvement
Reporter: Yonik Seeley

 Provide syntax and implementation of load-balancing across shard replicas.

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



[jira] Commented: (SOLR-1698) load balanced distributed search

2010-01-04 Thread Yonik Seeley (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12796417#action_12796417
 ] 

Yonik Seeley commented on SOLR-1698:


Picking which shard replica to request can be random (round-robin or whatever, 
and customizable in the future), but a single distributed request should use 
the same replica for all phases of the request when possible.


 load balanced distributed search
 

 Key: SOLR-1698
 URL: https://issues.apache.org/jira/browse/SOLR-1698
 Project: Solr
  Issue Type: Improvement
Reporter: Yonik Seeley

 Provide syntax and implementation of load-balancing across shard replicas.

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