Tagged articles
3240 articles
Page 25 of 33
Programmer DD
Programmer DD
Dec 6, 2020 · Databases

Master Redis Interview: Persistence, Caching Strategies, Clustering & More

This comprehensive guide covers essential Redis interview topics, including persistence mechanisms (RDB and AOF), cache challenges such as avalanche, penetration and pre‑warming, data types and their use cases, internal structures, eviction policies, single‑thread performance, clustering solutions, distributed locking, transactions, and best practices for high‑traffic environments.

Persistencecachingclustering
0 likes · 25 min read
Master Redis Interview: Persistence, Caching Strategies, Clustering & More
Architect
Architect
Dec 5, 2020 · Backend Development

High‑Concurrency Ticket Spike System Architecture and Implementation with Nginx, Redis, and Go

The article analyzes the extreme‑traffic challenges of China’s 12306 ticket‑spike service, presents a layered load‑balancing architecture using OSPF, LVS, and Nginx weighted round‑robin, and demonstrates a Go‑based prototype that combines local in‑memory stock deduction with Redis‑backed global stock control to achieve stable, high‑throughput ticket purchasing without overselling.

GoNginxhigh concurrency
0 likes · 20 min read
High‑Concurrency Ticket Spike System Architecture and Implementation with Nginx, Redis, and Go
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 3, 2020 · Databases

Manual Setup of a Redis Cluster on macOS

This article provides a step‑by‑step guide for manually building a six‑node Redis cluster on macOS, detailing environment setup, configuration changes, node startup, slot allocation, and converting master nodes to slaves, with screenshots and command examples.

ClusterTutorialdatabase
0 likes · 6 min read
Manual Setup of a Redis Cluster on macOS
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 1, 2020 · Databases

Analysis of Redis Master‑Slave Replication and Cluster Working Principles

This article explains the mechanisms of Redis master‑slave data synchronization—including full and partial resynchronization—details the internal workings of Redis clustering, slot assignment, automatic node detection, and failover recovery, and provides practical insights for building reliable Redis deployments.

ClusterReplicationdata synchronization
0 likes · 12 min read
Analysis of Redis Master‑Slave Replication and Cluster Working Principles
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 1, 2020 · Databases

Why Redis Dominates Modern Caching: Features, Architecture, and Best Practices

Redis, an in‑memory C‑language database, offers ultra‑fast read/write speeds, rich data structures, persistence, clustering, and multi‑threaded I/O, making it ideal for distributed caching, locks, queues, and more; this guide explains its fundamentals, comparisons with Memcached, data types, eviction policies, and operational best practices.

CacheData Structuresdatabase
0 likes · 36 min read
Why Redis Dominates Modern Caching: Features, Architecture, and Best Practices
Laravel Tech Community
Laravel Tech Community
Nov 30, 2020 · Databases

Eight Redis Data Types and Their Core Commands

This article introduces Redis's eight fundamental data types—String, List, Set, Hash, Sorted Set, Geospatial, HyperLogLog, and Bitmap—explaining their characteristics, typical use‑cases, and providing concrete command‑line examples that demonstrate creation, manipulation, and querying of each type.

Data Typescommandsdatabase
0 likes · 22 min read
Eight Redis Data Types and Their Core Commands
System Architect Go
System Architect Go
Nov 30, 2020 · Databases

Five Ways to Sync MySQL Data to Elasticsearch, Redis, MQ, etc.

This article outlines five practical methods for synchronizing MySQL data to external systems such as Elasticsearch, Redis, and message queues, covering business‑layer hooks, middleware integration, scheduled tasks using updated_at, binlog parsing with ROW format, and handling mixed or statement binlog formats, plus open‑source tools.

BinlogElasticsearchKafka
0 likes · 5 min read
Five Ways to Sync MySQL Data to Elasticsearch, Redis, MQ, etc.
New Oriental Technology
New Oriental Technology
Nov 30, 2020 · Backend Development

Five Implementation Approaches for Delayed Messages in Message Queues

This article explains the concept and common use cases of delayed messages and compares five practical implementation methods—using Redis sorted sets, RabbitMQ delayed‑message exchange plugin, ActiveMQ scheduled messages, RocketMQ fixed delay levels, and a custom RocketMQ solution—detailing their workflows, advantages, and drawbacks.

ActiveMQMessage QueueRabbitMQ
0 likes · 19 min read
Five Implementation Approaches for Delayed Messages in Message Queues
Code Ape Tech Column
Code Ape Tech Column
Nov 30, 2020 · Backend Development

Master Redis: Persistence, Caching Pitfalls, Clustering & Performance Tips

This article provides a comprehensive guide to Redis for interview preparation, covering persistence mechanisms, common caching challenges such as avalanche and penetration, data types and their use cases, internal structures, expiration policies, single‑threaded performance, clustering options, distributed locking, and best‑practice solutions.

Data TypesPersistencecaching
0 likes · 27 min read
Master Redis: Persistence, Caching Pitfalls, Clustering & Performance Tips
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 29, 2020 · Databases

Understanding Redis Expiration Strategies, RDB, and AOF Implementation

