Details of Cassandra 2.0 Revealed ..

Cassandra has been the wildly popular key value (nosql) database due to it's performance and scalability. The announcements for Cassandra 2.0 claim offer more traditional database features as well as means to integrate with large event processing engines.

These features include:

  • Lightweight transactions allow ensuring operation “linearizability” similar to the serializable isolation level offered by relational databases which prevents conflicts during concurrent requests.
  • Triggers which enable pushing performance-critical code close to the data it deals with, and simplify integration with event-driven frameworks like Storm
  • CQL (Cassandra Query Language) enhancements such as cursors and improved index support
  • Improved compaction, keeping read performance from deteriorating under heavy write load
  • Eager retries to avoid query timeouts by sending redundant requests to other replicas if too much time elapses on the original request
  • Custom Thrift server implementation based on LMAX Disruptor, a high-performance inter-thread messaging library that achieves lower message processing latencies and better throughput with flexible buffer allocation strategies