Deploying a Highly Available Redis Sentinel Cluster with Docker

Redis Sentinel Architecture OverviewRedis Sentinel provides a robust high-availability solution for Redis instances. Unlike Redis Cluster, which handles data sharding across multiple masters, Sentinel focuses on monitoring, notification, and automatic failover for a single master-slave topology. The system monitors master and slave instances, n ...

Posted on Sun, 26 Jul 2026 17:08:32 +0000 by Harley1979

Deep Dive into Redis Configuration Parameters

Understanding the Core Redis Configuration File Redis behavior is controlled through the redis.conf file. This file defines everything from basic daemon settings to advanced memory management and replication policies. Below is a comprehensive guide organized by functional area. General Operation Settings # Run Redis as a daemon (background proc ...

Posted on Sun, 26 Jul 2026 16:25:44 +0000 by kfresh

Implementing JWT-Based Authentication and Authorization with Spring Security

This guide provides a comprehensive walkthrough for building robust authentication and authorization mechanisms using Spring Security with JWT tokens, Redis session storage, and database-backed user management. Core Concepts of Access Control Any system involving user participation requires access control mechanisms as part of its security arch ...

Posted on Sat, 25 Jul 2026 16:21:40 +0000 by THW

Redis Installation and Configuration Guide

Firewall Configuration To allow Redis traffic through the firewall, add a rule for port 6379: iptables -I INPUT -p tcp --dport 6379 -j ACCEPT service iptables save Installation Steps Navigate to the download directory: cd /usr/local/src Download the Redis source package (example version 3.2.9): wget http://download.redis.io/releases/red ...

Posted on Wed, 22 Jul 2026 16:53:15 +0000 by hyeteck

Redis Deployment Configurations: Standalone, Master-Slave, Sentinel, and Cluster

Standalone Configuraton Setup Redis Installation Download URL: http://redis.io/download Installation Steps: Install gcc compiler: yum install gcc Download and extract the redis-5.0.3.tar.gz file to /usr/local directory wget http://download.redis.io/releases/redis-5.0.3.tar.gz tar xzf redis-5.0.3.tar.gz cd redis-5.0.3 Navigate to the extract ...

Posted on Wed, 22 Jul 2026 16:53:04 +0000 by thechris

Understanding Redis Sentinel: Architecture, Communication, and Failover Process

Sentinel Overview Sentinel is a distributed system designed to monitor master-slave Redis deployments. When a master becomes unavailable, Sentinel automatically promotes a slave to master and redirects all other slaves to the new master. Core Capabilities Monitoring Continuously checks master and slave availability Detects master存活检测 and re ...

Posted on Mon, 20 Jul 2026 17:39:32 +0000 by gabo0303

Optimizing Book Ranking Systems with Redis and MySQL

MySQL Optimization Strategies For existing MySQL implementations, index optimization provides the highest return with minimal investment. A typical ranking query might look like: SELECT book_name, sales_count FROM books_sales WHERE category = 'Fantasy' AND date = 'specific_date' ORDER BY sales_count DESC LIMIT 10; Com ...

Posted on Mon, 20 Jul 2026 17:34:34 +0000 by dub

Redis Internal Storage Architecture and Data Structures

Redis Storage Structure Value Encoding Types Redis automatically selects the most efficient encoding format based on the characteristics of stored data: String int: String length ≤ 20 and convertible to integer raw: String length > 44 embstr: String length ≤ 44 List quicklist: Optimized linked list structure ziplist: Compressed list for ...

Posted on Thu, 16 Jul 2026 16:59:55 +0000 by jeff2007XP

Comprehensive Guide to Redis Configuration Parameters

Memory Units and General SettingsRedis configuration supports standard memory units. Units are case-insensitive, meaning 1GB, 1Gb, and 1gb are equivalent.1kb = 1024 bytes1k = 1000 bytes1mb = 1024*1024 bytes1m = 1000000 bytesBy default, Redis runs in the foreground. To run as a background daemon, modify the daemonize setting.daemonize yes pidfil ...

Posted on Tue, 14 Jul 2026 17:14:02 +0000 by hhheng

Core Redis Architecture, Data Structures, and Operational Patterns

Core Data Types and Internal Structures Redis supports five primary data structures, each optimized for specific use cases. Strings Binary-safe sequences capable of holding text, serialized objects, or binary data like images up to 512MB. They are the foundational type. SET user:name "Alice" GET user:name MSET user:age 30 user:city "NYC" INCR u ...

Posted on Mon, 13 Jul 2026 16:20:24 +0000 by tazgalsinh