[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-437) Non durable subscription optimization

Tim Fox (JIRA) jira-events at jboss.com
Wed Jul 19 08:14:11 EDT 2006


Non durable subscription optimization
-------------------------------------

                 Key: JBMESSAGING-437
                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-437
             Project: JBoss Messaging
          Issue Type: Task
    Affects Versions: 1.0.1.CR3
            Reporter: Tim Fox
         Assigned To: Tim Fox
             Fix For: 1.0.2


Since non durable subscriptions only live for the life-time of the consumer the it's struck me that we don't actually need to send any acks from the client to the server as messages are acknowledged for non durable subs.

Basically I think we can acknowledge them before they are sent from server to client.

This is because there's no case where messages will be redelivered from the server to the non durable sub, therefore no need for acks.

On session recovery and session rollback messages are redelivered locally (i.e. they are already on the client) so no need for the server to redeliver.

This also means we don't need to maintain a delivery list in the server consumer endpoint in this case, and the server consumer endpoint can return a done delivery every time.


-- 
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