[ https://issues.apache.org/jira/browse/SOLR-16503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17625872#comment-17625872 ]
Ishan Chattopadhyaya commented on SOLR-16503: --------------------------------------------- Until we know for sure that SOLR-15840 and SOLR-16099 are fixed/addressed, I am not in favour of switching to the http2 client for the UpdateShardHandler (or for that matter, any other performance sensitive place where http1 clients are currently being used). While in theory the http2 clients should perform better, but in practice the http1 clients have better practical performance (because of those perf issues affecting http2 client). > Switch UpdateShardHandler.getDefaultHttpClient to Jetty HTTP2 > ------------------------------------------------------------- > > Key: SOLR-16503 > URL: https://issues.apache.org/jira/browse/SOLR-16503 > Project: Solr > Issue Type: Sub-task > Security Level: Public(Default Security Level. Issues are Public) > Reporter: David Smiley > Priority: Major > > Much of Solr's remaining uses of Apache HttpClient (HTTP 1) is due to > {{org.apache.solr.update.UpdateShardHandler#getDefaultHttpClient}} which > underlies most Solr-to-Solr connectivity. This also underlies the > {{{}CoreContainer.getSolrClientCache{}}}. Lets switch to Jetty (HTTP 2). > ---- > In SolrClientCache in particular: > Switch use of CloudLegacySolrClient.Builder to CloudSolrClient.Builder > Switch use of HttpSolrClient.Builder to Http2SolrClient.Builder > Undeprecate all the methods here. They should not have been deprecated in > the first place. > The constructor: switch from Apache HttpClient to a Jetty HttpClient. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org