Multithread redis
vire (pronounced “vip-redis”) is a multithread redis(based on redis-3.2.0) maintains in vipshop.
Please install automake, libtool, autoconf and bzip2 at first.
To build vire from source with debug logs enabled and assertions enabled:
$ git clone https://github.com/vipshop/vire.git
$ cd vire
$ autoreconf -fvi
$ ./configure --enable-debug=full
$ make
$ src/vire -h
A quick checklist:
autoreconf -fvi && ./configure
needs automake
and libtool
to be installed
$ src/vire -c conf/vire.conf -o log -T 6 -d
Usage: vire [-?hVdt] [-v verbosity level] [-o output file]
[-c conf file] [-p pid file]
[-T worker threads number]
Options:
-h, --help : this help
-V, --version : show version and exit
-t, --test-conf : test configuration for syntax errors and exit
-d, --daemonize : run as a daemon
-v, --verbose=N : set logging level (default: 5, min: 0, max: 11)
-o, --output=S : set logging file (default: stderr)
-c, --conf-file=S : set configuration file (default: conf/vire.conf)
-p, --pid-file=S : set pid file (default: off)
-T, --thread_num=N : set the worker threads number (default: 6)
Copyright © 2016 VIPSHOP Inc.
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0