Hello:

         I build QPID 0.32 C++ broker with HA module on CentOS6.5 and run a
cluster of 2 nodes with --ha-replicate=all,

Then send messages using QPID Messaging API continuously with protocol
AMQP0-10 and I meet a strange problem,

The throughput drop sharply. And the same problem seen on QPID 0.34.

 

Steps to reproduce:

1:

qpid-config add exchange direct testHA.exchange

qpid-config add queue testHA.queue --max-queue-size 1048576000

qpid-config bind testHA.exchange testHA.queue testHA.binding

2:

Run “qpid-queue-stats -f testHA.queue” on a console

3:

         Send 100000 messages to testHA.exchange with routingkey
testHA.binding

4:

         Purge queue use the QPID manager tool (qpid-tool)

5:

         Repeat step 3

 

get the output from step 2:

         Queue Name                                     Sec       Depth
Enq Rate     Deq Rate

============================================================================
============

testHA.queue                                1064.00      11350        10.67
0.00             <== step3

testHA.queue                                   2.00      28965      8807.35
0.00

testHA.queue                                   2.00      46650      8842.57
0.00

testHA.queue                                   2.00      64300      8825.08
0.00

testHA.queue                                   2.00      81950      8824.85
0.00

testHA.queue                                   2.00      99600      8825.04
0.00

testHA.queue                                   2.00     100000       199.97
0.00

testHA.queue                                  40.01          0         0.00
2499.65             <== step4

testHA.queue                                  16.00        250        15.63
0.00             <== step5

testHA.queue                                   2.00        900       325.07
0.00

testHA.queue                                   2.00       1600       350.05
0.00

testHA.queue                                   2.00       2300       350.12
0.00

testHA.queue                                   2.00       3000       349.98
0.00

testHA.queue                                   2.00       3700       349.96
0.00

testHA.queue                                   2.00       4350       324.96
0.00

 

Has anyone encountered the same problem? Or give me some suggestions.Thank
you for your help

 

Reply via email to