Git Product home page Git Product logo

hector's Introduction

The currently active branches are 0.7.0 and 0.8.0. The master has been switched to tracking Apache Cassandra trunk. Current releases on the downloads section should be cosidered production ready. You should always choose the most recent release for your version of Apache Cassandra.

For the impatient: 
https://github.com/rantav/hector/wiki/Getting-started-%285-minutes%29

As of version 0.7.0-23, Hector artificats are deployed to Maven Central. If you use maven for your build system, you need only include the hector-core dependency and all related dependencies will be managed automatically. 
----------------------------------------------------------------------------------------------------

Hector is a high level Java client for Apache Cassandra.
Apache Cassandra is a highly available column oriented database: http://cassandra.apache.org
Hector is the greatest warrior in the greek mythology, Troy's builder and brother of Cassandra
http://en.wikipedia.org/wiki/Hector
http://en.wikipedia.org/wiki/Cassandra

Hector is currently in use on a number of production systems some of which have node counts into the hundreds. Issues generally are fixed as quickly as possbile and releases done frequently.

Some features provided by this client:

 o high level, simple object oriented interface to cassandra
 o failover behavior on the client side
 o connection pooling for improved performance and scalability
 o JMX conters for monitoring and management
 o configurable and extensible load balancing with three algorithms to choose from: round robin (the default), least active, and a phi-accrural style response time detector
 o complete encapsulation of the underlying Thrift API and structs
 o automatic retry of downed hosts
 o automatic discovery of additional hosts in the cluster
 o suspension of hosts for a short period of time after several timeouts
 o simple ORM layer that works
 o a type-safe approach to dealing with Apache Cassandra's data model

Detailed documentation of Hector features and usage can be found on the wiki: 
https://github.com/rantav/hector/wiki/User-Guide
https://github.com/rantav/hector/wiki/Getting-started-%285-minutes%29

Some additional pages from the wiki that may be of interest:

 o Wiki: https://github.com/rantav/hector/wiki
 o SLF4J fun and hijinks: https://github.com/rantav/hector/wiki/SLF4J-in-Hector-
 o Mailing Lists: https://github.com/rantav/hector/wiki/Mailing-Lists
 o Maven Central location (includes javadoc): http://repo2.maven.org/maven2/me/prettyprint/

Example projects using Hector:

 o https://github.com/zznate/cassandra-tutorial
 o https://github.com/zznate/hector-examples
 o https://github.com/riptano/twissjava

The work was initially inspired by http://code.google.com/p/cassandra-java-client/ but has taken off to different directions since.

----------------------------------------------------------------------------------------------------
Building Hector from sources

Hector uses maven to build the sources. If you are new to Maven, take a look at this tutorial first:
 o  http://maven.apache.org/run-maven/index.html 

In order to to build Hector (this is not Hector specific) you run: 

  mvn clean package 
or 
  mvn clean package -DskipTests (to run faster and skip the tests) 

Hector jar will be under <hector_dir>/target  

hector's People

Contributors

btoddb avatar dehora avatar dlfryar-zz avatar edanuff avatar fmgoncalves avatar ghinkle avatar jancona avatar killerwhile avatar lucclaes avatar maxcom avatar michaelsembwever avatar moores avatar patricioe avatar rantav avatar sbridges avatar stephenc avatar tkoop avatar woolfel avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.