How to Install and Use the Redis 6.0 Cluster Proxy
This guide explains the new Redis 6.0 cluster proxy feature, its purpose, and provides step‑by‑step instructions for installing, starting, and connecting to the proxy, including required GCC upgrades and example commands for a smooth setup.
Redis 6.0 introduces a cluster proxy that abstracts a Redis cluster as a single endpoint, allowing client multiplexing for simple commands.
Cluster Proxy
In a Redis cluster, clients are often scattered; the proxy consolidates them so they appear to communicate with a single instance.
Installation
git clone https://github.com/artix75/redis-cluster-proxy
cd redis-cluster-proxy
make installRequires GCC 4.9 or newer. On CentOS you can upgrade GCC with:
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/profileStartup
redis-cluster-proxy 172.17.0.111:7000The proxy listens on port 7777.
Usage
./redis-cli -h host -p 7777Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Java Architecture Diary
Committed to sharing original, high‑quality technical articles; no fluff or promotional content.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
