[ 
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
(v6.3.4#6332)

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

Reply via email to