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

Vladimir Ozerov commented on IGNITE-2329:
-----------------------------------------

I separated Yakov's NIO fix into dedicated branch - ignite-2329. Significant 
drop in allocations is observed. Waiting for TC.

> Get rid of Iterator for selected keys in NIO server
> ---------------------------------------------------
>
>                 Key: IGNITE-2329
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2329
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: general
>            Reporter: Alexey Goncharuk
>            Assignee: Yakov Zhdanov
>             Fix For: 1.6
>
>
> Every time a NIO thread wakes up on selected keys, a new iterator is created 
> since selector returns a Set.
> There is a technique that makes it possible to avoid new iterator creation, 
> that is implemented in Netty.
> For details, see io.netty.channel.nio.NioEventLoop and 
> processSelectedKeysOptimized method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to