[Play 2.x] Cassandra for data persistance

351 views
Skip to first unread message

Sarvesh Kumar Singh

unread,
Dec 21, 2012, 4:14:56 AM12/21/12
to play-fr...@googlegroups.com
Hi,

I need to use Cassandra ( though I am total noob regarding Cassandra) for a project with Play-2. I have not found any promising solution (or even article)
for using Cassandra with Play-2 ( or even Scala).

The idea of writing a thin-wrapper on Hector is the best that my good friend Google helped me to find.

---> http://uberblo.gs/2012/08/hector-client-scala-wrapper-for-cassandra

I am not a Scala ninja... but am ready to learn better.

Do any of you have any good idea's and suggestions about how should I approach this problem.. ?

regards,
Sarvesh

chiappone

unread,
Dec 21, 2012, 1:03:57 PM12/21/12
to play-fr...@googlegroups.com
We use play with cassandra on a daily basis.  There are no plugins since working this cassandra tends to be custom depending on the application.  We have used both Hector and Netflix Astyanax as a client with Hector, both work well.  I have tried Cassie, the scala client but don't feel as though it has all the features the java clients have.

Markus Jais

unread,
Dec 21, 2012, 6:31:53 AM12/21/12
to play-fr...@googlegroups.com
Hi,

there is a Scala Cassandra client from Twitter:


Never used it, though. But if it works for Twitter it is probably quite usable.

An alternative Java solution is here:

Regards,

Markus


Von: Sarvesh Kumar Singh <sarve...@gmail.com>
An: play-fr...@googlegroups.com
Gesendet: 10:14 Freitag, 21.Dezember 2012
Betreff: [play-framework] [Play 2.x] Cassandra for data persistance

--
 
 


Sarvesh Kumar Singh

unread,
Dec 25, 2012, 3:32:39 AM12/25/12
to play-fr...@googlegroups.com, Markus Jais
Yes.. but cassie is quite incomplete.... its feature set is only what they
need at twitter... which is very much dependent on how they use it. I think
cassie is not ready for general purpose use yet.

And if we must to go to java then we have quite good tools to use cassandra...

But the question is "Must we go to Java ?"
Message has been deleted

Michael Ahlers

unread,
Dec 26, 2012, 11:04:00 AM12/26/12
to play-fr...@googlegroups.com, Markus Jais
Nothing stops you from writing your application in Scala and calling Java libraries. If you're using Scala and Play!, you already are. Go ahead and use the Cassandra libraries. They'll work quite well for you.
Reply all
Reply to author
Forward
0 new messages