RabbitMQ acknowledges multiple publishes in a single TCP packet #10015
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
I assume that by "did not send a single packet" you really mean "multiple acknowledgements were sent in the same TCP packet" because "not send a single packet" means that none acknowledgements were sent and this is not the case. @shaxiaozz RabbitMQ does not really control how the data it sends is organized into TCP packets. More importantly, acknowledging multiple deliveries at once is a perfectly fine thing to do. AMQP 0-9-1's I don't see why it would "ideally not do that". It makes publisher confirms handling somewhat more complex if you use streaming confirms but some users would say multi-acks is the right thing to do under load. |
Beta Was this translation helpful? Give feedback.
-
@shaxiaozz - here is what I did to observe a basic set of AMQP publishes with confirmations in my local environment:
You will note that the delivery tags are sequential. Please take the time to run the same PerfTest command that I ran in your environment. I just noticed this in your original message:
RabbitMQ 3.7.8 is OVER FIVE YEARS OLD, and is unsupported. I will not spend any more time on this issue until you update to the latest version of RabbitMQ. Do not take the time to provide code if you are unable to upgrade RabbitMQ. |
Beta Was this translation helpful? Give feedback.
I assume that by "did not send a single packet" you really mean "multiple acknowledgements were sent in the same TCP packet" because "not send a single packet" means that none acknowledgements were sent and this is not the case.
@shaxiaozz RabbitMQ does not really control how the data it sends is organized into TCP packets. More importantly, acknowledging multiple deliveries at once is a perfectly fine thing to do. AMQP 0-9-1's
basic.ack
frame allows both clients and RabbitMQ to acknowledge multiple deliveries (or published messages) at once.I don't see why it would "ideally not do that". It makes publisher confirms handling somewhat more complex if you use streaming confirms but some us…