# apache/cassandra-gocql-driver

GoCQL Driver for Apache Cassandra®

Repository: https://github.com/apache/cassandra-gocql-driver
Canonical: https://ross.abutalabs.com/products/cassandra-gocql-driver
Homepage: https://cassandra.apache.org/
Language: Go
License: Apache-2.0
License Family: permissive
Topics: go, cassandra, driver, database, client, nosql, golang
Last push: 2026-07-28T10:40:38+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 94, release rhythm 65, longevity 100
- inputs: {"age_days": 5120, "days_push": 36, "days_rel": 78, "gap_med": 110.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2692, forks 655 (observed 2026-08-28T04:07:11.032357+00:00)

## What it is
gocql is the official Apache Cassandra driver for Go, implementing a fast and robust client over Cassandra's native transport protocol. It provides cluster management, token-aware load balancing, automatic type conversion, paging, TLS, authentication, and query preparation.

## Use cases
- connect to cassandra from go
- run cql queries in a golang application
- build a scalable backend on apache cassandra
- token-aware load balancing for cassandra clusters
- paged iteration over cassandra query results
- tls-secured cassandra connections with password auth

## When to choose
- you are writing a Go application or service backed by Apache Cassandra
- you need production-grade cluster management, reconnection, and load balancing
- you want native-protocol performance with automatic type marshaling

## When to avoid
- you use a database other than Cassandra or ScyllaDB-compatible CQL stores
- you need an ORM with schema migrations rather than a low-level driver
- your project is not in Go

## Facets
- artifact type: library
- maturity: active
- function: database-driver, database
- domain: databases, backend, developer-tools
- platform: go, cross-platform
- tags: cassandra, cql, nosql, gocql, client-driver

## Member repositories
- apache/cassandra-gocql-driver (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:11.032357+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-30T02:16:31.721898+00:00, confidence not recorded.
  - readme: https://github.com/apache/cassandra-gocql-driver (fetched 2026-08-28T04:07:11.032357+00:00, sha 3c2b2072e815)
  - homepage: https://cassandra.apache.org/ (fetched 2026-08-29T09:59:31.488624+00:00, sha aa77c21c3a9b)
  - site_page: https://cassandra.apache.org/_/quickstart.html (fetched 2026-08-29T09:59:31.491530+00:00, sha d5e6513c15fe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