This article explains Redis's cache expiration policies—including timed, periodic, and lazy eviction—details the internal structure and parsing of RDB files, and describes the AOF persistence mechanism with its write‑ahead logging, synchronization options, and rewrite process, providing a comprehensive view of Redis data durability.

AOFCacheData Persistence
0 likes · 11 min read
Understanding Redis Expiration Strategies, RDB, and AOF Implementation
Ops Development Stories
Ops Development Stories
Nov 27, 2020 · Operations

How to Monitor Redis with Zabbix Agent2: A Complete Guide

This article explains how to use Zabbix Agent2 to monitor Redis, covering the plugin's architecture, configuration priority, methods for retrieving INFO, CONFIG, health status, and slow‑query logs, as well as practical steps to set up the Redis template in Zabbix.

Agent2DevOpsOperations
0 likes · 9 min read
How to Monitor Redis with Zabbix Agent2: A Complete Guide
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 25, 2020 · Databases

Redis Basics: Overview, Installation, and Common Commands

This article introduces Redis as a high‑performance, in‑memory NoSQL database, explains why learning it is valuable, provides step‑by‑step installation instructions, and presents essential commands for keys, strings, lists, sets, sorted sets, and hashes with practical code examples.

InstallationNoSQLcommands
0 likes · 10 min read
Redis Basics: Overview, Installation, and Common Commands
Code Ape Tech Column
Code Ape Tech Column
Nov 24, 2020 · Databases

Understanding Redis Persistence: A Deep Dive into AOF and RDB

This article explains Redis's two persistence mechanisms—AOF (Append Only File) and RDB (snapshot)—detailing their concepts, write‑back strategies, rewrite process, performance trade‑offs, snapshot handling, copy‑on‑write technique, incremental snapshots, and the benefits of combining both approaches.

AOFCopy-on-WriteHybrid
0 likes · 14 min read
Understanding Redis Persistence: A Deep Dive into AOF and RDB
macrozheng
macrozheng
Nov 20, 2020 · Operations

How Redis Achieves High Availability: A Story of Replication and Failover

This article narrates how Redis, personified as a character, synchronizes data between master and slave nodes through command propagation, adopts improved sync strategies, and uses Sentinel's INFO and PING checks to detect failures and automatically trigger failover, illustrating a practical high‑availability cache service.

Replicationfailoverredis
0 likes · 4 min read
How Redis Achieves High Availability: A Story of Replication and Failover
Efficient Ops
Efficient Ops
Nov 18, 2020 · Databases

Mastering Redis Persistence: RDB vs AOF Explained

This article provides a comprehensive guide to Redis persistence mechanisms, detailing how RDB snapshots and AOF logs work, how to configure and use them, their advantages and drawbacks, and how to choose the right approach for reliable data storage.

AOFNoSQLPersistence
0 likes · 12 min read
Mastering Redis Persistence: RDB vs AOF Explained
dbaplus Community
dbaplus Community
Nov 16, 2020 · Cloud Native

How Xiaomi Scaled Redis with Kubernetes: Resource Isolation, Automation, and Proxy Design

This article details Xiaomi's migration of tens of thousands of Redis instances from physical servers to Kubernetes, explaining the motivations for containerization, the deployment architecture with StatefulSets and a custom Redis Proxy, performance comparisons of proxy options, operational challenges, and the resulting benefits in resource utilization, automation, and service stability.

KubernetesProxyResource Isolation
0 likes · 18 min read
How Xiaomi Scaled Redis with Kubernetes: Resource Isolation, Automation, and Proxy Design
Architect's Tech Stack
Architect's Tech Stack
Nov 13, 2020 · Databases

How to Safely Scan Large Redis Keyspaces with the SCAN Command

This article explains why using the KEYS command on massive Redis datasets can cause service blockage, analyzes the underlying O(n) traversal cost, and demonstrates how the incremental SCAN command with cursor, MATCH, and COUNT options provides a non‑blocking alternative for efficiently iterating keys.

SCANkey managementperformance
0 likes · 5 min read
How to Safely Scan Large Redis Keyspaces with the SCAN Command
Laravel Tech Community
Laravel Tech Community
Nov 10, 2020 · Backend Development

Implementing User Check‑In Feature: MySQL vs Redis Bitmap Approaches

This article examines common techniques for implementing a user check‑in function in web and mobile applications, comparing a straightforward MySQL table solution with a Redis bitmap approach, detailing the data structures, code examples, workflow, and the advantages and disadvantages of each method.

Bitmapbackend-developmentcheck-in
0 likes · 6 min read
Implementing User Check‑In Feature: MySQL vs Redis Bitmap Approaches
ITPUB
ITPUB
Nov 9, 2020 · Backend Development

Why Distributed Locks Matter: Solving Inventory Oversell with Redis and Zookeeper

The article explains how a single‑machine Java lock can cause inventory oversell in a distributed e‑commerce system, introduces the concept of a global distributed lock, and compares practical implementations using Redis (including RedLock and Redisson) and Zookeeper (with Curator), highlighting their trade‑offs and selection guidelines.

