Tagged articles
Redis Cluster
28 articles · Page 1 of 1
This article details 12 critical technical challenges when building a custom Redis-based distributed session system, covering token security, dual-index design, atomic Lua writes, expiration strategies, multi-device limits, renewal optimization, ThreadLocal cleanup, HA degradation, framework comparison, anomaly detection, and Redis Cluster hash-tag routing.
High AvailabilityLua scriptingMulti-Device Login
0 likes · 31 min read

The article breaks down Redis‑Cluster failover into detection, election, failover, and client perception stages, explains the timing bottlenecks of each, and provides concrete server‑side and Lettuce client configurations that shrink end‑to‑end recovery to under ten seconds.
FailoverHigh AvailabilityLettuce
0 likes · 7 min read

Redis Cluster enforces a single database (DB 0) because its slot‑based sharding model relies on a global 16,384‑slot map, and supporting multiple databases would break slot consistency, migration, and scalability, so developers must use key prefixes, separate instances, or multiple clusters to achieve logical isolation.
DB0Distributed ConsistencyKey Prefix
0 likes · 7 min read

This article provides a comprehensive production guide for Redis Cluster, covering cluster selection, hash slot principles, data skew solutions for big and hot keys, scaling strategies, master-slave replication latency handling, failure scenarios like split-brain, and a 7-point checklist with a real e-commerce case study.
Big KeyCaffeineData Skew
0 likes · 13 min read

This guide walks through setting up a Redis Cluster with three master and three replica nodes on Rocky 9.7 VMs, covering environment preparation, source compilation, configuration files, service creation, cluster creation, verification, and production‑grade tuning.
High AvailabilityLinuxRedis
0 likes · 16 min read

This article explains how to architect a high‑traffic e‑commerce shopping‑cart system that serves tens of millions of users by using a process‑chain engine, Redis Cluster as the primary store, asynchronous persistence to MySQL, and a modular design that supports multiple cart types while ensuring consistency and scalability.
Asynchronous PersistenceProcess Chain EngineRedis Cluster
0 likes · 20 min read

This article outlines a multi‑level cache system for handling over a million QPS, detailing the architecture from client to database, key components like Caffeine and Redis Cluster, and providing concrete code examples for read‑through and write‑through flows.
CaffeineRedis Clustercache architecture
0 likes · 5 min read

Redis Cluster can lose writes due to asynchronous replication, network partitions, inadequate persistence settings, or unconfirmed client operations, but enabling AOF, configuring replication acknowledgments, using Sentinel or built‑in HA, and adding client retry logic can mitigate these risks, as demonstrated with a Java Jedis example.
AOFJavaJedis
0 likes · 7 min read

The article examines the fundamental limitations of consistent hashing—its inability to preserve data locality, support range queries, and handle topology awareness—explaining why major storage systems such as Redis Cluster, TiDB, Ceph, and HBase have adopted alternative sharding strategies like hash slots, range partitioning, and CRUSH.
CRUSHCephConsistent Hashing
0 likes · 45 min read

The article outlines five Redis deployment patterns—from a single‑instance setup to official Redis Cluster—detailing their architectures, advantages, drawbacks, and suitable scenarios, helping engineers choose the right solution for scalability, high availability, and operational complexity.
Consistent HashRedis ClusterSharding
0 likes · 8 min read

This article explains the CAP and BASE theorems, compares consistency, availability and partition tolerance, and analyzes how MySQL replication modes, Redis Cluster, and Elasticsearch clusters fit into CP, AP or BASE models to help you choose the appropriate consistency strategy for distributed systems.
BASE theoremCAP theoremElasticsearch
0 likes · 9 min read

This article explains how Redis limits memory with the maxmemory setting, how to view and modify it, details the available eviction strategies—including the newer LFU policies—and offers guidance on choosing a policy, monitoring usage, and scaling with Redis Cluster.
CachingRedis Clustereviction policy
0 likes · 7 min read

This article analyzes why Lettuce's mget on Redis Cluster performs poorly due to slot-based architecture, presents client-side refactoring using hashtags and pipeline‑based JedisCluster modifications, and shows benchmark results demonstrating up to double speed improvement over Lettuce.
JedisClusterLettuceMGET
0 likes · 12 min read

This article explains Redis master‑slave replication, its configuration and failure handling, the automatic failover provided by Redis Sentinel, the proxy‑based Codis sharding solution, and the native Redis Cluster architecture, including slot hashing, redirection, and replica promotion.
CodisHigh AvailabilityRedis
0 likes · 31 min read

