Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Cassandra CQL Driver for Node.js Now Available

DZone's Guide to

Cassandra CQL Driver for Node.js Now Available

· Database Zone
Free Resource

MongoDB Atlas is a database as a service that makes it easy to deploy, manage, and scale MongoDB. So you can focus on innovation, not operations. 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.

MongoDB Atlas is the best way to run MongoDB on AWS — highly secure by default, highly available, and fully elastic. Get started free. Brought to you in partnership with MongoDB.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

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

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}