Alexey Goncharuk created IGNITE-2329:
----------------------------------------

             Summary: 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
            Reporter: Alexey Goncharuk


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