Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

比redis还慢啊,白折腾了? #10

@xww

Description

@xww

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都不行。

是不是测试方法有问题?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions