[rabbitmq-discuss] Question on packing of Bytes into Ethernet Frame for AMQP protocol

Laing, Michael michael.laing at nytimes.com
Mon Aug 19 16:54:22 BST 2013


pika sets TCP_NODELAY and does not provide an option to change it. Hence
you may have small packets by design.

ml


On Mon, Aug 19, 2013 at 11:36 AM, Matthias Radestock
<matthias at rabbitmq.com>wrote:

> On 19/08/13 16:10, Michael Klishin wrote:
>
>> Both clients and RabbitMQ itself use sockets and are not aware
>> Ethernet framing, MTU size value used, et cetera. MTU size can be
>> configured [1] but it's dangerous and no necessary 99% of the time.
>>
>
> The RabbitMQ server and Java, Erlang and .net clients pass all the AMQP
> frames associated with content-bearing methods - i.e. the method, header
> and body frames - to the network layer before flushing the socket, so all
> these AMQP frames should generally only get split over multiple ethernet
> frames when exceeding the MTU size.
>
> Matthias.
> ______________________________**_________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.**rabbitmq.com<rabbitmq-discuss at lists.rabbitmq.com>
> https://lists.rabbitmq.com/**cgi-bin/mailman/listinfo/**rabbitmq-discuss<https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130819/3d7a7b4e/attachment.htm>


More information about the rabbitmq-discuss mailing list