用于 Cassandra 的 Rails ORM [英] Rails ORM for Cassandra

查看:17
本文介绍了用于 Cassandra 的 Rails ORM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题可能已经被问过很多次了,但都没有找到合适的答案.Cassandra 在 Rails3 上有没有 ORM.

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 following.

  • fauna/cassandra - cassandra client for rails
  • carbonfive/active_column - last updated 13-may-2011
  • winebarrel/activerecord-cassandra-adapter - last updated 5 months ago
  • scrum8/cassandrb - last updated 01-mar-2011
  • NZKoz/cassandra_object - last updated 30-may-2010
  • astrails/smallrecord - last updated 14-apr-2010
  • azati/ActiveCassandra - last updated 03-jun-2010

请帮我决定我应该去哪一个.

Please help me out in deciding which one I should go with.

谢谢

推荐答案

首先,您可以将 2011 年未更新的任何内容放在请勿打扰"列表中.0.7 于 2011 年 1 月发布,与早期客户端存在一些 API 不兼容.

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.

在剩下的那些中,fauna/cassandra 是一个较低级别的客户端(我怀疑大多数其他人都使用它作为起点),这留下了一个非常短的列表需要评估.纯粹基于提交活动,我怀疑 active_column 是您最好的选择.

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.

对于 0.8.1(它不会及时与 0.8.0 一起发布),我们正在开发一个 CQL 驱动程序,我们希望它能够提供开箱即用的 Rails 兼容性.当它准备好时,它将在 Cassandra 源代码树中的驱动程序/下.

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.

这篇关于用于 Cassandra 的 Rails ORM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