Byzantine Reality

Searching for Byzantine failures in the world around us

So Close and Yet So Far

One of my new found loves is Object Relational Mapping, specifically Ruby’s ActiveRecord. If you have not heard of these, go click on those links and read about it. Now. Now that you know all about those nifty guys, let me just say “Wow”. After all those years of writing crappy quality SQL code that took like ten times to get exactly right, we get this amazing technology to automagically give you an object and make operations on it equate to operations on the database. And it was too good to be true…

While in the process of our work I’m in the midst of ripping out all the ORM stuff out and replacing it with SOAP calls, which will eventually get translated to Hypertable calls. Just as I get spoiled on ORM now I lose it! It’s still not that bad though. Using SOAP instead of ORM (in some ways it supplants ORM) still keeps the code base readable and is still a million times better than me having to make the Hypertable calls myself.

That being said, I originally wanted to post and bitch about losing all the cool ORM stuff, but after thinking it all over and realizing using SOAP wasn’t too far off, I got inspired to go something else. Maybe I should gowrite my own Hypertable (or Hbase) adapter for Rails…