On 11/29/2012 08:27 PM, Rajesh Khan wrote:
I wanted some suggestions for a high speed sender which will be sending
about thousands of messages in less than 3 seconds.
Here are some of things that I believe should be done please let me know in
case I am missing something.
1) I know that the sender capacity should be kept high =>
sender.capacity(8000);
A sender capacity of 8000 may even be a little high, but do some
benchmarking to tune for your case.
2) Send messages asynch. In C++ i believe that is default.
Is it possible to send messages in batches ? how would that be implemented ?
No, there is no API for batching messages. However the IO thread can do
some batching. Thousands of messages a second shouldn't really be a problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]