In order to guarantee that multipart messages generated in different
threads and different times are synchronously send we are currently
using a socket per message. This is a wasteful operation, neither we
want to buffer messages.

Is there currently any thing available that could closely mimic a high
level connection pool? Fundamentally I am looking for something that
works like:

socket_pool = zmq_pool(context, ZMQ_PUSH);
zmq_pool_connect(socktet, 'uri://blabla', 8); // pre-connect 8

socket = zmq_pool_dispatch(socket_pool);

// do the sending

zmq_pool_done(socket_pool, socket);


Stefan
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to