You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (Created) (JIRA)" <ji...@apache.org> on 2011/12/21 13:07:30 UTC

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

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-M1
            Reporter: Emmanuel Lecharny
             Fix For: 3.0.0-M1


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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Emmanuel Lecharny (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRMINA-881:
--------------------------------------

    Affects 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-M1
>
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira