Producer and consumer use different connections to achieve high throughput. When the producer sends too many messages to the server for processing, RabbitMQ will pass the pressure on the TCP connection. If consumed over the same TCP connection, the server may not receive message ack from the client, thus affecting consumption performance. If the consumption rate is too low, the server will be overwhelmed.
Producer and consumer use different connections
2024-06-27 06:59:38
share
Weibo
Copy link