Cassandra + Hector + JRuby == Awesome

So a few months ago I started looking into using Cassandra for a project. Not being fluent in Java or Python which have excellent client libraries for interfacing to Cassandra (Hector and Pycassa respectfully), I looked into the Perl and Ruby clients.

At the time, none of the native Perl or Ruby clients weren’t nearly as powerful, feature rich or as actively maintained as Hector/Pycassa. I started hacking on the Perl client, but a) realized it was going to need a lot of work and b) I really wanted to use Ruby on Rails as the front end for my application I started looking into using Hector with JRuby. Continue reading


I just can’t leave it alone…

For some reason, probably due to a sever mental defect, I actually enjoy writing C code. Yes, there are plenty of other languages which have plenty of aspects which are better then C, but I just don’t find any of them as satisfying to actually write code in. Ruby comes the closest, but as languages go, it’s still a little wet behind the ears while C is mature. What does that mean? I’ve been working on tcpreplay again- even after I claimed I was putting it away for the foreseeable future. Continue reading


Rails 2.1

I’ve successfully migrated Cabernet over to Rails 2.1. Not being a power-rails developer, there doesn’t seem to be a whole lot that has changed. Most of the API remains the same, and the one thing that’s changed (pagination) has been replaced with an easier to use module (will_paginate). Continue reading


Cabernet isn’t dead

With tcpreplay 3.3.2 development wrapping up, I think I’ll take a break from C and concentrate on Ruby. I’m still using Cabernet and with Passenger, it looks like my goal of distributing a Rails application is finally doable. So that means getting Cabernet ready for Rails 2.1 and of course cleaning up the UI so it’s not so horribly ugly. Continue reading