views:

738

answers:

1

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.

+3  A: 

https://issues.apache.org/jira/browse/THRIFT-550

Schildmeijer
which is to say, it's in thrift trunk and will be in the upcoming thrift 0.3 release.
jbellis
Cheers. I actually found this one last night and started hacking it to work with node.js
Toby Hede
Will still need to bui8ld a Cassandra lib on top of this, but it's a great start.
Toby Hede
Perhaps you guys could clarify this: http://stackoverflow.com/questions/2955651/thrift-js-compatibility-with-cassandra-json-protocol:P
Toby Hede