cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Turner <>
Subject Re: Ruby, CQL and client libraries
Date Mon, 05 Dec 2011 23:23:32 GMT
On Sun, Dec 4, 2011 at 11:59 PM, Matthew Stump <> wrote:

> 3.) Other than the fauna/twitter client what are other people using for Ruby?

I'm probably the only person using JRuby + Hector.  This ended up
being a big win since to get high performance with Cassandra you
either need many clients or a multi-threaded client and JRuby is fully
threaded/supports native threads.

The downside of being the only person doing it is trying to debug
things.  I'm not a Java guy by any means so going down this path has
added extra complexity and occasional JRuby specific bugs (mostly on
the Rails side, not Hector/Cassandra which has been pretty rock solid
so far in my testing).

I basically wrote my own custom ORM on top of Hector.  It's not AR
compliant or anything like that and pretty application specific.
Mostly it just tries to simplify the Hector API.

Aaron Turner         Twitter: @synfinatic - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
    -- Benjamin Franklin
"carpe diem quam minimum credula postero"

View raw message