[zeromq-dev] Erlang Ports and zmq_poll
Serge Aleynikov
serge at aleynikov.org
Thu Jul 22 02:41:34 CEST 2010
Thanks Chris for submitting the patch. I was somewhat reluctant to
porting implementation to 0MQ 2.0.7 as I was waiting for some update on
Martin's work on making 0MQ sockets transferable between application
threads. However since you've done the porting work, I'll test the
patch tomorrow and apply it to the master branch if there are no issues.
Serge
On 7/20/2010 11:48 PM, chris wrote:
> 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
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list