[zeromq-dev] 0mq socket pool vs single socket. Question on design.

Pieter Hintjens ph at imatix.com
Mon Mar 24 19:03:24 CET 2014


There's no point in creating a pool of sockets. If you want to
experiment with multiple TCP connections, you can try e.g. calling
zmq_connect() multiple times. Please do measure the effects
before/after.

On Mon, Mar 24, 2014 at 4:32 PM, artemv zmq <artemv.zmq at gmail.com> wrote:
> hi
>
> Just came to my mind. Does it make sense to create a socket pool of 0mq
> sockets instead of single socket. For example, if traffic to remote host is
> tense, then can the pool help me?  To help, in terms of  sending more bytes
> and faster.  Or should I rely on single 0mq socket?
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list