[zeromq-dev] [PATCH] Scalability improvements for large amounts of connections
Pieter Hintjens
ph at imatix.com
Mon Oct 11 16:13:15 CEST 2010
On Mon, Oct 11, 2010 at 4:08 PM, Martin Sustrik <sustrik at moloch.sk> wrote:
> There should be something about socket migration in zmq(7). Something like:
> A socket can be migrated from one thread to another. When doing so, user is
> responsible for executing full memory barrier. CAUTION: Do not use this
> functionality unless you know exactly what you are doing.
>
> It's backwards compatible and has no direct relationship to ZMQ_FD or
> ZMQ_EVENTS.
>
> Would you like to provide a documentation patch?
Sure, but it's still unclear to me what 'migrated' actually means, in
terms of functionality and/or use of the API. The "CAUTION" note
doesn't really help, because unless the documentation explains exactly
what this is, no-one can know exactly what they are doing with it...
:-)
Please explain in plain English what socket migration is and how it
works and how to use it, thanks. Then I'll make a patch for
zmq_socket, where this should go.
-Pieter
More information about the zeromq-dev
mailing list