Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Load generator for memcached / couchbase

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.markdown
Octocat-spinner-32 cbloader
Octocat-spinner-32 rebar
README.markdown

cbloader

Yet another load generating tool for use while testing the behaviour and performance of memcached. Currently very basic

Dependencies

Erlang R13B04 or greater

Building

    git clone git://github.com/daleharvey/cbloader.git
    cd cbloader
    make

or download https://github.com/daleharvey/cbloader/raw/master/cbloader and place it in your $PATH

Usage

$ cbloader
$ cbloader -n 10k -v 1kb -p 5 -s 127.0.0.1:12001
$ cbloader --num-keys 10k --processes 5 --payload-size 1kb --servers 127.0.0.1:12001

Arguments

    -n / --num_keys X
The number of keys to write to memcached eg: 1, 100, 50k, 3m

    -v / --value-size X
The size of values to write eg: 500, 5kb, 3mb

    -s / --servers [hostname:memcachedport]
The servers to write to eg: 127.0.0.1:12001,127.0.0.1:12003

    -p / --processes X
The number of processes that write to each server, must be larger than and
a divisor of num_keys
Something went wrong with that request. Please try again.