You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using this library and have noticed that it is a bit slow for high frequency image sending, which is to be expected. I'm wondering if it's possible to use UDP instead of TCP? Doing a bit of research, it seems like ZMQ has some support for this with NORM and PGM:
I have not used UDP, but imageZMQ uses ZMQ multi-part messages (using the ZMQ option zmq.SNDMORE). I believe this ZMQ option is incompatible with UDP. Also, with multi-part messages it is not likely using UDP would actually be faster; image messages are quite large, making the relative savings of UDP versus TCP relatively small. From my reading of the ZMQ docs, PGM may be compatible with ZMQ multi-part messages, but perhaps not with the pyZMQ bindings used by imageZMQ.
I saw that your post on stackoverflow got a number of responses. I would love to know what your learn from your experiments if you try some of the things mentioned there.
Hi, I am using this library and have noticed that it is a bit slow for high frequency image sending, which is to be expected. I'm wondering if it's possible to use UDP instead of TCP? Doing a bit of research, it seems like ZMQ has some support for this with NORM and PGM:
http://wiki.zeromq.org/topics:norm-protocol-transport
https://stackoverflow.com/a/70623213/11741232
When I tried hotswapping TCP in URLs for norm and pgm, I got zmq.error.ZMQError: Protocol not supported so it seems like it's not supported
The text was updated successfully, but these errors were encountered: