Hector——一个高层的Cassandra Java客户端

来源:互联网 发布:淘宝开蛋糕店 编辑:程序博客网 时间:2024/05/06 04:21

介绍:

          Hector是一个高层的cassandra Java客户端。目前有很多生产系统在使用,其中有些生产系统有上百个Cassandra节点。Hector的问题一般会尽快修复并发布。

特性:

  • cassandra高层的、简单的面向对象接口
  • 客户端故障转移行为
  • 提高性能和可扩展性连接池
  • 用于监视和管理JMX计数器
  • 可配置和可扩展的负载均衡
  • 底层ThriftAPI和结构的完全封装
  • 自动重试下线的主机
  • 集群中自动发现其他主机
  • 多次超时后短时间内挂起主机
  • 简单的ORM
  • 类型安全的方法处理Cassandra的数据模型

源码和下载:

https://github.com/rantav/hector或者直接从这里拷贝$ gitclone 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

本文参考于Hector首页和这里。