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.

Thanks,

Joel

Reply via email to