I'm working on a PUB/SUB architecture with the following setup:
Platform: x86 Ubuntu 24.04ZeroMQ Version: 4.3.6 (libzmq)PGM Version: 5.3.18Build Configuration: No additional flags except --with-pgm.**Architecture Details:**
Publishers: 500–1000 PUB clients, executed on the same x86 device in separate processesSubscriber: Single SUB host on a separate x86 dheeviceEach publisher sends 10 short messages with 100ms between messages.
Problem:
Some messages fail to arrive at the SUB host. The issue consistently affects the first message up to the 10th for each client.
What could cause the SUB host to miss these initial messages, even though Wireshark confirms they arrive? Are there specific configurations or additional debugging steps I should consider to resolve this issue?
Any insights or suggestions would be greatly appreciated!
Diagnostics:
Used Wireshark on the SUB side: All messages appear to arrive successfully. No NAK messages are sent for the missing messages.
Steps I've Tried (Without Success):
On the sender side, set ZMQ_RECOVERY_IVL to 10 seconds.On the receiver side, increased ZMQ_RATE to 10000 kbits/s.On the receiver side, increased ZMQ_RCVBUF to 1000 kbits.