[rabbitmq-discuss] [Minimum Air Induction] Introducing Shovel: An AMQP Relay

Matthias Radestock matthias at lshift.net
Sat Sep 20 20:45:57 BST 2008


Valentino,

Valentino Volonghi wrote:
> Well, a transaction each 100-500 messages is basically as fast as no  
> transaction at
> all with the difference that the connection is used in bursts rather  
> than continuously.

Why would the connection be used in bursts?

> 2. shovel reads up to 500 messages and starts a transaction with the  
> remote
>      node sending all of them and committing the transaction.

Why would you read 500 messages and *then* start a transaction? Just 
start the tx first, pass the messages through, and send a tx.commit 
every ~500.


Matthias.




More information about the rabbitmq-discuss mailing list