ZooKeeperdistributed-lockredis
0 likes · 17 min read
Why Distributed Locks Matter: Solving Inventory Oversell with Redis and Zookeeper
php Courses
php Courses
Nov 5, 2020 · Backend Development

Installing and Configuring the PHP Redis Extension for a Historical Search Queue

This guide walks through checking your PHP configuration, downloading the appropriate Redis extension, installing it, updating php.ini, verifying the installation, starting the Redis service, and shows the core template and PHP server code needed to implement a historical search queue using Redis.

Extension InstallationPHPQueue
0 likes · 2 min read
Installing and Configuring the PHP Redis Extension for a Historical Search Queue
Programmer DD
Programmer DD
Nov 4, 2020 · Databases

7 Essential Linux Tweaks to Supercharge Redis Performance

This guide explains seven critical Linux operating‑system settings—memory overcommit, swappiness, Transparent Huge Pages, OOM killer, NTP synchronization, ulimit, and TCP backlog—that together ensure Redis runs reliably and at peak speed.

Memory ManagementOS Tuningdatabase
0 likes · 14 min read
7 Essential Linux Tweaks to Supercharge Redis Performance
php Courses
php Courses
Nov 2, 2020 · Backend Development

Implementing a Redis Multi-Database Singleton Wrapper in ThinkPHP

This guide demonstrates how to set up a Redis multi-database singleton wrapper in a ThinkPHP project, covering prerequisite installation, configuration of connection parameters, creation of a custom Redis class with static instance management, and example usage of Redis commands across different databases.

BackendCachePHP
0 likes · 3 min read
Implementing a Redis Multi-Database Singleton Wrapper in ThinkPHP
php Courses
php Courses
Nov 2, 2020 · Backend Development

Using Laravel's RedisLock to Prevent Cache Breakdown

This article explains the cache breakdown problem, introduces Laravel 7's built‑in RedisLock class, details its constructor parameters, and provides a complete code example demonstrating how to acquire and release a Redis lock to safely populate and update cached data.

BackendCacheLaravel
0 likes · 3 min read
Using Laravel's RedisLock to Prevent Cache Breakdown
Efficient Ops
Efficient Ops
Nov 1, 2020 · Databases

Why Is Redis Slowing Down? Diagnose and Fix Common Latency Issues

This article explains the typical reasons behind Redis latency spikes—such as complex commands, big keys, concentrated expirations, memory limits, fork overhead, CPU binding, AOF settings, swap usage, and network overload—and provides practical steps and monitoring techniques to identify and resolve each problem.

BigKeyLatencySlowlog
0 likes · 18 min read
Why Is Redis Slowing Down? Diagnose and Fix Common Latency Issues
Programmer DD
Programmer DD
Nov 1, 2020 · Backend Development

What’s New in Spring Data Ockham (2020.0.0) Release?

The October 2020 Spring Data Ockham (2020.0.0) release introduces a new version‑naming scheme, updates to Spring Data Neo4j, JDBC, R2DBC, Redis, adds RxJava 3 and De‑lombok support, and outlines compatibility notes for Spring Boot 2.4 and Neo4j users.

Neo4jOckhamSpring Boot
0 likes · 3 min read
What’s New in Spring Data Ockham (2020.0.0) Release?
Selected Java Interview Questions
Selected Java Interview Questions
Oct 29, 2020 · Databases

Advanced Redis Operations: Pipeline, Transactions, Pub/Sub, Key Migration, and Scanning

This article provides a comprehensive guide to advanced Redis operations, covering pipeline usage, transaction handling, publish/subscribe mechanisms, key migration techniques, custom command implementation with Jedis, and efficient key scanning methods, complete with code examples and performance comparisons.

Key MigrationPipelinePubSub
0 likes · 16 min read
Advanced Redis Operations: Pipeline, Transactions, Pub/Sub, Key Migration, and Scanning
JavaEdge
JavaEdge
Oct 24, 2020 · Databases

Mastering Redis Cluster: Scaling, Routing, and Fault Tolerance Explained

This article explains why Redis clusters are needed, how CLUSTER MEET builds the network, slot assignment, scaling procedures, client redirection mechanisms, batch operations, fault detection, recovery processes, and common operational pitfalls, providing practical guidance for building and maintaining a robust Redis Cluster deployment.

Clusterfault toleranceredis
0 likes · 22 min read
Mastering Redis Cluster: Scaling, Routing, and Fault Tolerance Explained
Programmer DD
Programmer DD
Oct 23, 2020 · Databases

Mastering Redis Lua Scripting: Essential Syntax and Best Practices

This article explains how Redis introduced Lua scripting to combine multiple commands atomically, covers Lua basics, data types, control structures, script execution with EVAL/EVALSHA, script management commands, and practical tips for writing efficient, safe Redis Lua scripts.

CacheLuaScripting
0 likes · 14 min read
Mastering Redis Lua Scripting: Essential Syntax and Best Practices
Programmer DD
Programmer DD
Oct 23, 2020 · Databases

