Rails ORM for Cassandra

后端 未结 4 1924
自闭症患者
自闭症患者 2020-12-13 07:19

this question may have been asked many times, but could not find any suitable answer. Is there any ORM on Rails3 for Cassandra.

I have searched google and found foll

相关标签:
4条回答
  • 2020-12-13 07:55

    Update: June 2014

    Building off of mccannf's suggestions, I can personally verify that cequel is a top-notch ORM that has an excellent, straightforward API that is ActiveRecord-like while being slightly more transparent (less behind-the-scenes magic than AR). It is currently being maintained as of June 2014.

    0 讨论(0)
  • 2020-12-13 07:58

    Update: February 2013

    • data-axle/cassandra_object aka gotime-cassandra_object gem
    • brewster/cequel aka cequel gem
    • twitter/cassandra - a ruby client for Cassandra

    and if you're using Datastax:

    • jasonmk/datastax_rails - aka datastax_rails gem
    0 讨论(0)
  • 2020-12-13 08:05

    Update: June 2013

    hsgubert/cassandra_migrations

    It gives access to Cassandra through CQL3 and integrates with rails to manage schema with migrations.

    0 讨论(0)
  • 2020-12-13 08:08

    First, you can put anything not updated in 2011 on the "don't bother" list. 0.7 was released in January 2011 and has some API incompatiblities with earlier clients.

    Of the ones left, fauna/cassandra is a lower-level client (I suspect most of the others use it as a starting point), which leaves a very short list left to evaluate. Based purely on commit activity I suspect active_column is your best bet.

    For 0.8.1 (it won't be ready in time to ship with 0.8.0) we're working on a CQL driver that we hope will provide Rails compatibility out of the box. That will be in the Cassandra source tree under drivers/ when it's ready.

    0 讨论(0)
提交回复
热议问题