有Node.js / JavaScript的Thrift或Cassandra客户端 [英] Is there a Thrift or Cassandra client for Node.js/JavaScript
问题描述
我想开始使用Cassandra和node.js部署,但是我找不到Node.js和/或JavaScript的Thrift或Cassandra客户端。
有吗?
有没有一种简单的生成Thrift连接的方法?
更新:这个问题的简短答案是没有,Thrift没有JS客户端与Cassandra兼容。 / p>
进一步更新:下一个版本的Cassandra(写作时为0.8)将支持 Avro API。
现在有人创建了一个:
https://github.com/wadey/node-thrift
更新:
Rackspace发布了一个节点cassandra api:
http://code.google.com/a/apache-extras.org/p/cassandra-node/
更新:
他们将其移动到github:
https://github.com/racker/node-cassandra-client
更新:
现在也有一个CQL驱动程序:
https:// github.com/simplereach/helenus
更新:
有一个CQL驱动程序,使用Cassandra本机协议
https://github.com/jorgebay/node-cassandra-cql
更新:
DataStax使用本机协议发布了Cassandra的CQL驱动程序:
https://github.com/datastax/nodejs-driver
I would like to start using Cassandra with a node.js deployment, but I can't find a Thrift or Cassandra client for Node.js and/or JavaScript.
Is there one?
Is there a simple means of generating Thrift connections?
Update: The short answer to this question turns out to be no, there is no JS client for Thrift that is compatible with Cassandra.
Further Update: The next release of Cassandra (0.8 at time of writing) is going to have support for an Avro API. There is already node.js module for Avro support.
Someone made one now: https://github.com/wadey/node-thrift
Update:
Rackspace released a node cassandra api:
http://code.google.com/a/apache-extras.org/p/cassandra-node/
Update:
They moved it to github:
https://github.com/racker/node-cassandra-client
Update:
There is a CQL driver now too:
https://github.com/simplereach/helenus
Update: There is a CQL driver, that uses the Cassandra native protocol https://github.com/jorgebay/node-cassandra-cql
Update: DataStax released a CQL driver for Cassandra using the native protocol: https://github.com/datastax/nodejs-driver
这篇关于有Node.js / JavaScript的Thrift或Cassandra客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!