[jira] [Updated] (SOLR-17792) ParallelHttpShardHandler has massive performance issues.

2025-07-11 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated SOLR-17792:
--
Labels: pull-request-available  (was: )

> ParallelHttpShardHandler has massive performance issues.
> 
>
> Key: SOLR-17792
> URL: https://issues.apache.org/jira/browse/SOLR-17792
> Project: Solr
>  Issue Type: Bug
>Affects Versions: 9.8
>Reporter: Houston Putman
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 9.9
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> SOLR-17158 changed the way that the HttpShardHandler (And 
> ParallelHttpShardHandler) did locking and concurrency. However, after 
> upgrading, and running distributed queries (at a relatively slow rate), I 
> noticed that there were 3 types of responses:
>  * QTimes between 3-6ms
>  * QTimes between 53-56 ms
>  * And requests that timed out
> Looking at the logic in HttpShardHandler, there is a poll(50ms) call that is 
> very suspicious, and likely the reason for the jump between 3-6 ms and 53-56 
> ms. I would also assume that this change in concurrency logic is the reason 
> that many requests started timing out. Changing to the 
> HttpShardHandlerFactory from the ParallellHttpShardHandlerFactory fixed these 
> issues.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[jira] [Updated] (SOLR-17792) ParallelHttpShardHandler has massive performance issues.

2025-06-20 Thread Houston Putman (Jira)


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

Houston Putman updated SOLR-17792:
--
Summary: ParallelHttpShardHandler has massive performance issues.  (was: 
ParallelShardHandler has massive performance issues.)

> ParallelHttpShardHandler has massive performance issues.
> 
>
> Key: SOLR-17792
> URL: https://issues.apache.org/jira/browse/SOLR-17792
> Project: Solr
>  Issue Type: Bug
>Affects Versions: 9.8
>Reporter: Houston Putman
>Priority: Blocker
> Fix For: 9.9
>
>
> SOLR-17158 changed the way that the HttpShardHandler (And 
> ParallelHttpShardHandler) did locking and concurrency. However, after 
> upgrading, and running distributed queries (at a relatively slow rate), I 
> noticed that there were 3 types of responses:
>  * QTimes between 3-6ms
>  * QTimes between 53-56 ms
>  * And requests that timed out
> Looking at the logic in HttpShardHandler, there is a poll(50ms) call that is 
> very suspicious, and likely the reason for the jump between 3-6 ms and 53-56 
> ms. I would also assume that this change in concurrency logic is the reason 
> that many requests started timing out. Changing to the 
> HttpShardHandlerFactory from the ParallellHttpShardHandlerFactory fixed these 
> issues.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]