Install Redis Register Center

Redis 1 introductions, please refer to: Redis application center manual.

you need an origin Redis server only, and change the value from dubbo.registry.address to redis://127.0.0.1:6379 in conf/dubbo.properties of quick start

Redis configuration center cluster 2 write multiple server in client side and read from a single server.

Install:

wget http://redis.googlecode.com/files/redis-2.4.8.tar.gz
tar xzf redis-2.4.8.tar.gz
cd redis-2.4.8
make

Configuration:

vi redis.conf

Start:

nohup ./src/redis-server redis.conf &

Stop:

killall redis-server
  • Command line 3:
./src/redis-cli
hgetall /dubbo/com.foo.BarService/providers

Or:

telnet 127.0.0.1 6379
hgetall /dubbo/com.foo.BarService/providers

  1. Redis is a high performance KV store server, please refer to: http://redis.io/topics/quickstart ↩︎

  2. Support for version 2.1.0 and higher ↩︎

  3. Please refer to: http://redis.io/commands ↩︎


Last modified December 22, 2020: clean up website (6e41905afa)