You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2012/10/10 13:15:03 UTC

[jira] [Updated] (DIRMINA-453) Multiple IoServices for one java.nio.Selector

     [ https://issues.apache.org/jira/browse/DIRMINA-453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRMINA-453:
--------------------------------------

    Fix Version/s:     (was: 2.0.6)
                   2.0.8
    
> Multiple IoServices for one java.nio.Selector
> ---------------------------------------------
>
>                 Key: DIRMINA-453
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-453
>             Project: MINA
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 2.0.0-M1
>         Environment: All
>            Reporter: Mark Webb
>             Fix For: 2.0.8
>
>
> Please see the discussion:
> http://www.nabble.com/multiple-handlers-per-IoService-t4481513s16868.html#a12779214
> Based on discussions with Trustin, this is functionality that will be in the 2.0 release.  It seems to be inefficient to create a new selector/thread for each IoService.  This means that an application that is listening on 2 ports, would need two java.nio.Selectors, two Selector worker threads and each have a pool of workers.
> Not only does this create much duplication, but more threads will be created than may be necessary.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira