You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Houston Putman (Jira)" <ji...@apache.org> on 2025/06/10 17:50:00 UTC

[jira] [Updated] (SOLR-16951) HttpShardHandler performance degradation in Solr 9 - Cache PKI Headers

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

Houston Putman updated SOLR-16951:
----------------------------------
    Summary: HttpShardHandler performance degradation in Solr 9 - Cache PKI Headers  (was: HttpShardHandler performance degradation in Solr 9)

> HttpShardHandler performance degradation in Solr 9 - Cache PKI Headers
> ----------------------------------------------------------------------
>
>                 Key: SOLR-16951
>                 URL: https://issues.apache.org/jira/browse/SOLR-16951
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 9.0, 9.1, 9.2, 9.3
>            Reporter: Tomas Eduardo Fernandez Lobbe
>            Assignee: Houston Putman
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 9.9
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> 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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org