[zeromq-dev] [PATCH] Scalability improvements for large amounts of connections

Pieter Hintjens ph at imatix.com
Mon Oct 11 16:57:20 CEST 2010


On Mon, Oct 11, 2010 at 4:46 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:

> Migration means that you are using the socket from one thread, then you
> start using it from other thread. In other words, you cannot use the same
> socket from 2 threads in parallel, but you can stop using it in one thread,
> then start using it from another one. The above is called "migrating" the
> socket to another thread. When doing so you have to ensure full memory
> barrier is executed.

By "ensure full memory barrier" you mean that sockets are not safe to
use from multiple threads at the same time?

-Pieter



More information about the zeromq-dev mailing list