1 2 3 Previous Next 38 Replies Latest reply: Oct 11, 2010 11:18 AM by Clebert Suconic RSS

What is the expected performance of the STOMP protocol?

Jimmy Beagle Newbie

I'm currently testing hornet with the STOMP acceptor and  PHP using the STOMP PHP extension. The connection works fine however the performance has been really bad.

 

2.1.1 resulted in 187 seconds to insert 50,000 items.

 

2.1.2 was slightly worse averaging 191 seconds to insert 50,000 items.

 

 

I was reusing the same connection, only calling $stomp->send() to insert new data.

 

Here is my acceptor xml block:

 

 

<acceptor name="stomp-acceptor">
        <factory-class>org.hornetq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class>
        <param key="protocol"  value="stomp"/>
        <param key="host" value="grv-cache09"/>
        <param key="port"  value="61613"/>
</acceptor>
<acceptor name="stomp-acceptor">
        <factory-class>org.hornetq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class>
        <param key="protocol"  value="stomp"/>
        <param key="host" value="grv-cache09"/>
        <param key="port"  value="61613"/>
</acceptor>

 

 

Halfway through the cpu measured at 102% with only this client performing operations on it. QuadCore, 16 Gig production box.

 

 

Is this the expected performance for the STOMP Protocol or are there other server or client options I can tune?

 

 

**UPDATE**

I also tested it from Python on the same network configuration in production and it was even higher than the php client avg'ing  at 248 seconds to insert 50,000 items.

1 2 3 Previous Next