activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "clebert suconic (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARTEMIS-1140) Avoid Queue lock on queueQuery
Date Wed, 03 May 2017 16:11:04 GMT

     [ https://issues.apache.org/jira/browse/ARTEMIS-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

clebert suconic updated ARTEMIS-1140:
-------------------------------------
    Description: 
queueQuery is currently holding a lock on the queue to get a strict message count on the queue.

In case of high performance scenarios mixed with an anti-pattern on the client with calling
queueQuery constantly this will incur on low performance.

this is an anti-pattern and not much we can do, but we don't need to hold a lock just for
that query.

> Avoid Queue lock on queueQuery
> ------------------------------
>
>                 Key: ARTEMIS-1140
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1140
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.5.4, 2.0.0
>            Reporter: clebert suconic
>            Assignee: clebert suconic
>             Fix For: 1.5.5, 2.next
>
>
> queueQuery is currently holding a lock on the queue to get a strict message count on
the queue.
> In case of high performance scenarios mixed with an anti-pattern on the client with calling
queueQuery constantly this will incur on low performance.
> this is an anti-pattern and not much we can do, but we don't need to hold a lock just
for that query.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message