[ 
https://issues.apache.org/jira/browse/SOLR-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499364
 ] 

Yonik Seeley commented on SOLR-128:
-----------------------------------

Doing some quick connection handling tests with the python client:
from solr import *
c = SolrConnection(host='localhost:8080', persistent=False)
for i in xrange(10000):
  c.search(q='id:1234'

Java 1.5 -server on WindowsXP

Jetty 5.1.??, persistent=20.9s, non-persistent=44s, sometimes "address already 
in use" exception
Jetty 6.1.3, persistent=20.1s, non-persistent=114s
Tomcat 6.0.13, persistent=20.2s, non-persistent=29s, sometimes "address already 
in use" exception

Could be a python client issue, (SO_REUSE_ADDR for python http-lib?), but it 
does seem like Jetty 6.1.3 is slower at handling new connections?  Anyone have 
benchmarks from a different client?

> Include Newer version of Jetty
> ------------------------------
>
>                 Key: SOLR-128
>                 URL: https://issues.apache.org/jira/browse/SOLR-128
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>            Reporter: Ryan McKinley
>         Assigned To: Ryan McKinley
>            Priority: Minor
>         Attachments: jetty-6.3-example.zip, Jetty6.config.patch, lib.zip, 
> start.jar
>
>
> It would be good to include an up-to-date jetty version for the example.

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