nestjs icon indicating copy to clipboard operation
nestjs copied to clipboard

Separate publisher/consumer connections for rabbitmq

Open ttshivers opened this issue 5 months ago • 8 comments

According to best practices, it is good to use separate connections entirely for publishers and consumers so RabbitMQ can apply backpressure on the tcp connections if the publisher is sending too many messages but still allow consumers to operate properly and send back acks.

https://www.cloudamqp.com/blog/part1-rabbitmq-best-practice.html#separate-connections-for-publisher-and-consumer

ttshivers avatar Jan 16 '24 18:01 ttshivers