[zeromq-dev] Is UDP transport needed in ZeroMQ?
Daniel Krikun
dkrikun0 at gmail.com
Sat Dec 28 15:24:33 CET 2013
That's pretty good explanation!
Few points though:
- both plain tcp and udp are free
- both plain tcp and udp are available for any language (here they
certainly win)
- background io is great, however it is not straightforward to understand
why then there is ZMQ_NOBLOCK option in send method
- patterns are great too, especially for tcp, but they too can be hard to
understand for newcomers, for example, it is a common problem that when
using REQ/REP an application crashes due to uncaught exception, because
somebody called recv() with ZMQ_NOBLOCK and the message has not been
actually received. Also, I have found it is hard to explain the difference
between bind() vs connect() and patterns.
I'm not saying the patterns suck, they surely do not, personally I think
they are very helpful, but they are not perfect. Maybe plain udp can be
easier to grasp.
On Dec 28, 2013 1:50 PM, "Pieter Hintjens" <ph at imatix.com> wrote:
> On Sat, Dec 28, 2013 at 11:15 AM, Daniel Krikun <dkrikun0 at gmail.com>
> wrote:
>
> > The question is, what is the value of using zmq with udp transport over
> > plain udp?
>
> http://zeromq.org/topics:omq-is-just-sockets
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131228/fd1319f2/attachment.htm>
More information about the zeromq-dev
mailing list