You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "chuanwen chen (JIRA)" <ji...@apache.org> on 2009/12/04 09:41:33 UTC

[jira] Commented: (DIRMINA-668) Modify the way we use IoProcessors

    [ https://issues.apache.org/jira/browse/DIRMINA-668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785820#action_12785820 ] 

chuanwen chen commented on DIRMINA-668:
---------------------------------------

Not sure where requests will be blocked.

> 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: 3.0.0-M1
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.