Databases 2 min read

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.

Java Architecture Diary
Java Architecture Diary
Java Architecture Diary
How to Install and Use the Redis 6.0 Cluster Proxy

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 install

Requires 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/profile

Startup

redis-cluster-proxy 172.17.0.111:7000

The proxy listens on port 7777.

Usage

./redis-cli -h host -p 7777
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

BackenddatabaseredisInstallationCluster‑Proxy
Java Architecture Diary
Written by

Java Architecture Diary

Committed to sharing original, high‑quality technical articles; no fluff or promotional content.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.