qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lorenz Quack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6819) Schedule socket accepts on the thread pool
Date Thu, 12 Nov 2015 11:40:11 GMT

    [ https://issues.apache.org/jira/browse/QPID-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15001987#comment-15001987

Lorenz Quack commented on QPID-6819:

After talking to Keith, I retract the above review comment.
I don't know how the NPE could have happened. The code seems good.

> Schedule socket accepts on the thread pool
> ------------------------------------------
>                 Key: QPID-6819
>                 URL: https://issues.apache.org/jira/browse/QPID-6819
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>             Fix For: qpid-java-6.0
>         Attachments: 0001-QPID-6819-Java-Broker-Schedule-socket-accepts-on-the.patch
> Testing with very large numbers of connections shows that accepting socket connections
in the same thread as the selector can be a bottleneck.  Change the algorithm to schedule
the accept of new socket connections as a task, deregistering {{OP_ACCEPT}} from the selector,
whilst the task is in progress.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message