Cassandra Summit 2014: Drivers: Let Our Powers Combine!

Preview:

DESCRIPTION

Speaker: Matt Stump, Solutions Architect at DataStax Current state of the driver ecosystem. Introduce the new C++ and high level language drivers. How to write an FFI wrapper for your favorite language. Driver best practices.

Citation preview

Goals

● Wrappable● High performance● Features

Architecture

Lockless Queue

Minimal Copies Load Balancing

API

● Supports C* 1.2 and 2.0● Asynchronous● Uses futures● Threadsafe

o Sessiono Immutability

Getting started

● Dependencieso libuv 0.10 and OpenSSLo boost 1.55 and libssh2 (optional)

● libcassandra.so (cassandra.dll)● https://github.com/datastax/cpp-driver/

Releases

New API Released!

C* 1.2 support, paging, and removal of C++11

Authentication, callbacks, values by name, and map iterator

Beta4 - Out today! (09/11)

● Node discovery● Node topology changes● DC aware policy● Schema changes wait for agreement

Beta5 and beyond

● SSL support● Token and latency aware policies● Expose metadata● Expose policy interfaces● Compression support● C++ wrapper● Binary releases

C* Drivers

● C#, Java, and Pythono Ready for Cassandra 2.1

● Ruby and Node.js drivers beta releases!

Resources

● Mailing Lists: o http://goo.gl/PsBY7F

● IRC (freenode.net): #datastax-drivers● Slide Examples:

o https://github.com/mpenick/cpp-driver-example

Recommended