Auto‑Close Unpaid Orders with Redis Key Expiration Events in Spring Boot

This guide explains how to use Redis key expiration notifications in a Spring Boot application to automatically close unpaid orders by storing an order‑ID key with a TTL, configuring Redis to emit expiration events, and implementing a listener that updates order status when the key expires.

Key ExpirationOrder ManagementSpring Boot
0 likes · 6 min read
Auto‑Close Unpaid Orders with Redis Key Expiration Events in Spring Boot
Top Architect
Top Architect
Oct 21, 2020 · Backend Development

Design and Technical Solutions for a High‑Concurrency Flash Sale System

This article examines the challenges of building a flash‑sale (秒杀) system—such as overselling, high concurrency, request throttling, and database strain—and presents a comprehensive backend design using separate databases, dynamic URLs, static pages, Redis clustering, Nginx, token‑bucket rate limiting, asynchronous order processing, and service degradation strategies.

asynchronous processingbackend designflash sale
0 likes · 15 min read
Design and Technical Solutions for a High‑Concurrency Flash Sale System
Laravel Tech Community
Laravel Tech Community
Oct 20, 2020 · Databases

Analyzing and Troubleshooting Redis Latency Issues

This article explains common causes of Redis latency spikes, such as high‑complexity commands, large keys, concentrated expirations, memory limits, fork overhead, CPU binding, AOF settings, swap usage, and network saturation, and provides step‑by‑step troubleshooting commands and best‑practice recommendations.

AOFLarge KeysLatency
0 likes · 18 min read
Analyzing and Troubleshooting Redis Latency Issues
DevOps Cloud Academy
DevOps Cloud Academy
Oct 19, 2020 · Cloud Native

Step‑by‑Step Guide to Deploy Spinnaker with Halyard on Kubernetes Using External Redis and MySQL

This guide walks through the complete deployment of Spinnaker on Kubernetes using Halyard, covering architecture analysis, preparation of Redis, MySQL and MinIO, container image retrieval, BOM preparation, Halyard configuration, external Redis and SQL database integration, authentication, canary analysis, monitoring, and additional settings.

DevOpsHalyardci/cd
0 likes · 24 min read
Step‑by‑Step Guide to Deploy Spinnaker with Halyard on Kubernetes Using External Redis and MySQL
Selected Java Interview Questions
Selected Java Interview Questions
Oct 17, 2020 · Databases

Redis Interview Questions and Answers: Persistence, Caching Issues, Data Types, Clustering, and More

This article provides a comprehensive overview of Redis interview topics, covering persistence mechanisms, cache avalanche and penetration problems, hot and cold data concepts, differences from Memcached, single‑thread performance, data structures, expiration policies, clustering solutions, distributed locks, transactions, and practical troubleshooting tips.

Data TypesPersistencecaching
0 likes · 23 min read
Redis Interview Questions and Answers: Persistence, Caching Issues, Data Types, Clustering, and More
Java Captain
Java Captain
Oct 16, 2020 · Backend Development

Understanding Redis Cache Issues: Penetration, Breakdown, and Avalanche

This article explains the three major Redis cache problems—cache penetration, cache breakdown, and cache avalanche—describes their causes, illustrates solutions such as empty-object caching, Bloom filters, locking, and provides practical code examples and mitigation strategies.

Cachebackend-developmentbloom-filter
0 likes · 11 min read
Understanding Redis Cache Issues: Penetration, Breakdown, and Avalanche
Programmer DD
Programmer DD
Oct 9, 2020 · Operations

Why Is Redis Slowing Down? 7 Common Latency Culprits and How to Fix Them

This article examines the typical reasons Redis latency spikes—such as high‑complexity commands, big keys, concentrated expirations, memory limits, fork overhead, CPU binding, AOF settings, swap usage, and network saturation—and provides practical diagnostics and mitigation steps to keep Redis responsive.

BigKeyLatencySlowlog
0 likes · 17 min read
Why Is Redis Slowing Down? 7 Common Latency Culprits and How to Fix Them
MaGe Linux Operations
MaGe Linux Operations
Oct 5, 2020 · Backend Development

Redis vs Memcached: Which In‑Memory Database Fits Your Backend?

This article compares Redis and Memcached across thread models, data structures, eviction policies, pipelines, persistence, high availability, and clustering, helping developers choose the most suitable in‑memory database for their specific workload and performance requirements.

In-Memory DatabaseMemcachedcaching
0 likes · 10 min read
Redis vs Memcached: Which In‑Memory Database Fits Your Backend?
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Oct 3, 2020 · Databases

Why Is Redis Slowing Down? Common Causes and How to Diagnose Them

This article explains the typical reasons for Redis latency spikes—including complex commands, large keys, expiration bursts, memory limits, fork overhead, AOF settings, swap usage, and network saturation—and provides practical steps and commands to identify and mitigate each issue.

LatencyOperationsdatabase
0 likes · 18 min read
Why Is Redis Slowing Down? Common Causes and How to Diagnose Them
Top Architect
Top Architect
Oct 2, 2020 · Databases

Redis Performance Degradation: Common Latency Issues, Diagnosis, and Optimization

