Subscribe / Unsubscribe Enewsletters | Login | Register

Pencil Banner

Apache Cassandra 2.0 brings the old school SQL functionality

Joab Jackson | Sept. 5, 2013
Relational database administrators will recognize Cassandra's new triggers, lightweight transactions and SQL-like query language

"So when it makes sense to have logic closer to the data, you can do that. It has come full circle to where that makes sense again," Ellis said.

The development team also endeavored to ease the jobs of developers building their applications on top of Cassandra, by replacing a notoriously difficult to use API (Application Programming Interface) with the Cassandra Query Language (CQL), which resembles the widely understood SQL used for relational databases.

Cassandra has offered CQL since January, but the 2.0 release has corrected some minor issues, making it ready for full production use.

With the CQL, "we're comfortable with telling people that this is what you should be building your applications with," Ellis said. "You don't need to use that old API that everyone complained was too difficult to use. You can use CQL. The learning curve is dramatically lower."

Also, as with any major release, Cassandra 2.0 sheds a lot of obsolete functionality. Upgrading to version 2.0 requires an old version of at least 1.2, which allowed project keepers to clean up old code and disregard little used or problematic code.

The updated software also includes a number of tweaks to speed performance.

It includes a new method of compaction, one that prevents read performance from suffering when large amounts of material are being written to disk. Message processing latencies have been reduced thanks to an implementation of the Disruptor high performance inter-thread messaging library. The number of timeouts can be reduced thanks to a new technique of sending redundant requests to other nodes, should too much time pass before the original request is fulfilled.

 

 

Previous Page  1  2 

Sign up for CIO Asia eNewsletters.