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.

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

Reply via email to