You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "peter royal (JIRA)" <ji...@apache.org> on 2006/11/28 17:20:29 UTC

[jira] Reopened: (DIRMINA-309) Decreasing performance in case of fewer number of connections

     [ http://issues.apache.org/jira/browse/DIRMINA-309?page=all ]

peter royal reopened DIRMINA-309:
---------------------------------

             
How about an explicit .close() or similarly-named method so its not necessary to rely on finalization? 

I'm against having finalization be the only way to have the selector be closed, as it is bad practice to use finalizers as destructors.

> Decreasing performance in case of fewer number of connections
> -------------------------------------------------------------
>
>                 Key: DIRMINA-309
>                 URL: http://issues.apache.org/jira/browse/DIRMINA-309
>             Project: MINA
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Trustin Lee
>         Assigned To: Trustin Lee
>             Fix For: 2.0
>
>
> SocketIoProcessor shuts down threads immediately when there are no channels to process.  Explicitly specifying the executor will increase performance, but most users will use the default setting which will result in decreased performance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira