Connection methods comparison

Connect to your DataStax Enterprise (DSE) database with a client or a CQL driver.

What’s the difference between a client and a driver?

Clients let you interact with the Data API. Drivers let you interact with CQL.

DataStax recommends that you use a client for most applications, as it’s an easier way to get started with DataStax Enterprise (DSE). However, you should use a driver if you have a legacy application or want to take advantage of specific Cassandra features.

Available clients

The following official clients are available.

Language Client

python Python

astrapy

Latest release

Connect

Reference

typescript TypeScript

astra-db-ts

Latest release

Connect

Reference

java Java

astra-db-java

Latest release

Connect

Reference

Use CQL Proxy to connect with an unsupported driver

DataStax CQL Proxy simplifies connecting to DataStax Enterprise (DSE) without having to change your Cassandra driver, driver version, and/or framework (springdata, lagom, akka-persistence-cassandra, quarkus, etc.). This open source tool securely forwards your application’s CQL traffic to an appropriate database service. CQL Proxy auto-discovers and auto-configures communication with DataStax Enterprise (DSE).

If you are using a driver for an unsupported language, consider using CQL Proxy. The CQL Proxy sidecar enables unsupported CQL drivers to work with DataStax Enterprise (DSE).

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com