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

Rob Godfrey commented on QPID-3714:
-----------------------------------

Both these NPEs have now been resolved.

One observation is that the Python test in the second case is sending no body 
segment and asserts that it is a failure if the broker sends back a message 
with an empty body segment.  While the MemoryMessageStore can retain this 
difference, the Derby and BDB stores will always treat a null body as 
equivalent to an empty body.
                
> [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]

Reply via email to