Skip to content

Files

Latest commit

3e231fb · Aug 19, 2014

History

History

memcached-bench

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 19, 2014
Aug 15, 2014
Benchmark tool for servers supporting memcache protocol.

Supports simultaneous benchmarking of multiple servers.
Allows comparing two memcache implementations:

  * https://github.com/bradfitz/gomemcache/tree/master/memcache (clientType=original)
  * https://github.com/valyala/ybc/tree/master/libs/go/memcache (clientType=new)

For clientType=original the following sysctl may be useful:

  # sysctl -w net.ipv4.tcp_tw_recycle=1

------------------------
How to build and run it?

$ sudo apt-get install golang
$ go get -u github.com/valyala/ybc/apps/go/memcached-bench
$ go build -tags release github.com/valyala/ybc/apps/go/memcached-bench
$ ./memcached-bench -help