[ 
https://issues.apache.org/jira/browse/QPID-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210288#comment-13210288
 ] 

Keith Wall commented on QPID-3714:
----------------------------------

Fixed defect in caching logic in BasicContentHeaderProperties.

Expression was only using the cached version when determining the length of the 
properties and not when writing the payload to the buffer.

This problem was noticed by way of the interop test suite when testing with the 
old 0-8 .NET client.
                
> [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: Robbie Gemmell
>             Fix For: 0.15
>
>
> 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]

Reply via email to