Houston Putman created SOLR-17792:
-------------------------------------

             Summary: ParallelShardHandler 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


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]

Reply via email to