package
0.0.0-20181207142156-3d480539f84d
Repository: https://github.com/valyala/ybc.git
Documentation: pkg.go.dev
# 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