[zeromq-dev] Getting started with ruby bindings

Martin Sustrik sustrik at imatix.com
Wed Apr 21 15:33:21 CEST 2010

Martin Sustrik wrote:

> Well, we get that even today. The problem is that toy languages don't 
> implement real concurrency so that they can get stuck when interacting 
> with 0MQ...

Ruby is basically a single OS thread + green Ruby threads, right?

Such a design doesn't work with 0MQ, but it also doesn't scale to 
multiple cores.

One possible solution is to take your ruby threads and run them as 
separate processes. To communicate between them use 0MQ IPC transport.


More information about the zeromq-dev mailing list