You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (Updated) (JIRA)" <ji...@apache.org> on 2012/01/13 16:59:40 UTC

[jira] [Updated] (QPID-3758) [Java] Reduce memory overhead of Sessions

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

Rob Godfrey updated QPID-3758:
------------------------------

    Status: Ready To Review  (was: In Progress)
    
> [Java] Reduce memory overhead of Sessions
> -----------------------------------------
>
>                 Key: QPID-3758
>                 URL: https://issues.apache.org/jira/browse/QPID-3758
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Common
>            Reporter: Rob Godfrey
>            Assignee: Rob Godfrey
>             Fix For: 0.15
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The 0-10 Session object creates a 64Kb command buffer by default... in the context of a broker which may have thousands of concurrently open sessions this is too large a burden.
> Observation has shown that most common use cases have relatively low utilization of this buffer, and that the therefore we can replace the use of a fixed size array with an Integer keyed Map.
> If performance / autoboxing overhead is observed to be an issue, we could later update to use a primitive int base Map-like implementation such as that available here: http://acs.lbl.gov/software/colt/

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

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org