Ilya Bylich

Page 2


Redis cluster. Quick overview

Today I’ve tested version 3.0.0 of Redis server with includes Redis cluster. Here are some first thoughts about this.

Setup

Here are my servers:

 212.71.252.54  / 192.168.171.141 / node1
 176.58.103.254 / 192.168.171.142 / node2
 178.79.153.89  / 192.168.173.227 / node3

Local hosts (on each server):

 local hosts
192.168.171.141 node1
192.168.171.142 node2
192.168.173.227 node3

And remote (on my PC):

 remote hosts
212.71.252.54  node1
176.58.103.254 node2
178.79.153.89  node3

First of all, let’s download and extract it (on each node).

mkdir build && cd build
wget http://download.redis.io/releases/redis-3.0.0.tar.gz
tar -xvzf redis-3.0.0.tar.gz
cd redis-3.0.0/

Now we can build it

apt-get install -y make gcc build-essential
make MALLOC=libc  also jemalloc can be used

Now let’s run tests

apt-get install -y tk8.5 tcl8.5
make test
 a lot of output, should be green

Then we...

Continue reading →