You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Michael Justin <mi...@gmx.net> on 2014/03/14 10:40:43 UTC

STOMP message acknowledgement blocks with high server load

Hello,

with ActiveMQ 5.9.0, a STOMP client which continuously sends small 
non-persistent messages to a topic destination from one thread and 
consumes these messages from a second thread.
(The threads use separate connection objects.)

* with ack mode 'auto', sending and receiving continuously runs with 
high transfer rates.

* with ack mode 'client', after around 2000 to 5000 messages have been 
sent the broker blocks when the consumer sends the ACK frame, and the 
client runs into a send time-out.

I have run the same application with the current Apollo 1.6 release, the 
problem is not reproducible here, with ack mode 'client', sending ACK 
frames never blocks. With ActiveMQ it is always reproducible.

Should I report this is in the issue tracker (currently the code is in 
Delphi but I could write a Java test case).

Regards
-- 
Michael Justin
habarisoft - Enterprise Messaging Software for Delphi
http://www.habarisoft.com/

Re: STOMP message acknowledgement blocks with high server load

Posted by mjustin_de <mi...@gmx.net>.
I have created  and attached the JUnit test case class
(StompLoadTestWithAck).

Server stops accepting ACK frames
<https://issues.apache.org/jira/browse/AMQ-5117>  


Regards,
Michael Justin





--
View this message in context: http://activemq.2283324.n4.nabble.com/STOMP-message-acknowledgement-blocks-with-high-server-load-tp4679070p4679442.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: STOMP message acknowledgement blocks with high server load

Posted by Gary Tully <ga...@gmail.com>.
If you can make a little junit test case that can reproduced then please
raise an issue. The stomp unit tests use a simple java client. Peek at the
source for the stomp module tests for inspiration. Thanks
On 14 Mar 2014 09:41, "Michael Justin" <mi...@gmx.net> wrote:

> Hello,
>
> with ActiveMQ 5.9.0, a STOMP client which continuously sends small
> non-persistent messages to a topic destination from one thread and consumes
> these messages from a second thread.
> (The threads use separate connection objects.)
>
> * with ack mode 'auto', sending and receiving continuously runs with high
> transfer rates.
>
> * with ack mode 'client', after around 2000 to 5000 messages have been
> sent the broker blocks when the consumer sends the ACK frame, and the
> client runs into a send time-out.
>
> I have run the same application with the current Apollo 1.6 release, the
> problem is not reproducible here, with ack mode 'client', sending ACK
> frames never blocks. With ActiveMQ it is always reproducible.
>
> Should I report this is in the issue tracker (currently the code is in
> Delphi but I could write a Java test case).
>
> Regards
> --
> Michael Justin
> habarisoft - Enterprise Messaging Software for Delphi
> http://www.habarisoft.com/
>