[ 
https://issues.apache.org/jira/browse/SOLR-10697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Varun Thacker reopened SOLR-10697:
----------------------------------
      Assignee: Varun Thacker

Hi [~elyograg]

If you follow {{HttpClientUtil#createClient}} and don't pass any params, the 
max_connections_per_host is set to 10k

{{cm.setDefaultMaxPerRoute(params.getInt(HttpClientUtil.PROP_MAX_CONNECTIONS_PER_HOST,
 10000));}}

So maybe {{HttpShardHandlerFactory}} shouldn't even set any defaults and resort 
to the defaults from HttpClientUtil?

Also we already have a high PROP_MAX_CONNECTIONS default in 
HttpShardHandlerFactory so why not for PROP_MAX_CONNECTIONS_PER_HOST ? 

Thoughts?


> Improve defaults for maxConnectionsPerHost
> ------------------------------------------
>
>                 Key: SOLR-10697
>                 URL: https://issues.apache.org/jira/browse/SOLR-10697
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Varun Thacker
>            Assignee: Varun Thacker
>            Priority: Minor
>
> Twice recently I've increased 
> {{HttpShardHandlerFactory#maxConnectionsPerHost}} at a client and it helped 
> improve query latencies a lot.
> Should we increase the default to say 100 ?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to