[rabbitmq-discuss] odd consumer behaviour

David.Corcoran at edftrading.com David.Corcoran at edftrading.com
Wed Apr 30 17:39:48 BST 2008


Hi,

I'm evaluating RabbitMQ as a replacement for our JMS code but I've run into
some slightly odd behaviour.

I've managed to replicate it in a simple example. So:

1. Run the HelloClient RabbitMQ example modified slightly so that it sends
20 messages instead of 1.
2. Run the HelloServer example but with a slight change to the code. Add a
Thread.sleep(10*1000) before the return in handleStringCall().
3. Now run a normal HelloServer example, without any sleep.
What I noticed here is that the normal example doesn't run at full speed.
It looks like the slow server is slowing down the normal one.
5. Kill the slow server (the one with the sleep) and the normal HelloServer
now runs at full speed and finishes the rest of the messages within the
second.

Any help would be great.

Thanks,

Dave


*********************************************************************
This communication contains confidential information, some or all of which may be privileged. It is for the intended recipient only and others must not disclose, distribute, copy, print or rely on this communication. If an addressing or transmission error has misdirected this communication, please notify the sender by replying to this e-mail and then delete the e-mail. E-mail sent to EDF Trading may be monitored by the company. Thank you. 
EDF Trading Limited
80 Victoria Street, 3rd Floor, Cardinal Place, London, SW1E 5JL
A Company registered in England No. 4255974. 
Switchboard: 020 7061 4000
EDF Trading Markets Limited is a member of the EDF Trading Limited Group and is authorised and regulated by the Financial Services Authority.
VAT number: GB 735 5479 07
*********************************************************************




More information about the rabbitmq-discuss mailing list