-Re: relation between async mode and compression
Felix GV 2012-04-25, 17:47
Also, compression ratios are usually better on larger payloads, so
compression should, in most cases, be more effective when combined with
async because the batching of messages results in larger payloads, and thus
better compression ratios.
On Wed, Apr 25, 2012 at 8:14 AM, Joel Koshy <[EMAIL PROTECTED]> wrote:
> Hi Navneet,
> From docs, its not clear whether async mode and compression are related or
> > independent. Can you please elaborate?
> They are related in the sense that the DefaultEventHandler that is used in
> async mode compresses a batch of messages when they are serialized.
> However, compression is not tied to async mode. Sync mode can also use
> compression, but it does not do batching.
> > One more thing - compression definitely enhances performance, but is it
> > true for async mode as well (assuming they are not related)?
> Async mode basically enables batching of messages so its throughput gain is
> orthogonal to that gained by compression.