# Netflix/astyanax

Cassandra Java Client

Repository: https://github.com/Netflix/astyanax
Canonical: https://ross.abutalabs.com/products/astyanax
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2025-12-17T03:15:00+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 57, release rhythm 8, longevity 100
- inputs: {"age_days": 5530, "days_push": 259, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1033, forks 346 (observed 2026-08-28T04:03:18.365629+00:00)

## What it is
Astyanax is a high-level Java client library for Apache Cassandra that wraps the underlying Thrift API with an object-oriented interface. It provides client-side failover, connection pooling, automatic host discovery, and retry behavior for building resilient Cassandra applications.

## Use cases
- connect to cassandra from java
- cassandra client with connection pooling
- automatic failover for cassandra cluster
- high level api for cassandra thrift
- manage cassandra host discovery and retries
- java library to read and write cassandra columns

## When to choose
- you are on the JVM and need a mature, battle-tested Cassandra client with pooling and failover
- you want to encapsulate Thrift details behind a simple object-oriented API
- you need automatic host discovery, retry, and suspension of flaky nodes

## When to avoid
- you are starting a new project - modern Cassandra drivers (CQL-based) are recommended over this Thrift-era client
- you need CQL support or non-Java languages
- you require active feature development rather than maintenance

## Facets
- artifact type: library
- maturity: maintenance
- function: database-driver, caching, monitoring
- domain: databases, developer-tools
- platform: jvm
- tags: cassandra, thrift, connection-pooling, failover, netflix

## Member repositories
- Netflix/astyanax (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:18.365629+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:06:37.886873+00:00, confidence not recorded.
  - readme: https://github.com/Netflix/astyanax (fetched 2026-08-28T04:03:18.365629+00:00, sha eb770434a9c4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
