Redis 6.0 release notes = = = = = = = = = = = = = = = = = = = = = = = Upgrade urgency LOW: This is the first RC of Redis 6. Introduction to the Redis 6 release =================================== Redis 6 improves Redis in a number of key areas and is one of the largest Redis releases in the history of the project, so here we'll list only the biggest features in this release: * A Redis Cluster proxy was released here: https://github.com/artix75/redis-cluster-proxyCopy the code
The cluster agent
The redis Cluster Proxy module is added to the above redis 6.0 release log. In a Redis cluster, clients can be very fragmented, and a cluster agent has been introduced that abstracts the Redis cluster for clients as if it were talking to a single instance. Multiplexing is also performed when simple and the client uses only simple commands and functions.
The installation
git clone https://github.com/artix75/redis-cluster-proxy
cd redis-cluster-proxy
make installCopy the code
Ps: Depends on GCC 4.9 or later
To upgrade the GCC
yum -y install centos-release-scl
yum -y install devtoolset-6-gcc devtoolset-6-gcc-c++ devtoolset-6-binutils
scl enable devtoolset-6 bash
echo "source /opt/rh/devtoolset-6/enable" >>/etc/profileCopy the code
Start the
Redis cluster - proxy 172.17.0.111:7000Copy the code
- Redis cluster – proxy to monitor
7777
use
./redis-cli -h host -p 7777Copy the code