[zeromq-dev] Limited UDP Message Size
Doron Somech
somdoron at gmail.com
Sun Jan 12 13:25:45 CET 2020
We can increase it to around 65,000 bytes, however, large UDP packets would
probably be dropped when traveling outside your local area network.
The safe size for the UDP packet to travel outside of the local area
network is around 500 bytes.
If you do want to use large UDP packets on your local area network you
might want to increase the network MTU (jumbo frames) for better delivery.
For example, some AWS instances support 9001 bytes MTU for inter-instance
communication.
On Fri, Jan 10, 2020 at 3:25 PM Stephan Opfer <opfer at vs.uni-kassel.de>
wrote:
> Hi all,
>
> since 2016 there is this issue
> (https://github.com/zeromq/libzmq/issues/2009) about some limitations of
> the udp_engine in libzmq.
>
> Is it possible that someone at least will increase the "#define
> MAX_UDP_MSG 8192" in libzmq/src/udp_engine.hpp to some reasonable value?
> For example "ZMQ_MAX_MSGSZ" from the zmq context option, which is MAX_INT.
>
> Maybe, someone could spare some time at the Hackathon... ;-)
>
> Greetings,
>
> Stephan
>
> --
> Distributed Systems Research Group
> Stephan Opfer T. +49 561 804-6279 F. +49 561 804-6277
> Univ. Kassel, FB 16, Wilhelmshöher Allee 73, D-34121 Kassel
> WWW: http://www.uni-kassel.de/go/vs_stephan-opfer/
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20200112/c4164891/attachment.htm>
More information about the zeromq-dev
mailing list