This article explains why Redis can become slow, covering typical latency causes such as high‑complexity commands, large keys, concentrated expirations, memory limits, fork overhead, CPU binding, AOF settings, swap usage, and network saturation, and provides practical troubleshooting steps and best‑practice recommendations.

Latencybest-practicesmonitoring
0 likes · 24 min read
Redis Performance Degradation: Common Latency Issues, Diagnosis, and Optimization
Java Architect Essentials
Java Architect Essentials
Oct 2, 2020 · Backend Development

Handling Cache Penetration, Breakdown, and Avalanche in Backend Systems

This article explains the three major cache issues—penetration, breakdown, and avalanche—describes why they occur in high‑traffic systems, and presents four practical mitigation strategies including Bloom filters, short‑lived empty caches, distributed mutex locks with Redis or Memcache, and resource isolation with Hystrix.

BackendCachecache-breakdown
0 likes · 9 min read
Handling Cache Penetration, Breakdown, and Avalanche in Backend Systems
Architect's Tech Stack
Architect's Tech Stack
Sep 30, 2020 · Backend Development

Implementing API Idempotency with Redis Token Mechanism in Spring Boot

This article explains the concept of API idempotency, reviews common solutions, and provides a complete Spring Boot implementation using a Redis‑based token mechanism, custom @ApiIdempotent annotation, interceptor, and supporting services, along with testing and important concurrency considerations.

APIIdempotencyInterceptor
0 likes · 14 min read
Implementing API Idempotency with Redis Token Mechanism in Spring Boot
Laravel Tech Community
Laravel Tech Community
Sep 27, 2020 · Databases

Using MySQL for Persistent Data and Redis for Read‑Only Data: Consistency Strategies and High‑Concurrency Solutions

The article explains how MySQL stores persistent data while Redis serves read‑only data, outlines read/write request handling, discusses consistency issues in low and high concurrency scenarios, and provides practical solutions such as cache invalidation, queue‑based updates, and deployment considerations.

Data ConsistencyQueuecaching
0 likes · 6 min read
Using MySQL for Persistent Data and Redis for Read‑Only Data: Consistency Strategies and High‑Concurrency Solutions
Java Architecture Diary
Java Architecture Diary
Sep 27, 2020 · Backend Development

Boost Spring Boot Performance with Multi‑Level Caffeine‑Redis Cache

This article explains why a multi‑level cache combining JVM‑level Caffeine and distributed Redis is essential for modern Spring Boot applications, outlines design challenges, provides step‑by‑step integration instructions, and demonstrates performance gains with benchmark results and core implementation code.

CacheSpring Bootmultilevel cache
0 likes · 6 min read
Boost Spring Boot Performance with Multi‑Level Caffeine‑Redis Cache
Programmer DD
Programmer DD
Sep 27, 2020 · Databases

How Redis Sentinel Guarantees Automatic Failover and High Availability

This article explains how Redis Sentinel provides automatic failover and high availability by using master‑slave replication, multiple Sentinel nodes, consensus‑based leader election, and client notification mechanisms to ensure continuous service despite node failures.

Replicationdatabasefailover
0 likes · 11 min read
How Redis Sentinel Guarantees Automatic Failover and High Availability
Java Backend Technology
Java Backend Technology
Sep 26, 2020 · Databases

Master Redis Bitmaps: SETBIT, GETBIT, BITCOUNT, BITOP Explained

This article introduces Redis's advanced bitmap capabilities, detailing the SETBIT, GETBIT, BITCOUNT, and BITOP commands, their syntax, underlying SDS data structure, performance characteristics, storage calculations, and practical use cases such as user sign‑in tracking and online status monitoring.

Storage Optimizationbit operationsperformance
0 likes · 8 min read
Master Redis Bitmaps: SETBIT, GETBIT, BITCOUNT, BITOP Explained
macrozheng
macrozheng
Sep 24, 2020 · Databases

How Redis Persists Data: RDB vs AOF Explained Through a Story

The article narrates Redis’s journey to implement durable storage, contrasting RDB snapshotting and AOF logging, detailing configuration options, forked processes, and trade‑offs, while illustrating interactions with MySQL’s binlog to highlight persistence strategies and performance considerations.

AOFPersistenceRDB
0 likes · 9 min read
How Redis Persists Data: RDB vs AOF Explained Through a Story
vivo Internet Technology
vivo Internet Technology
Sep 23, 2020 · Databases

Redis Caching: Use Cases, Best Practices, Common Pitfalls, and Monitoring

The article explains how Redis caching boosts high‑concurrency applications by outlining common use cases such as counters, session storage, rate limiting, leaderboards and distributed locks, then details best‑practice guidelines, typical pitfalls like TTL overwrites and cache stampedes, and essential monitoring techniques for performance and reliability.

distributed-lockperformanceredis
0 likes · 13 min read
Redis Caching: Use Cases, Best Practices, Common Pitfalls, and Monitoring
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 23, 2020 · Databases

Integrating Redis Cluster with SpringBoot: Configuration, Dependencies, and Utility Classes

