hadoop-zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Reynhout (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ZOOKEEPER-661) Add Ruby bindings
Date Sat, 20 Feb 2010 19:40:27 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836239#action_12836239

Andrew Reynhout commented on ZOOKEEPER-661:

Looks like emaland forked the old myelin code.  We looked at that, but ultimately decided
to start over using Ruby FFI.  Also, it doesn't look like they've done async calls and watchers
yet, but maybe I missed it.

Asynchronous calls were never high priority for my use case, but watchers were essential.
 Both ran into the same threading problems though, so I ended up using the same workarounds.

I've been a bit distracted for the last few weeks, so I haven't made any progress on the MT
vs ST idea.  I've moved all of the code into a public github repo, so if it's useful please
check it out.


> Add Ruby bindings
> -----------------
>                 Key: ZOOKEEPER-661
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-661
>             Project: Zookeeper
>          Issue Type: New Feature
>          Components: contrib-bindings
>         Environment: MRI Ruby 1.9
> JRuby 1.4
>            Reporter: Andrew Reynhout
>            Priority: Minor
> Add Ruby bindings to the ZooKeeper distribution.
> Ruby presents special threading difficulties for asynchronous ZK calls (aget, watchers,
etc).  It looks like the simplest workaround is to patch the ZK C API.
> Proposed approach will be described in comment.
> Please use this ticket for discussion and suggestions.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message