Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README
main.go

README

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