You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Julien Vermillard (JIRA)" <ji...@apache.org> on 2013/07/26 20:47:57 UTC

[jira] [Updated] (DIRMINA-881) use smaller buffers for encrypted messages

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

Julien Vermillard updated DIRMINA-881:
--------------------------------------

    Fix Version/s:     (was: 3.0.0-M1)
                   3.0.0-trunk
    
> use smaller buffers for encrypted messages
> ------------------------------------------
>
>                 Key: DIRMINA-881
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-881
>             Project: MINA
>          Issue Type: Improvement
>          Components: Transport
>    Affects Versions: 3.0.0-trunk
>            Reporter: Emmanuel Lecharny
>             Fix For: 3.0.0-trunk
>
>
> Currently, we use 16Kb buffers to send data over the wire when SSL is activated. Most of the time, we don't use the 16Kb to store data. It would be way better to copy the content of the buffer into a rightly sized buffer before pushing them into the queue. That would not only save memory, it would also save transmission time.

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