tools for benchmarking cassandra
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



Travis-CI ::

casbench is a utility library for Basho Bench that provides an interface to Cassandra via Thrift. This library works with Cassandra 0.5.1.

Quick Start

casbench is used as part of Basho Bench. You will need to setup Basho Bench and Cassandra 0.5.1.

  1. Download and extract Cassandra 0.5.1
  2. Update the various configuration paths as needed
conf/storage-conf.xml:  <CommitLogDirectory>/var/lib/cassandra/commitlog</CommitLogDirectory>
conf/storage-conf.xml:      <DataFileDirectory>/var/lib/cassandra/data</DataFileDirectory>
conf/storage-conf.xml:  <CalloutLocation>/var/lib/cassandra/callouts</CalloutLocation>
conf/storage-conf.xml: <StagingFileDirectory>/var/lib/cassandra/staging</StagingFileDirectory>
  1. Start Cassandra
  1. Download and build Basho Bench
git clone git://
cd basho_bench
  1. Run Basho Bench with the example casbench.config file
./basho_bench examples/casbench.config

For more information on using Basho Bench checkout the Basho Wiki.


We encourage contributions to casbench from the community.

  1. Fork the casbench repository on Github.
  2. Clone your fork or add the remote if you already have a clone of the repository.
git clone
# or
git remote add mine
  1. Create a topic branch for your change.
git checkout -b some-topic-branch
  1. Make your change and commit. Use a clear and descriptive commit message, spanning multiple lines if detailed explanation is needed.
  2. Push to your fork of the repository and then send a pull-request through Github.
git push mine some-topic-branch
  1. A Basho engineer or community maintainer will review your patch and merge it into the main repository or send you feedback.