I believe I've shared this in the past, but to use Basho's Ruby client in
non-blocking mode all you have to do is this:
https://gist.github.com/4445654

The advantage of doing so it that it gives you the usual blocking API but
uses non-blocking IO under the hood.  Just create a new Fiber for each new
operation you want to perform concurrently.  We've found performance to be
much better using Fiber than Threads, at least when using the standard Ruby
VM.


On Thu, Jan 3, 2013 at 9:00 AM, <[email protected]> wrote:

> 15) Von Stark released a Ruby event machine client for Riak along with
> a blog post about it.
>
> * Code here ---> http://tech.vonstark.co/post/38952977628/emriak
> * Blog post http://tech.vonstark.co/post/38952977628/emriak
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to