[JBoss JIRA] Created: (JBMESSAGING-875) Non durable subscription optimisation
by Tim Fox (JIRA)
Non durable subscription optimisation
-------------------------------------
Key: JBMESSAGING-875
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-875
Project: JBoss Messaging
Issue Type: Sub-task
Reporter: Tim Fox
Assigned To: Tim Fox
Fix For: 1.2.1
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
18 years, 5 months
[JBoss JIRA] Created: (JBMESSAGING-576) Separate paging and persistence functionality
by Tim Fox (JIRA)
Separate paging and persistence functionality
---------------------------------------------
Key: JBMESSAGING-576
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-576
Project: JBoss Messaging
Issue Type: Task
Affects Versions: 1.2.0.Alpha1, 1.0.1.CR5
Reporter: Tim Fox
Assigned To: Tim Fox
Fix For: 1.2.1
Reference management gets complex when we have to take into account messages and refs paged and not paged to storage especially if
the database is shared, this means we end up having to do extra queries to work out if the ref is alredy in the database etc.
We should separate the paging functionality out, so it doesn't page to the normal persistent store, but to a separate paging store which
typically would be a local file based store using HOWL or some other fast logger.
--
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
18 years, 5 months