Undermoon is an open‑source system that implements a self‑managing Redis cluster using the Redis Cluster protocol, offering horizontal scalability, high availability, HTTP‑API management, automatic master‑replica failover, and rapid expansion, with its architecture detailed across metadata storage, coordinator, storage cluster, and chunk components.
ChunkCoordinatorMetadata Storage
0 likes · 4 min read

The article explains how the Rust‑based Undermoon project implements the Redis Cluster Protocol using a server‑side proxy, detailing the protocol’s responsibilities, the advantages of this approach over traditional proxies, and providing step‑by‑step commands and code examples for deployment.
RedisRedis ClusterRust
0 likes · 5 min read

This article introduces Redis, explains its advantages, describes Redis Cluster architecture, and provides a detailed, hands‑on tutorial for deploying a Redis Cluster on Kubernetes using StatefulSets, PersistentVolumes, services, and a sample hit‑counter application, complete with configuration files and verification commands.
KubernetesRedisRedis Cluster
0 likes · 15 min read

This guide introduces AnotherRedisDesktopManager, a free and visually appealing Redis GUI that supports cluster connections, walks through installation from GitHub, explains key features such as dark mode, command console, and versatile data operations for strings, lists, and hashes, and demonstrates practical cluster usage.
AnotherRedisDesktopManagerDatabase ToolsGUI
0 likes · 5 min read

This article demonstrates how to set up a Redis cluster, connect it with Spring Boot 2.3 using Lettuce, simulate a node failure, and configure Spring Boot's adaptive topology refresh to achieve automatic failover without application downtime.
Adaptive RefreshFailoverLettuce
0 likes · 9 min read

This article explains the design of Redis Cluster, the challenges of migrating clients, and how the Camellia-Redis-Proxy middleware—built with Netty—provides transparent proxying, sharding, dual‑write, plugin support, and performance optimizations such as multithreading, async I/O, pipelining, and robust error handling.
JavaRedisRedis Cluster
0 likes · 11 min read

This guide walks you through setting up a six-node Redis cluster using Docker Compose, configuring the necessary redis.conf settings, deploying the containers, initializing the cluster, and then integrating the cluster into a SpringBoot application via appropriate application.yml configurations and connection commands.
DockerDocker ComposeRedis
0 likes · 8 min read

This article explains why Spring Boot 2.0 replaced the Jedis Redis client with Lettuce, highlighting Lettuce’s netty‑based architecture, thread‑safe shared connections, asynchronous and reactive support, seamless Redis Sentinel and Cluster integration, SSL, streaming API, and provides code examples for both blocking and async usage.
JavaLettuceNetty
0 likes · 4 min read

This article examines 360’s explosive KV storage demand and compares three solutions—Redis, Redis Cluster, and Pika—detailing their features, performance, persistence options, eviction policies, architectures, migration tools, and ideal usage scenarios for high‑traffic, large‑scale applications.
KV storagePikaRedis
0 likes · 17 min read

This article examines the performance challenges of a 700‑node Redis Cluster used by Youku, analyzes bandwidth and latency impacts of cluster communication, and presents practical tuning methods—including adjusting cluster‑node‑timeout, reducing replicas, disabling AOF, limiting cluster‑nodes commands, and tuning the hz parameter—to improve throughput and stability in massive Redis deployments.
Redis Clusterhigh-availabilityperformance
0 likes · 13 min read

This article shares VIPShop's extensive production experience with Redis Cluster, covering use cases, storage architecture evolution, detailed best‑practice guidelines, common pitfalls, operational automation, monitoring strategies, and useful open‑source tools for large‑scale deployments.
OperationsRedis Clusterbest-practices
0 likes · 19 min read

This guide explains why the official Redis Cluster tools lack password support, outlines the security risks of an unauthenticated cluster, and introduces a custom management utility that adds password authentication, automates slot migration, and simplifies adding or removing nodes, complete with step‑by‑step testing procedures.
RedisRedis Clustercluster management
0 likes · 8 min read

This article explains the concept, benefits, methods, and practical considerations of partitioning data across multiple Redis instances, covering range and hash partitioning, consistent hashing, implementation options, drawbacks, and recommended tools such as Redis Cluster and Twemproxy.
Consistent HashingPartitioningRedis
0 likes · 11 min read

The article records a Q&A session from the Efficient Operations talk, where guest Peng Zhef of Mango TV discusses Docker, Redis Cluster, container resource controls, and related operational challenges, providing practical insights into Python/Flask development, pod scaling, and Linux cgroup tuning.
FlaskOperationsPython
0 likes · 8 min read
