[
https://issues.apache.org/jira/browse/SOLR-16951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17762483#comment-17762483
]
Tomas Eduardo Fernandez Lobbe commented on SOLR-16951:
------------------------------------------------------
Yes, this is happening in 9.3. From what I could see, the thread that calls the
{{send}} is the one that ends up actually sending the request bytes (calling
{{onBegin}} before that)
> HttpShardHandler performance degradation in Solr 9
> --------------------------------------------------
>
> Key: SOLR-16951
> URL: https://issues.apache.org/jira/browse/SOLR-16951
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: 9.0, 9.1, 9.2, 9.3
> Reporter: Tomas Eduardo Fernandez Lobbe
> Priority: Major
>
> After the work done in SOLR-14354, all shard requests are sent in the same
> thread. {{send}} is supposed to be very fast so this shouldn't be a problem,
> but we currently have {{PKIAuthenticationPlugin}} as a request
> interceptor/listener, which is called for each shard request to generate and
> add the authentication token. This part can take a couple milliseconds so
> with enough shards, there is a noticeable slowdown in distributed search
> requests.
> We should either speedup PKIAuthenticationPlugin interception (maybe caching?
> reusing the same token for all shard requests?) and/or making the token
> generation part run in parallel as it used to.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]