GitHub user qihongxu opened a pull request:
https://github.com/apache/activemq-artemis/pull/2482
ARTEMIS-2214 Cache durable&priority in PagedReference
We recently performed a test on artemis broker and found a severe
performance issue.
When paged messages are being consumed
Github user qihongxu commented on the issue:
https://github.com/apache/activemq-artemis/pull/2482
[stacks.txt](https://github.com/apache/activemq-artemis/files/2709657/stacks.txt)
---
Github user wy96f commented on the issue:
https://github.com/apache/activemq-artemis/pull/2481
We add a pending counter to count enterCritical calls. If left time is less
than enter time and pending counter equals to 0, we don't expire component as
all threads have called leaveCritica
Github user wy96f commented on the issue:
https://github.com/apache/activemq-artemis/pull/2481
@michaelandrepearce @franz1981
Here is the code of System::nanoTime from openjdk:
jlong os::javaTimeNanos() {
if (Linux::supports_monotonic_clock()) {
struct timespec tp
Github user michaelandrepearce commented on the issue:
https://github.com/apache/activemq-artemis/pull/2480
If its not exposed and its used like doing lock on 'this". Then i can only
assume it was the coders pattern at that time.
---
Hi,
Can someone please help me with the starting point of the activemq source
code. I am trying to understand how the plugins/interceptors etc work.
Regards,
Chetan
--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html
Github user gaohoward commented on the issue:
https://github.com/apache/activemq-artemis/pull/2478
@franz1981 Title changed. Thanks mate!
---
Github user franz1981 commented on the issue:
https://github.com/apache/activemq-artemis/pull/2481
@michaelandrepearce thanks buddy you too!!!
---
Github user franz1981 commented on the issue:
https://github.com/apache/activemq-artemis/pull/2478
Looks fine to me buddy, just change the title, because no sync is happening
anymore ;)
---
Github user michaelandrepearce commented on the issue:
https://github.com/apache/activemq-artemis/pull/2481
@franz1981 haha snap. I had same thinking.
---
Github user michaelandrepearce commented on the issue:
https://github.com/apache/activemq-artemis/pull/2481
I dont see how this handles clock drift if im honest. The test case doesnt
actually cause a drift in nano.
Also Nanoseconds also are from an arbitary offset on the cpu,
Github user franz1981 commented on the issue:
https://github.com/apache/activemq-artemis/pull/2481
I know that System::nanoTime is based on monothonic clock of the CPU
thast's not wall clock time ie can't go back.
System::currentTimeMillis ie UTC wall-clock can go backwards instead
12 matches
Mail list logo