Over a million developers have joined DZone.

Cassandra CQL Driver for Node.js Now Available

· Database Zone

Build fast, scale big with MongoDB Atlas, a hosted service for the leading NoSQL database. Try it now! Brought to you in partnership with MongoDB.

This week Rackspace released a CQL (Cassandra Query Language) client for Apache Cassandra written in Node.js.

Rackspace, known for their open source cloud technology - OpenStack, has been a long-time contributor to the Cassandra project and have participated in crucial stages of the development. As you may know, a Rackspace engineer created the Cassandra Query Language (CQL) with the release of Cassandra 0.8.  CQL was conceived to create an easier driver to work with because it was assumed that it would be more difficult to use the existing Cassandra Thrift client though it should be noted that CQL was still under active development.

When Rackspace started developing Cloud Monitoring, we decided to use Node.js for our API service endpoints. These services would need to communicate with a Cassandra storage cluster. We made the decision to use CQL even though it was still under active development and no Node.js driver existed for it at the time. We figured it would be easier to implement the driver than to use the existing Cassandra Thrift client. Also, we knew that we would be able to contribute the driver back to the project so that other Node.js users would benefit.

--Gary Dusbabek

Rackspace was also a key contributor to the Java, Python and Node.js CQL drivers.

For awesome examples of how-to connect, update, and select results from your Cassandra database using node-cassandra-client, go to the Rackspace blog post.  To download this driver, go to the GitHub page.  It currently supports CQL 2.0, but 3.0 support is coming.

Now it's easier than ever to get started with MongoDB, the database that allows startups and enterprises alike to rapidly build planet-scale apps. Introducing MongoDB Atlas, the official hosted service for the database on AWS. Try it now! Brought to you in partnership with MongoDB.


The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}