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

[jira] [Commented] (SOLR-16951) HttpShardHandler performance degradation in Solr 9

    [ https://issues.apache.org/jira/browse/SOLR-16951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17959546#comment-17959546 ] 

ASF subversion and git services commented on SOLR-16951:
--------------------------------------------------------

Commit 981b5d2b908d635788711a6b52df3fcdc7883624 in solr's branch refs/heads/main from Houston Putman
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=981b5d2b908 ]

SOLR-16951: Add PKI Auth Caching for both generation and validation (#3334)



> HttpShardHandler performance degradation in Solr 9
> --------------------------------------------------
>
>                 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
>            Priority: Major
>              Labels: pull-request-available
>          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