This tutorial explains how to upgrade a SpringBoot application from a single‑node Redis setup to a Redis cluster by adjusting configuration parameters, adding the correct Maven dependencies, injecting a RedisTemplate with JedisConnectionFactory, and providing a reusable utility class for common Redis operations.

ConfigurationRedisClusterSpringBoot
0 likes · 12 min read
Integrating Redis Cluster with SpringBoot: Configuration, Dependencies, and Utility Classes
Laravel Tech Community
Laravel Tech Community
Sep 22, 2020 · Databases

Common Redis Latency Issues and How to Diagnose Them

This article explains why Redis latency can suddenly increase—covering high‑complexity commands, large keys, concentrated expirations, memory limits, fork overhead, CPU binding, AOF settings, swap usage, and network saturation—and provides practical diagnostic steps and mitigation techniques.

LatencyOperationsdatabase
0 likes · 17 min read
Common Redis Latency Issues and How to Diagnose Them
Selected Java Interview Questions
Selected Java Interview Questions
Sep 22, 2020 · Backend Development

Understanding Distributed Locks: Redis vs Zookeeper Implementations

This article explains why native Java locks fail in multi‑node deployments, introduces the concept of a distributed lock, and compares two popular implementations—Redis (including RedLock and Redisson) and Zookeeper (with Curator)—detailing their mechanisms, code examples, advantages, drawbacks, and practical selection guidance.

ZooKeeperdistributed-lockredis
0 likes · 18 min read
Understanding Distributed Locks: Redis vs Zookeeper Implementations
dbaplus Community
dbaplus Community
Sep 21, 2020 · Databases

Why Redis Gets Slow and How to Diagnose & Fix Common Latency Issues

This article explains why a Redis instance may experience sudden latency spikes, walks through diagnosing the problem with slow‑log and big‑key scans, and provides concrete configuration tweaks, command‑level best practices, and operational guidelines to keep Redis performing at peak speed.

Latencydatabaseredis
0 likes · 25 min read
Why Redis Gets Slow and How to Diagnose & Fix Common Latency Issues
Programmer DD
Programmer DD
Sep 20, 2020 · Operations

Why Is Your Redis Slowing Down? 7 Common Latency Culprits and How to Fix Them

This article examines typical Redis latency spikes—such as complex O(n) commands, large keys, concentrated expirations, memory limits, fork overhead, CPU binding, AOF settings, swap usage, and network saturation—explaining how to detect, monitor, and mitigate each issue to maintain high‑performance operation.

AOFLatencyMemory Management
0 likes · 17 min read
Why Is Your Redis Slowing Down? 7 Common Latency Culprits and How to Fix Them
Java Backend Technology
Java Backend Technology
Sep 20, 2020 · Databases

Why Redis Gets Slow: Common Latency Causes and How to Fix Them

This article explains why a high‑performance Redis instance can suddenly experience high latency, covering complex commands, large keys, expiration bursts, memory limits, fork overhead, CPU binding, AOF settings, swap usage, and network saturation, and provides practical troubleshooting and mitigation steps.

Latencyoptimizationperformance
0 likes · 17 min read
Why Redis Gets Slow: Common Latency Causes and How to Fix Them
macrozheng
macrozheng
Sep 18, 2020 · Databases

How Redis Boosts MySQL Performance with Smart Caching and Eviction

This article explains how Redis, created to alleviate MySQL’s read‑heavy load, provides in‑memory caching, various data structures, expiration policies, eviction strategies, Bloom‑filter protection against cache penetration, and techniques to prevent cache breakdown and avalanche, improving overall system performance.

bloom-filterevictionredis
0 likes · 10 min read
How Redis Boosts MySQL Performance with Smart Caching and Eviction
Code Ape Tech Column
Code Ape Tech Column
Sep 17, 2020 · Operations

How to Deploy a One‑Click Linux Dev Environment with MySQL, Nginx, Redis & More

This guide walks you through creating and using a one‑click installation package that sets up essential development services—MySQL, Nginx, JDK, Redis, RabbitMQ, and a SpringBoot jar—on Ubuntu 16.x, detailing directory structure, required prerequisites, individual start/stop scripts, and customization options for small‑scale deployments.

DevOpsLinuxNginx
0 likes · 6 min read
How to Deploy a One‑Click Linux Dev Environment with MySQL, Nginx, Redis & More
macrozheng
macrozheng
Sep 16, 2020 · Databases

Explore AnotherRedisDesktopManager: Free, Beautiful Redis GUI with Cluster Support

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
Explore AnotherRedisDesktopManager: Free, Beautiful Redis GUI with Cluster Support
Java Captain
Java Captain
Sep 14, 2020 · Backend Development

Implementing API Idempotency with Redis Token Mechanism in Spring Boot

This article explains the concept of API idempotency, outlines common solutions, and provides a complete Spring Boot implementation using Redis and a token mechanism, including custom annotation, interceptor, utility classes, and testing procedures to ensure safe, single‑execution requests.

InterceptorSpring BootToken
0 likes · 17 min read
Implementing API Idempotency with Redis Token Mechanism in Spring Boot
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 13, 2020 · Backend Development

