You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vire编译:
$ git clone https://github.com/vipshop/vire.git
$ cd vire
$ autoreconf -fvi
$ ./configure
$ make
启动:
src/vire -c conf/vire.conf -o log -T 50
测试:
src/redis-benchmark -p 7379 -t set,get -n 300000 -q
结果:
SET: 68981.38 requests per second
GET: 69028.99 requests per second
2.redis编译
切换到redis-3.2分支
make
启动:
./redis-server
测试:
src/redis-benchmark -p 6379 -t set,get -n 300000 -q
结果:
SET: 72957.20 requests per second
GET: 72992.70 requests per second
vire编译:
$ git clone https://github.com/vipshop/vire.git
$ cd vire
$ autoreconf -fvi
$ ./configure
$ make
启动:
src/vire -c conf/vire.conf -o log -T 50
测试:
src/redis-benchmark -p 7379 -t set,get -n 300000 -q
结果:
SET: 68981.38 requests per second
GET: 69028.99 requests per second
2.redis编译
切换到redis-3.2分支
make
启动:
./redis-server
测试:
src/redis-benchmark -p 6379 -t set,get -n 300000 -q
结果:
SET: 72957.20 requests per second
GET: 72992.70 requests per second
在三个机器上测试都是这样的结果,测试数据有改变,但是趋势就是vire始终比redis慢一些,无论给vire多少个cpu都不行。
是不是测试方法有问题?
The text was updated successfully, but these errors were encountered: