Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Hector is a
high-level client API for Apache Cassandra. Named after Hector, the
builder of Troy in Greek mythology, it is a substitute for the Cassandra
Java Client, or Thrift, that is encapsulated by Hector. It also has
Maven repository access. As Cassandra is shipped with the low-level
Thrift, there was a potential to develop a better protocol for
application developers. Hector was developed by Ran Tavory as a
high-level interface that overlays the shortcomings of Thrift. It is
licensed with the MIT License that allows to use, modify, split and
change the design. Hector follows two load balancing policies with the
LoadBalancingPolicy interface. The default is called the
LeastActiveBalancingPolicy and routes requests to the pools having the
lowest number of active connections, ensuring a good spread of
utilisation across the cluster.