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

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

An idea I've been thinking about is to change the addSolrServer to also include 
solr params
for each shard. 
Definitely to get docs by id, it would be cleaner.

The real purpose of the patch is to execute the individual shard requests as 
concurrent threads. 
To give you an idea, an implementation I've tested this on, the patch took a 
200ms request down
to 42ms.

This may seem overkill to most folks, but is critical for my needs.

>From load testing, I haven't noticed any significant over head in creating new 
>MultiThreadedHttpSolrServers
SolrServers creation seem light as well, it's only processing the request that 
appears to be the main
work horse.

I'll make some changes now that SOLR-462 is added, as I don't need the 
overrides. 

> A multi threaded implementation for solrJ
> -----------------------------------------
>
>                 Key: SOLR-457
>                 URL: https://issues.apache.org/jira/browse/SOLR-457
>             Project: Solr
>          Issue Type: New Feature
>          Components: clients - java
>    Affects Versions: 1.3
>            Reporter: patrick o'leary
>            Priority: Minor
>         Attachments: multithreaded-solrj.patch
>
>
> Provide a multi threaded implementation of CommonsHttpSolrServer
> For usage with distributed searching in solr-303

-- 
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