[zeromq-dev] State of Erlang SMP with ZeroMQ

Yusuf Simonson simonson at gmail.com
Tue Jun 21 08:52:57 CEST 2011


Hello,

A prior thread suggests that issues with running Erlang SMP + ZeroMQ have been resolved thanks to socket migration [1].

This is awesome, but I was wondering what exactly goes on during socket migration. Erlang SMP generally has one kernel thread for each CPU, and a shared queue from which the threads pull jobs to execute [2]. Consequently, AFAICS, ZeroMQ sockets will regularly migrate from one thread to another. If migration is an expensive process, this would likely cause the Erlang implementation to perform poorly with SMP enabled.

Thanks!

- Yusuf

1: http://lists.zeromq.org/pipermail/zeromq-dev/2011-January/008767.html

2: http://www.erlang.org/euc/08/euc_smp.pdf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110621/70ca1344/attachment.htm>


More information about the zeromq-dev mailing list