Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Cassandra Java Client
Failed to load latest commit information.
astyanax-cassandra Minor cleanup
astyanax-contrib Adding in rolling time window based load shedder
astyanax-core merging changes from master to dse-java-driver
astyanax-cql Adding in bridge for creating java driver config from astyanax config
astyanax-entity-mapper Fixing code indentation
astyanax-examples add a project for Astyanax API code examples
astyanax-queue Modify TimePartitionedShardReaderPolicy builder to accept time units
astyanax-recipes Fixing chunked object writer and adding unit test
astyanax-test Adding in bridge for creating java driver config from astyanax config
astyanax-thrift Minor cleanup
codequality Update codequality/checkstyle.xml
gradle Bumping to Gradle 1.12.
.gitignore Removing merge line that slipped in.
README.txt Updated hector link in README.txt to match Readme.markdown
Readme.markdown Update Readme.markdown
build.gradle adding support dual writes [Gradle Release Plugin] - new version commit: '2.0.4-SNAPSHOT'.
gradlew Upgrading to Gradle 1.4
gradlew.bat Upgrade to Gradle 1.1.
index.html Put something in index.html
settings.gradle moving tests to new module astyanax-test



Astyanax is a high level Java client for Apache Cassandra. Apache Cassandra is a highly available column oriented database.

Astyanax is currently in use at Netflix. Issues generally are fixed as quickly as possible and releases done frequently.


Astyanax jars are published to Maven Central. As of astyanax 1.56.27 the project has been split into multiple sub project, each of which needs to be pulled in separately.

Required artifacts

GroupID/Org ArtifactID/Name astyanax-core astyanax-thrift astyanax-cassandra

Optional artifacts

GroupID/Org ArtifactID/Name astyanax-queue astyanax-entity-mapper astyanax-recipes


A quick overview can be found at the Netflix Tech Blog. Some features provided by this client:

  • High level, simple object oriented interface to Cassandra.
  • Fail-over behavior on the client side.
  • Connection pool abstraction. Implementation of a round robin connection pool.
  • Monitoring abstraction to get event notification from the connection pool.
  • Complete encapsulation of the underlying Thrift API and structs.
  • Automatic retry of downed hosts.
  • Automatic discovery of additional hosts in the cluster.
  • Suspension of hosts for a short period of time after several timeouts.
  • Annotations to simplify use of composite columns.


Detailed documentation of Astyanax's features and usage can be found on the wiki and the getting started guide.

Ancient History

Astyanax was the son of Hector who was Cassandra's brother in greek mythology.

Modern History

This work was initially inspired by Hector.

Something went wrong with that request. Please try again.