Illustration Image

Cassandra.Link

The best knowledge base on Apache Cassandra®

Helping platform leaders, architects, engineers, and operators build scalable real time data platforms.

10/31/2017

Reading time:1 min

Netflix Astyanax

by John Doe

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, but is being retired. Fixes will be made for serious issues, but it is not under active development.ArtifactsAstyanax 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 artifactsGroupID/OrgArtifactID/Namecom.netflix.astyanaxastyanax-corecom.netflix.astyanaxastyanax-thriftcom.netflix.astyanaxastyanax-cassandraOptional artifactsGroupID/OrgArtifactID/Namecom.netflix.astyanaxastyanax-queuecom.netflix.astyanaxastyanax-entity-mappercom.netflix.astyanaxastyanax-recipesFeaturesA 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.DocumentationDetailed documentation of Astyanax's features and usage can be found on the wiki and the getting started guide.Ancient HistoryAstyanax was the son of Hector who was Cassandra's brother in greek mythology.Modern HistoryThis work was initially inspired by Hector.

Illustration Image

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, but is being retired. Fixes will be made for serious issues, but it is not under active development.

Artifacts

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
com.netflix.astyanax astyanax-core
com.netflix.astyanax astyanax-thrift
com.netflix.astyanax astyanax-cassandra

Optional artifacts

GroupID/Org ArtifactID/Name
com.netflix.astyanax astyanax-queue
com.netflix.astyanax astyanax-entity-mapper
com.netflix.astyanax astyanax-recipes

Features

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.

Documentation

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.

Related Articles

packages
cassandra
admin-monitor

DataStax Enterprise OpsCenter

John Doe

7/24/2018

Checkout Planet Cassandra

Claim Your Free Planet Cassandra Contributor T-shirt!

Make your contribution and score a FREE Planet Cassandra Contributor T-Shirt! 
We value our incredible Cassandra community, and we want to express our gratitude by sending an exclusive Planet Cassandra Contributor T-Shirt you can wear with pride.

Join Our Newsletter!

Sign up below to receive email updates and see what's going on with our company

Explore Related Topics

AllKafkaSparkScyllaSStableKubernetesApiGithubGraphQl

Explore Further

libraries