You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (Jira)" <ji...@apache.org> on 2019/11/28 15:10:00 UTC
[jira] [Created] (QPID-8385) [Broker-J] Improve performance of
operation to dequeue queue entries on message expiration or triggering ring
policy
Alex Rudyy created QPID-8385:
--------------------------------
Summary: [Broker-J] Improve performance of operation to dequeue queue entries on message expiration or triggering ring policy
Key: QPID-8385
URL: https://issues.apache.org/jira/browse/QPID-8385
Project: Qpid
Issue Type: Improvement
Components: Broker-J
Reporter: Alex Rudyy
Fix For: qpid-java-broker-8.0.0, qpid-java-broker-7.1.6
AutoCommitTransaction is used to dequeue entries on message expiration or breaching ring policy threshold. As result, the dequeueing operation for persistent queue entry blocks until queue entry record is removed from the store and the underlying store transaction is synced to disk. The sequential removal of multiple entries can results in unnecessary delays due to syncing disk on every dequeue.
The broker performance for the corner cases described above can be significantly improved by using AsyncAutoCommitTransaction in dequeue operations.
Asynchronous transaction does not wait for the store dequeue transaction to sync to disk. As result, the performance of removal unneeded queue entries can increase.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org