Files
Latest commit
memcached-bench
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
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