ZeroMQ Message Size Length Limit?

user3262424 picture user3262424 · Jul 1, 2011 · Viewed 15.4k times · Source

Suppose that several machines are interacting together using python's zeroMQ client.

These messages are naturally formatted as strings.

Is there a limit to the length of a message (string)?

Answer

kwo picture kwo · Jul 1, 2011

There is no limit to the size of messages being sent however small messages are handled differently than large messages (see here).

The max size of a small messages is defined in the source code at 30 bytes (see here, look for ZMQ_MAX_VSM_SIZE).