Inspirel banner

Programming Distributed Systems with YAMI4

4.3.8 UDP Frame Size

Messages in YAMI4 are sent in fragments called frames. Dividing messages into frames allows to multiplex the communication channel in time and support message priorities.

Larger frame sizes lead to better effective throughput, but at the same time reduce the responsiveness of the system with regard to high priority messages. At the same time, UDP frame size can be limited by the fact that UDP messages have to be sent in datagram units and these have to fit into system buffers. The default frame size is is a reasonable trade-off between all these aspects.

Property name: "udp_frame_size".

Property type: integer, should be a positive number.

Default value: 512.