Search tips
Developing applications with DataStax drivers
The DataStax drivers are the primary resource for application developers creating solutions using DataStax Enterprise (DSE).
Best practices for DataStax drivers
These rules and recommendations improve performance and minimize resource utilization in applications that use DataStax drivers.
All the DSE drivers share common features for connecting to DSE clusters.
Authentication in DSE drivers
The DSE drivers support DSE Unified Authentication.
Using SSL in DSE drivers
DSE drivers support SSL-encrypted connections between the driver and server.
Load balancing with DSE drivers
The DataStax drivers control the distribution of the incoming load across the DSE cluster.
Connection pooling
The DataStax drivers maintain a pool of connections to each of the nodes selected by the load balancing policy.
Retry policies
Retry policies allow the DataStax drivers to automatically retry a request upon encountering specific types of server errors.
Reconnection policies
Reconnection policies allow the DataStax drivers to automatically reestablish a connection to a node that was previously marked as down.
Execution profiles
Execution profiles allows a single session to run different types of query workloads, each with its own settings.
The ability to submit queries and receive results is the core functionality of DataStax drivers.
Working with multi-workload clusters
The DSE drivers can query clusters with different workload types.
Using DSE Search with the DataStax drivers
The DataStax drivers allow developers to perform DSE Search queries in their applications.
Submitting DSE Graph queries with the DataStax drivers
The DataStax drivers expose the String API and Fluent API for executing DSE Graph traversals.
Result paging with DataStax drivers
Large result sets can be divided into multiple pages that the client will fetch in separate network requests.
Synchronous and asynchronous query execution
Queries can be executed against the database synchronously or asynchronously.
Managing concurrency in asynchronous query execution
The DSE drivers support sending multiple concurrent requests on a single connection to improve overall query performance.
Speculative query execution
Speculative queries are used to preemptively start a second execution of a query against another node, before the first node has replied or returned an error.
Query idempotence
A CQL query is idempotent if it can be applied multiple times without changing the result of the initial application.
Driver metrics
DataStax drivers expose metrics through different libraries and APIs depending on the language.
Object mappers in DSE drivers
The C#, Java, Node.js and Python drivers each provide an object mapper, which are tools for managing query results.
Query timestamps
Timestamps determine the order of precedence for operations on the same column value from different queries.
DSE drivers may encounter server-originated or client-side errors.
Server errors
Server errors originate at the server and are sent back to the client.
Client errors
Client errors originate from problems with the driver itself.