You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2008/03/11 13:02:46 UTC
[jira] Commented: (DIRMINA-546) Reduce unnecessary system calls
when a new session is created.
[ https://issues.apache.org/jira/browse/DIRMINA-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577412#action_12577412 ]
Trustin Lee commented on DIRMINA-546:
-------------------------------------
I also did comparison against simple blocking I/O server, and I observed the following:
* MINA server has more variance in performance; this should be fine in the long term.
* In general, MINA server performs as fast as the simple blocking I/O server in terms of throughput of accepting connections.
> Reduce unnecessary system calls when a new session is created.
> --------------------------------------------------------------
>
> Key: DIRMINA-546
> URL: https://issues.apache.org/jira/browse/DIRMINA-546
> Project: MINA
> Issue Type: Improvement
> Components: Transport
> Affects Versions: 2.0.0-M1
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Fix For: 2.0.0-M2
>
>
> So far, MINA has been setting all socket parameters for every newly created socket. It means MINA performs several unnecessary system calls. For exaimple, Socket.setReceiveBufferSize() is always called even if a user didn't change the default value.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.