Was this page helpful?
Caution
You're viewing documentation for an unstable version of ScyllaDB Node.js Driver. Switch to the latest stable version.
ScyllaDB Node.js RS Driver¶
A client-side driver for ScyllaDB written in Node.js and Rust. This driver is an overlay over the ScyllaDB Rust Driver, with the interface based on the Apache cassandra-driver. Although optimized for ScyllaDB, the driver is also compatible with Apache Cassandra®.
This driver is considered production-ready. Support for some optional driver features is planned for upcoming releases.
Contents¶
Getting Started - Installing the driver and executing your first statements
Statements - Prepared, unprepared, and batch statements
Fetching Large Result Sets - Paging through large result sets
Policies - Load balancing and retry policies
Authentication - Connecting with credentials or SSL
Shutdown - How the driver manages connection lifecycle
Migration Guide - Migrating from the Apache
cassandra-driverAPI Reference - Full API documentation
Features¶
The driver supports the following:
Simple, Prepared, and Batch statements
Asynchronous IO, parallel execution, request pipelining
Token-aware routing
Shard-aware and Tablet-aware routing (specific to ScyllaDB)
CQL binary protocol version 4
Works with any cluster size
Both promise and callback-based API
Row streaming and pipes
Built-in TypeScript support
Password authentication
SSL support
Configurable load balancing, retry policies
Simple address translation policy
Error handling, based on the Rust driver
Driver logging
Faster performance, compared to DataStax Node.js driver(*)
(*) In most of the internally conducted benchmarks
Roadmap¶
For planned features, see the Milestones.