Hi everybody,
I'm just discovering Cassaandra.And now for his java client i would like to know your point about the "best" java client for Cassandra.Hector, Astyanax or Kundera ?
Thanks a lot.
Hi everybody,
I'm just discovering Cassaandra.And now for his java client i would like to know your point about the "best" java client for Cassandra.Hector, Astyanax or Kundera ?
Thanks a lot.
The term "best java client" is pretty blurred. I cannot point to one which is the best, because there is no single criterion of choice. It very much depends on what are your requirements, e.g.
1. Should it be easy to install / learn?
2. Should it provide complete support for all the underlying features?
3. Should it expose a low-level API (thrift)?
4. Do you care about particular additional features or services, e.g pooling / failover?
5. ...
You have to make a choice based on your personal requirements. But if you are only learning now, I'd recommend taking just the one which looks easiest to you.
ok,Thanks.
I've a project with cassandra.i've to choose one java client.So when i choose one, my responsible will ask me why i chose Hector but not Astyanax ,for example.Personnally, i can't explain, i just saw on forums that Hector is the most used so i chose it...
Hector and Astyanax are more low-level but also probably more feature rich. Additionally they are quite similar, because Astyanax is refactored Hector.
Kundera is a different kind of a beast - it maps your cassandra model directly to Java objects by annotations. If you know JPA, it may be the most straighforward choice. However, I'd warn you against building your data model as you'd build a relational model - the philosophies behind those two types of database systems (relational and noSQL) are quite different.
ok, thanks a lot.