There are a few Memcached load generators out there that by definition are now load generators for Membase as well. Everyone has their preference, and no one tool is right for all environments or skillsets. We at Couchbase, Inc. use a variety of tools for testing various functions of the server. Some of our favorites are:
- Brutis - A flexible PHP script that is easy to get and use, and can help simulate an entire stack. This gives you results and metrics that will be similar to what your application (assuming it's PHP) will be experiencing.
- Memcachetest - memcachetest can be configured to exercise a Membase server in many different ways. It is currently the only tool that supports the native Membase protocol (vbucket-aware).
- Memslap - Provided as part of the open-source memcached project, this has been a long-standing testing tool
- mc-loader - Another tool written for bulk-loading of data
Get it: http://code.google.com/p/brutis/
Install it: As a PHP script, the installation for brutis is very simple:
You'll also need to install PHP and its memcached library. The simplest way to do this is using yum or aptitude:
Run it: Brutis has a variety of options that can be used to tune the type of traffic that it generates. The simplest way is to let it use all its defaults:
Get it from https://github.com/membase/memcachetest
The memslap tool is part of the libmemcached package at: libmemcached.org
The mc-loader tool is a memcached tool written by Keith Batten and can be found on github at https://github.com/kbatten/mc-loader. For information about installing an using this tool please see the [mc-loader page].