GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/2494
ARTEMIS-2224 Reduce contention on LivePageCacheImpl
It includes:
- **lock-free LivePageCache + tests**:
LivePageCacheImpl has been reimplemented to be
lock-free, multi-producer and multi-consumer
in any of its operations.
- **Avoid unnecessary page cache queries on ack TX**:
PageSubscriptionImpl::ackTx is already performing a counter update
using the message persistent size: the size can be reused on
PagePosition::setPersistentSize, avoiding to query the page cache just
to compute it.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis lock-free-paging
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2494.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2494
----
----
---