mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DIRMINA-668) Modify the way we use IoProcessors
Date Wed, 10 Oct 2012 11:15:03 GMT

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

Emmanuel Lecharny updated DIRMINA-668:
--------------------------------------

    Fix Version/s:     (was: 2.0.6)
                   2.0.8
    
> Modify the way we use IoProcessors
> ----------------------------------
>
>                 Key: DIRMINA-668
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-668
>             Project: MINA
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M4
>            Reporter: Emmanuel Lecharny
>             Fix For: 2.0.8
>
>
> In the current code base, when accepting new connections, we pick a processor and register
the news connection within the internal selector. In other words, we have as many selectors
as we have IoProcessors.
> This is a potential problem if some request cost a lot to be executed, as every requests
waiting on this IoProcessor will be blocked.
> It would be way better to use a single selector which dispatches requests to an Executor,
as we will always have available threads ready to process the requests (unless the pool is
saturated, but then we have a bigger issue ...)

--
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

Mime
View raw message