cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ran Tavory <>
Subject Hector - a Java Cassandra client
Date Tue, 23 Feb 2010 14:13:58 GMT
I've written a java library for cassandra I've been using internally, would
love to get your feedback and hope you find it useful.
Blog post:

High level features:
 o A high-level object oriented interface to cassandra. In short: just some
nicities around thrift.
 o Failover support. If a client is connected to one host in the ring and
this host goes down, the client will automatically and transparently search
for other available hosts to perform the operation before giving up. You may
choose to FAIL_FAST (no retry, just fail if there are errors, nothing
smart), ON_FAIL_TRY_ONE_NEXT_AVAILABLE (try one more host before giving up)
or ON_FAIL_TRY_ALL_AVAILABLE (try all available hosts before giving up).
 o Connection pooling. Needless to say, it's a must.
 o JMX support. Hector exposes JMX for many runtime metrics, such as number
of available connections, idle connections, error statistics etc.
 o Support for the Command design pattern to allow clients to concentrate on
their business logic and let hector take care of the required plumbing.

View raw message