URL Deduplication Techniques in Java, Redis, and Databases

This article reviews six practical URL deduplication methods—including Java Set, Redis Set, database queries, unique indexes, Guava Bloom filter, and Redis Bloom filter—explaining their principles, providing complete implementation code, and recommending the most suitable approach for different system scales.

Setbloom-filterdatabase
0 likes · 13 min read
URL Deduplication Techniques in Java, Redis, and Databases
ITPUB
ITPUB
Sep 11, 2020 · Fundamentals

How Redis Implements Binary‑Safe Strings with Simple Dynamic Strings (SDS)

This article explains the design and evolution of Redis's Simple Dynamic Strings (SDS), covering the original pre‑3.2 structure, the newer type‑specific headers, the core API functions for creating, clearing, and concatenating SDS objects, and the memory‑reallocation strategy that ensures binary safety and efficient storage.

Binary SafetyData StructuresMemory Management
0 likes · 13 min read
How Redis Implements Binary‑Safe Strings with Simple Dynamic Strings (SDS)
Fulu Network R&D Team
Fulu Network R&D Team
Sep 10, 2020 · Backend Development

Snowflake ID Algorithm: Theory, Advantages, and .NET Implementation with Redis

This article explains the principles of primary keys, compares auto‑increment IDs and GUIDs, introduces the Snowflake ID structure, discusses its benefits and drawbacks, and provides a complete .NET implementation using Redis for dynamic worker‑ID allocation, including handling clock rollback and code examples.

Distributed SystemsSnowflake IDc++
0 likes · 17 min read
Snowflake ID Algorithm: Theory, Advantages, and .NET Implementation with Redis
Architect's Tech Stack
Architect's Tech Stack
Sep 9, 2020 · Databases

How Redis Sentinel Implements Automatic Failover

This article explains how Redis Sentinel provides automatic failover by combining multi‑replica deployment, health monitoring, leader election, and distributed consensus to detect master failures, select a new master, promote it, and notify clients, ensuring high availability for Redis databases.

Database ReplicationDistributed Systemsautomatic failover
0 likes · 10 min read
How Redis Sentinel Implements Automatic Failover
The Dominant Programmer
The Dominant Programmer
Sep 9, 2020 · Backend Development

How to Set Up and Run RuoYi-Vue 3.1 Locally: A Step‑by‑Step Guide

This tutorial walks you through downloading RuoYi-Vue 3.1, creating a MySQL database, importing required SQL files, configuring Redis and application settings, and then launching the Spring Boot back‑end and Vue front‑end so you can access the admin console at http://localhost:81/.

IntelliJ IDEARuoYi-VueSpring Boot
0 likes · 5 min read
How to Set Up and Run RuoYi-Vue 3.1 Locally: A Step‑by‑Step Guide
Selected Java Interview Questions
Selected Java Interview Questions
Sep 8, 2020 · Databases

Database Cache Consistency Strategies: Using Redis as a MySQL Cache

This article explains the concept of caching, why database caching with Redis is needed for MySQL, the consistency challenges it introduces, and compares four practical solutions—TTL, write‑through, message‑queue, and binlog replication—offering guidance on selecting the appropriate approach for different latency and reliability requirements.

BackendCachedatabase
0 likes · 8 min read
Database Cache Consistency Strategies: Using Redis as a MySQL Cache
JavaEdge
JavaEdge
Sep 8, 2020 · Databases

Understanding Redis Sharding: Benefits, Strategies, and Implementation

This article explains Redis sharding, covering its purpose, various partitioning methods such as range and hash partitioning, implementation approaches like client‑side and proxy‑assisted sharding, their drawbacks, and practical steps for migration and using Redis Cluster or Twemproxy.

PartitioningProxyconsistent hashing
0 likes · 9 min read
Understanding Redis Sharding: Benefits, Strategies, and Implementation
Architect's Tech Stack
Architect's Tech Stack
Sep 8, 2020 · Backend Development

Implementing a Two‑Level Cache System with Guava and Redis in Java

This article explains how to design and build a simple two‑level caching solution in Java, covering generic cache interfaces, local caching with Guava, distributed caching with Redis, configuration details, version‑controlled cache keys, and practical usage within a Spring Boot application.

GuavaSpring Bootcaching
0 likes · 25 min read
Implementing a Two‑Level Cache System with Guava and Redis in Java
Programmer DD
Programmer DD
Sep 8, 2020 · Backend Development

Why Redis Distributed Locks Fail in Flash Sales and How to Fix Them

This article examines a real flash‑sale incident where Redis distributed locks expired, causing overselling, analyzes the root causes such as lock safety and non‑atomic stock checks, and presents safer lock implementations, atomic stock operations, and architectural reflections to prevent future failures.

SpringBootdistributed-lockperformance
0 likes · 11 min read
Why Redis Distributed Locks Fail in Flash Sales and How to Fix Them
Selected Java Interview Questions
Selected Java Interview Questions
Sep 6, 2020 · Backend Development

