Re: Synchronous producer performance is very low

2015-10-19 Thread shanthu Venkatesan
Hi Grant, Thanks for the reply. Yes I meant data is received on the other end in 1sec while using asynchronous producer. We are using the new producer and absolute ordering is our prime concern too. Thanks, Santhakumari On Mon, Oct 19, 2015 at 9:12 PM, Grant Henke wrote: > The bottom line is sy

Re: Synchronous producer performance is very low

2015-10-19 Thread Grant Henke
The bottom line is synchronous will never be as fast as asynchronous. When using asynchronous mode you get the benefits of batching, compression, reduced network roundtrips, etc. You do loose the ability to achieve absolute ordering, but do you really need that? Can you design you system not to? W

Synchronous producer performance is very low

2015-10-19 Thread shanthu Venkatesan
Hi all, We tested both Asynchronous and Synchronous producers by producing 10k messages. Asynchronous producer took 1 sec to produce whereas synchronous took 50 secs. Reliability is our primary concern hence we have planned to use synchronous producer. Please can any one of you suggest a way to