On 18 Aug 2015 at 18:07:41, Rajat Saxena (
raja...@gmail.com) wrote:
> The way I'm using it is to check for each message if a channel can
> be reused and if no such channel is available, then create one
> and use it and then keep it for further usage. This keeps the channel
> numbers stable around my publishing throughput. So at 1500/sec,
> the number of channels is stable around 1500.
>
> Typically, I mark a channel as 'free' in callback of publish,
> when the queue has acknowledged it. Now when the channels exceed
> 2000, it seems the callback is delayed and due to this more and
> more channels are getting created. So yes, the channels are growing
> in number, but it is due to RabbitMQ server-related issue and
> not due to the client, IMO. Your thoughts?