[Java] Performance Improvements
-------------------------------
Key: QPID-3714
URL: https://issues.apache.org/jira/browse/QPID-3714
Project: Qpid
Issue Type: Improvement
Components: Java Broker, Java Broker BDB Store, Java Broker Derby
Store, Java Client, Java Common
Reporter: Rob Godfrey
Assignee: Rob Godfrey
Assorted performance improvements for the Java Broker and Client based on
profiling and a bit of common sense:
Persistence:
Store message in same transaction as enqueue if possible
Memory:
Remove unnecessary (un)boxing
Reduce unnecessary copying of message data
Cache short strings
Cache queues for a given routing key on an Exchange
(0-9) Use a fixed size buffer for preparing frames to write out
Other:
Reduce calls to System.currentTimeMillis
Cache publishing access control queries
(0-10) Special case immutable RangeSets, in particular RangeSets of a single
range/point
(0-10) Special case delivery properties and message properties in headers
(0-9) send commit-ok as soon as data committed to store
(0-9) Optimised long and int typed values for FieldTables
(0-9) Retain FieldTable encoded form
(0-9) Cache queue and topic destinations
--
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]