Redis Interview Questions and High‑Availability Distributed System Overview

This article compiles common Redis interview questions, compares Redis with Memcached, explains eviction policies, and provides a concise introduction to distributed systems, high‑availability architectures, master‑slave replication, synchronization methods, and Redis‑based distributed lock solutions.

CacheDistributed Systemshigh availability
0 likes · 12 min read
Redis Interview Questions and High‑Availability Distributed System Overview
ITPUB
ITPUB
Sep 6, 2020 · Databases

Choosing the Right MySQL‑Redis Cache Consistency Strategy

This article explains why caching is essential for high‑traffic MySQL applications, outlines the consistency challenges of using Redis as a cache, and compares four practical synchronization solutions—TTL‑only, write‑through, message‑queue‑based, and binlog‑driven—highlighting their advantages, drawbacks, and selection guidelines.

Cache ConsistencyDatabase CachingMessage Queue
0 likes · 10 min read
Choosing the Right MySQL‑Redis Cache Consistency Strategy
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 6, 2020 · Backend Development

Design and Implementation of a High-Concurrency WeChat Red Packet and Seckill System Using Redis and Bloom Filters

This article details the business flow analysis, functional decomposition, database schema, API design, and high‑concurrency implementation of a WeChat red‑packet and seckill system, showcasing Redis atomic decrement, Bloom filter usage, Lua scripts, JMeter load testing, and integration with SpringBoot.

SeckillSpringBootbloom-filter
0 likes · 11 min read
Design and Implementation of a High-Concurrency WeChat Red Packet and Seckill System Using Redis and Bloom Filters
JavaEdge
JavaEdge
Sep 5, 2020 · Databases

Master‑Slave Replication in Redis: How It Works, Configurations, and Pitfalls

This article explains Redis's asynchronous master‑slave replication, covering the three core mechanisms, partial and full resynchronization processes, configuration methods, diskless sync, key expiration handling, replication IDs and offsets, and safety considerations when disabling persistence.

BacklogDisklessFull Sync
0 likes · 16 min read
Master‑Slave Replication in Redis: How It Works, Configurations, and Pitfalls
Java Captain
Java Captain
Sep 5, 2020 · Backend Development

Design and Implementation of a High‑Concurrency WeChat Red Packet System Using Redis and Bloom Filter

This article details the end‑to‑end design, database schema, Redis atomic operations, Bloom filter integration, JMeter load testing, and SpringBoot implementation for a high‑concurrency WeChat red‑packet (抢红包) service, including flash‑sale (秒杀) techniques and Lua scripts for atomic stock handling.

SpringBootbloom-filterjava
0 likes · 10 min read
Design and Implementation of a High‑Concurrency WeChat Red Packet System Using Redis and Bloom Filter
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 4, 2020 · Databases

Comprehensive Guide to Redis Data Structures, Persistence, Transactions, Clustering, and Applications

This article provides an in‑depth technical overview of Redis, covering its core data structures, memory allocation strategies, eviction policies, persistence mechanisms (RDB and AOF), transaction model, sentinel and cluster architectures, Pub/Sub messaging, and multiple approaches to implementing distributed locks.

Data StructuresPersistencePubSub
0 likes · 89 min read
Comprehensive Guide to Redis Data Structures, Persistence, Transactions, Clustering, and Applications
Programmer DD
Programmer DD
Sep 3, 2020 · Backend Development

Master Distributed Sessions, Transactions, and Locks in Java – Practical Guides & Code

This article explains how to implement distributed session management, transaction handling, and locking mechanisms in Java applications, covering Tomcat‑Redis integration, Spring Session with Redis, various distributed transaction patterns, and both Redis and Zookeeper based distributed locks with complete code examples.

Distributed SessionZooKeeperdistributed-transaction
0 likes · 24 min read
Master Distributed Sessions, Transactions, and Locks in Java – Practical Guides & Code
Java Architect Essentials
Java Architect Essentials
Sep 2, 2020 · Backend Development

Designing a High-Concurrency Flash Sale (Seckill) System: Architecture, Challenges, and Solutions

This article presents a comprehensive design of a flash‑sale system, covering business scenario analysis, high‑concurrency problems such as overselling and malicious requests, and detailed front‑end, Nginx, risk‑control, back‑end, database, and distributed‑transaction solutions to ensure reliability and performance.

System Designdistributed-transactionflash sale
0 likes · 16 min read
Designing a High-Concurrency Flash Sale (Seckill) System: Architecture, Challenges, and Solutions
Sohu Tech Products
Sohu Tech Products
Sep 2, 2020 · Backend Development

Implementing Distributed Locks with Redis and Redisson: Abstraction, Auto-Release, and Fault Tolerance

This article explains how to use Redis and Redisson for distributed locking, introduces an abstract DistributedLock interface for flexible implementations, demonstrates automatic lock release with functional callbacks, and discusses fallback strategies and monitoring to ensure reliability in backend systems.

distributed-lockfault tolerancejava
0 likes · 5 min read
Implementing Distributed Locks with Redis and Redisson: Abstraction, Auto-Release, and Fault Tolerance