Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

tools for benchmarking cassandra

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 ebin
Octocat-spinner-32 include
Octocat-spinner-32 src
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 README.org
Octocat-spinner-32 cassandra.thrift
Octocat-spinner-32 rebar
README.org

casbench

Overview

Travis-CI :: https://secure.travis-ci.org/basho/casbench.png

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/log4j.properties:log4j.appender.R.File=/var/log/cassandra/system.log
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
./bin/cassandra
  1. Download and build Basho Bench
git clone git://github.com:basho/basho_bench.git
cd basho_bench
make
  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.

Contributing

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 git@github.com:yourusername/casbench.git
# or
git remote add mine git@github.com:yourusername/casbench.git
  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.
Something went wrong with that request. Please try again.