[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
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:[email protected]