[
http://jira.jboss.com/jira/browse/JBMESSAGING-629?page=all ]
Ovidiu Feodorov updated JBMESSAGING-629:
----------------------------------------
Fix Version/s: Unscheduled
(was: 1.2.1)
Unneccessary puts 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: Unscheduled
Original Estimate: 4 days
Remaining Estimate: 4 days
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. Also
message store is currently a synchronization bottleneck so this should aid concurrency.
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