Category Archives: cassandra

Cassandra python client

A code example may be too much to ask for, but would be very helpful. First, the simplest possible Cassandra client. No eventlet, no ssl. It works: Next, eventlet. No threads, so eventlet is pointless here. But it works: Next, ssl, no eventlet. This... Read More | Share it now!

Cassandra installation

Latest version Download the latest Apache Cassandra 3.11 release: 3.11.4 (pgp, sha256 and sha512), released on 2019-02-11. Older supported releases The following older Cassandra releases are still supported: Apache Cassandra... Read More | Share it now!

Using cqlsh with SSL

Using a cqlshrc file is the easiest method of getting cqlshrc settings. The cqlshrc.sample provides an example that can be copied as a starting point. Prerequisites Prepare SSL certificates with a self-signed CA for... Read More | Share it now!

Cassandra Client-to-node encryption

Client-to-node encryption Client-to-node encryption protects data in flight from client machines to a database cluster using SSL (Secure Sockets Layer). It... Read More | Share it now!

Cassandra Setting a Consistency Level

The consistency level used for a query determines how many of the replicas of the data you are interacting with need to respond for the query to be considered a success. By default, ConsistencyLevel.LOCAL_ONE will be used for all queries. You... Read More | Share it now!

Connect to cassandra from remote

Alternate solution to Kat. Worked with Ubuntu 16.04 ssh into server server_user@**.**.**.** Stop cassandra if running: Check if running with ps aux | grep cassandra If running, will output a large block of commands / flags, e.g.ubuntu 14018... Read More | Share it now!

The cassandra-stress tool The cassandra-stress tool is a Java-based stress testing utility for basic benchmarking and load testing a Cassandra cluster.Data modeling choices can greatly affect... Read More | Share it now!

Add Nodes To The Google cloud Cassandra Cluster IMPORTANT: These steps assume that you have already installed the Google Cloud SDK and you are signed in to the Google Cloud Platform... Read More | Share it now!

Adding nodes to an existing Cassandra cluster Virtual nodes (vnodes) greatly simplify adding nodes to an existing cluster: Calculating tokens and assigning them to each node is no longer required. Rebalancing... Read More | Share it now!

Load-testing Apache Cassandra

Load-testing Apache Cassandra; Parsing Latency & Throughput Results (Part 1 of 3) Setting up the client and server As... Read More | Share it now!