Matthew Metnetsky <met <at> uberstats.com> writes:
> I was wondering if anyone has used zmq_poll() as the communication loop
> for an Erlang port? If so, any pointers?

http://github.com/saleyn/erlzmq/issues#issue/2

I've attached a patch to that issue that updates the erlang bindings to work
with Sustrik's master branch which provides for the ability to support polling
in erlang.  The erlang bindings can not support zmq_poll[^1] directly, as an
erlang driver can not make a blocking call.

The patch *works*, but the implementation could use some loving, in particular
the zmqdrv_ready_input() function is sub optimal.

Beyond that, Sustrik's zeromq is not fully stable yet.  In my testing, I'm not
confident in running any type of system using erlang and zeromq at this point. 
I don't see this flushing out for several more weeks at least - really dependent
on Serge or Dhammika becoming interested in bringing the bindings up to snuff. 
I've done what I could to make it *work*, but at this point I am looking at
other solutions for my needs as this combination of technology isn't going to
become mature enough in my time frame.

Out of curiosity, you said "Erlang Ports" in plural. What ones are you aware of?

chris

1. http://thread.gmane.org/gmane.network.zeromq.devel/1627/


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

Reply via email to