New Cassandra project - Astyanax or Java Driver? -


i'm starting new project cassandra (and plan use latest stable (1.2.x) version). have tried several different java libraries, hector, astyanax, cassandra-jdbc...

among them, (in short) choice astyanax. found , tried datastax's java driver, support new cql binary protocol, , cleaner if using cql. , seems version 1.0.0 ga released soon.

which 1 recommend? thanks.

i'd advise go cql3 based driver. choices the jdbc driver or better datastax's driver supports asynchronous connections. might have build datastax's driver yourself, can done ease using maven.

thrift isn't going getting new features in cassandra, being kept backwards comparability , c* community members advice use cql based drivers new projects:

as described above, believe cql3 simpler , overall better api cassandra thrift api is. therefore, new projects/applications encouraged use cql3

- source

also cql's performance getting better quickly. here outdated benchmarks.
update

since answer written maven central repository created driver use add dependency maven:

<dependency>     <groupid>com.datastax.cassandra</groupid>     <artifactid>cassandra-driver-parent</artifactid>     <version>1.0.0</version> </dependency> 

Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -