GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/1390
ARTEMIS-1273 Bounded OrderedExecutor
Introduce by default a BoundedOrderedExecutor that:
1. uses Array based lock/wait-free queues to have contiguos allocations
2. OOM protected limiting the allowed max size of the queue
3. produce garbage only if the consumer can't keep up with the producer by
a configurable amount
4. uses a scalable handmade spin lock (XADD based)
5. cost of monitoring pending tasks list size O(1)
6. allow optimized versions of task submission using different specialized
concurrent queues
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis
jctools_ordered_executor
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1390.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 #1390
----
commit 220ed672d7da50dd316dfb221effcd455c3cc163
Author: Francesco Nigro <[email protected]>
Date: 2016-12-19T15:02:17Z
ARTEMIS-1273 Bounded OrderedExecutor
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---