Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cassandra with scala

Does anyone have advice on using cassandra with scala? There is no native scala-cassandra client supporting cassandra version 8.0+, so I have to use hector, and it seems to work OK but not to be concise. Do you have any attempts, recommendations or any wrapper code,.. etc for hector ?

like image 751
sirmak Avatar asked Jun 17 '11 07:06

sirmak


1 Answers

Two popular client-drivers are Quill and Phantom. They both use Datastax underneath. I did a load test profiling of a simple json GET/POST using play for both. You can see the side-by-side comparisons of results in the projects under root/loadtest/phantom|quill/results.

Might help you better to choose a driver.

https://github.com/yleun/cassandra-loadtest

Cassandra 3.10 scala 2.11.8 phantom 2.6.4 quill 1.2.1

like image 173
YP Leung Avatar answered Sep 27 '22 21:09

YP Leung