Tomas Eduardo Fernandez Lobbe created SOLR-16951:
----------------------------------------------------

             Summary: HttpShardHandler perf 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.3
            Reporter: Tomas Eduardo Fernandez Lobbe


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]

Reply via email to