Skip to content

NoSQL Redis and Memcache traffic generation and benchmarking tool.

License

Notifications You must be signed in to change notification settings

jhpark816/memtier_benchmark

This branch is 212 commits behind RedisLabs/memtier_benchmark:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3152873 · Feb 6, 2014

History

17 Commits
Jul 12, 2013
Jun 27, 2013
Aug 29, 2013
Jun 27, 2013
Jul 12, 2013
Aug 14, 2013
Feb 6, 2014
Aug 29, 2013
Aug 14, 2013
Jul 12, 2013
Jul 12, 2013
Jul 12, 2013
Jul 12, 2013
Jul 12, 2013
Jul 12, 2013
Jul 12, 2013
Aug 29, 2013
Aug 29, 2013
Aug 14, 2013
Aug 14, 2013
Aug 14, 2013
Aug 29, 2013
Aug 29, 2013

Repository files navigation

memtier_benchmark

memtier_benchmark is a command line utility developed by Redis Labs (formerly Garantia Data Ltd.) for load generation and bechmarking NoSQL databases.

Currently memtier_benchmark supports Redis and Memcache protocols (text and binary).

Getting Started

Prerequisites

The following libraries are required for building:

  • libevent 2.0.10 or newer.
  • libpcre 8.x.

The following tools are required

  • autoconf
  • automake
  • GNU make
  • GCC C++ compiler

CentOS 6.x Prerequisites

On a CentOS 6.4 system, use the following to install prerequisites:

# yum install autoconf automake make gcc-c++ 
# yum install pcre-devel zlib-devel libmemcached-devel

CentOS 6.4 ships with older versions of libevent, which must be manually built and installed as follows:

To download, build and install libevent-2.0.21:

$ wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
$ tar xfz libevent-2.0.21-stable.tar.gz
$ pushd libevent-2.0.21-stable
$ ./configure
$ make
$ sudo make install
$ popd

The above steps will install into /usr/local so it does not confict with the distribution-bundled versions. The last step is to set up the PKG_CONFIG_PATH so configure can find the newly installed library.

$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH}

Then proceed to follow the build instructions below.

Ubuntu 12.x Prerequisites

On recent Ubuntu versions, simply install all prerequisites as follows:

# apt-get install build-essential autoconf automake libpcre3-dev libevent-dev pkg-config

Building and installing

After downloading the source tree, use standard autoconf/automake commands::

$ autoreconf -ivf
$ ./configure
$ make
$ make install

Using memtier_benchmark

See the included manpage or run::

$ memtier_benchmark --help

for command line options.

githalytics.com alpha

About

NoSQL Redis and Memcache traffic generation and benchmarking tool.

Resources

License

Stars

Watchers

Forks

Packages

No packages published