介绍:
Hector是一个高层的cassandra Java客户端。目前有很多生产系统在使用,其中有些生产系统有上百个Cassandra节点。Hector的问题一般会尽快修复并发布。
特性:
-
对 cassandra 高层的、简单的面向对象接口
-
客户端 的 故障转移行为
-
提高性能和可扩展性 的 连接池
-
用于监视和管理JMX计数器
-
可配置和可扩展的负载均衡
-
底层 ThriftAPI 和结构的完全封装
-
自动重试下线的主机
-
集群中自动发现其他主机
-
多次 超时 后短时间内挂起主机
-
简单的 ORM 层
-
类型安全的方法处理Cassandra的数据模型
源码和下载:
https://github.com/rantav/hector或者直接从这里拷贝 $ git clone git://github.com/hector-client/hector.git
Hector特性的详细文档和使用请参考:
http://hector-client.org https://github.com/hector-client/hector/wiki使用Hector示例工程:
o https://github.com/zznate/cassandra-tutorial o https://github.com/zznate/hector-examples o https://github.com/apigee/usergrid-stack