[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-629) Unneccessary puts and gets in message store

Tim Fox (JIRA) jira-events at jboss.com
Wed Nov 1 06:09:41 EST 2006


Unneccessary puts and gets in message store
-------------------------------------------

                 Key: JBMESSAGING-629
                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-629
             Project: JBoss Messaging
          Issue Type: Task
    Affects Versions: 1.0.1.GA, 1.2.0.Alpha1
            Reporter: Tim Fox
         Assigned To: Tim Fox
             Fix For: 1.2.0.Beta1


We are currently executing unnecessary puts into the message store on the primary execution path of message routing.

When a new message arrives - it is first added to the message store. The message is only ever retrieved from the message store if a reference is loaded from paging and we want to make sure we do not have more than once instance in memory at once.

The first put is therefore unnecessary and will have some performance implications. Messages should only be added to the message store (if necessary) when they are paged to storage



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list