Tagged articles

Redis

3508 articles · Page 13 of 36
Efficient Ops
Efficient Ops
Dec 3, 2023 · Backend Development

Why Our Redis Cluster Pipeline Deadlocked: Thread Locks Explained

This article walks through a production incident where a Redis Cluster pipeline caused Dubbo threads to block and eventually deadlock, detailing the root‑cause analysis, code inspection, and verification steps using jstack, jmap, and MAT to confirm the deadlock and propose fixes.

DeadlockJavaPerformance
0 likes · 13 min read
Why Our Redis Cluster Pipeline Deadlocked: Thread Locks Explained
LouZai
LouZai
Dec 1, 2023 · Backend Development

Understanding All Major Distributed Lock Implementations in One Guide

This article explains what distributed locks are, outlines their key properties, classifies implementation approaches, and provides detailed walkthroughs of MySQL, Redis, Etcd, and ZooKeeper based locks—including code examples, trade‑offs, and best‑practice recommendations.

GoMySQLRedis
0 likes · 21 min read
Understanding All Major Distributed Lock Implementations in One Guide
Java Architect Essentials
Java Architect Essentials
Nov 29, 2023 · Backend Development

Performance Tuning of a Java Backend Service: From 50/s to 500/s Through Profiling, Thread‑Pool, and SQL Optimization

The article details a step‑by‑step investigation and optimization of a Java backend service that initially delivered only 50 requests per second under load, covering profiling, slow‑SQL fixes, thread‑pool tuning, JVM memory adjustments, and Spring bean creation overhead to approach the target 500 req/s.

JavaPerformanceRedis
0 likes · 14 min read
Performance Tuning of a Java Backend Service: From 50/s to 500/s Through Profiling, Thread‑Pool, and SQL Optimization
Efficient Ops
Efficient Ops
Nov 28, 2023 · Databases

Mastering Redis: Core Features, Caching Strategies, and High Availability

This article provides a comprehensive overview of Redis, covering its architecture, key features, data types, caching use cases, common pitfalls such as consistency, avalanche, penetration and breakdown, as well as performance reasons, eviction policies, persistence options, replication, and Sentinel high‑availability mechanisms.

PerformanceRediscaching
0 likes · 13 min read
Mastering Redis: Core Features, Caching Strategies, and High Availability
Architect
Architect
Nov 28, 2023 · Databases

How to Import 1 Billion Records into MySQL Efficiently: Architecture & Performance Guide

This article walks through the full engineering process of importing a billion 1 KB log records into MySQL, covering data size calculations, B‑tree index limits, batch‑insert strategies, storage‑engine trade‑offs, fast file‑reading techniques, task coordination with Redis and Redisson, and distributed‑lock design using Zookeeper.

Batch InsertDistributed TasksMySQL
0 likes · 20 min read
How to Import 1 Billion Records into MySQL Efficiently: Architecture & Performance Guide
Top Architect
Top Architect
Nov 28, 2023 · Backend Development

Implementing Sign‑In and Statistics with Redis BitMap in Spring Boot

This article explains how to use Redis BitMap to build an efficient sign‑in feature and monthly statistics in a Spring Boot microservice, covering basic BitMap commands, key design, code implementation, testing procedures, and a cache‑penetration mitigation strategy.

BitMapCache PenetrationRedis
0 likes · 12 min read
Implementing Sign‑In and Statistics with Redis BitMap in Spring Boot
Architecture Digest
Architecture Digest
Nov 27, 2023 · Databases

Fast Import of 1 Billion Records into MySQL: Design, Performance, and Reliability Considerations

To import one billion 1 KB log records into MySQL efficiently, the article examines data size constraints, B‑tree index limits, batch insertion strategies, storage engine choices, file‑reading techniques, task coordination with Redis, Redisson semaphores, and distributed lock handling to ensure ordered, reliable, high‑throughput loading.

Batch InsertBig DataMySQL
0 likes · 18 min read
Fast Import of 1 Billion Records into MySQL: Design, Performance, and Reliability Considerations
Selected Java Interview Questions
Selected Java Interview Questions
Nov 26, 2023 · Databases

Understanding and Solving Hot Key Issues in Redis

Hot keys in Redis—high‑frequency accessed keys—can overload the cache and downstream databases, causing crashes; this article explains what hot keys are, why they arise, their risks, how to detect them, and practical mitigation strategies such as scaling clusters, using secondary caches, monitoring commands, and traffic analysis.

CacheDatabase PerformanceHot Key
0 likes · 6 min read
Understanding and Solving Hot Key Issues in Redis
Architect's Guide
Architect's Guide
Nov 24, 2023 · Databases

Implementing Conditional Query and Pagination with Redis

This article explains how to use Redis' Sorted Set and Hash structures to achieve efficient pagination, multi‑condition fuzzy queries, and their combination, while also discussing performance optimizations such as expiration handling and data synchronization strategies.

Cache OptimizationFuzzy QueryHash
0 likes · 10 min read
Implementing Conditional Query and Pagination with Redis
Architect
Architect
Nov 23, 2023 · Databases

Inside Our High‑Performance Self‑Built Redis System: Architecture, Features & Ops

This article details the design and implementation of a self‑managed Redis KV cache system spanning tens of terabytes, covering its Proxy‑based architecture, ConfigServer high‑availability via Raft, Redis‑Proxy slot routing, async‑fork optimizations, data migration strategies, and a comprehensive automation platform for deployment, scaling, monitoring, and stability governance.

AutomationRedisdistributed systems
0 likes · 24 min read
Inside Our High‑Performance Self‑Built Redis System: Architecture, Features & Ops
Top Architect
Top Architect
Nov 22, 2023 · Information Security

Designing Microservice Permission Control with Shiro and Redis Session Sharing

This article explains how to design microservice permission control using Apache Shiro, sharing session data via Redis, outlines failed approaches, presents a workable solution with custom cache and session managers, and provides complete code examples for realms, configuration, and login flow.

JavaRedisSpringBoot
0 likes · 24 min read
Designing Microservice Permission Control with Shiro and Redis Session Sharing
Didi Tech
Didi Tech
Nov 21, 2023 · Databases

Investigation and Root Cause Analysis of a Redis Memory Leak in Production

An in‑depth, timeline‑driven investigation of a production Redis memory leak revealed that the custom 3.2.8 build’s getKeysInSlot function failed to free a temporary key‑array after traversing the radix‑tree, causing hundreds of megabytes of leaked SDS strings, which was fixed by adding a single free call and highlighted the need for functional code reviews and early leak detection.

DebuggingPerformanceRedis
0 likes · 10 min read
Investigation and Root Cause Analysis of a Redis Memory Leak in Production
Java High-Performance Architecture
Java High-Performance Architecture
Nov 21, 2023 · Information Security

Master Spring Security: Quick Start, JWT Authentication, and RBAC Authorization

This comprehensive guide walks you through setting up Spring Security in a Spring Boot project, configuring password encoding, implementing JWT-based authentication, building custom login and logout endpoints, managing user details with MyBatis Plus, and applying role‑based access control with custom permission handlers, all illustrated with complete code examples.

AuthenticationJWTJava
0 likes · 40 min read
Master Spring Security: Quick Start, JWT Authentication, and RBAC Authorization
Efficient Ops
Efficient Ops
Nov 20, 2023 · Databases

Why Is My Redis Slowing Down? 10 Common Causes and How to Fix Them

This article explains why Redis may become slower, covering benchmark testing, high‑complexity commands, big keys, concentrated expirations, memory limits, fork overhead, huge pages, AOF settings, CPU binding, swap usage, memory fragmentation, and lazy‑free mechanisms, and provides practical optimization steps.

OptimizationPerformanceRedis
0 likes · 34 min read
Why Is My Redis Slowing Down? 10 Common Causes and How to Fix Them
IT Services Circle
IT Services Circle
Nov 20, 2023 · Databases

Redis Beyond Caching: Distributed Locks, Rate Limiting, Message Queues and More

This article explains how Redis can be used for distributed locks, rate limiting, various message‑queue patterns, delayed queues, distributed sessions and complex business scenarios, while also discussing the limitations of using Redis as a message queue and recommending dedicated solutions like RocketMQ or Kafka.

RedisStreamdistributed lock
0 likes · 7 min read
Redis Beyond Caching: Distributed Locks, Rate Limiting, Message Queues and More
Practical DevOps Architecture
Practical DevOps Architecture
Nov 20, 2023 · Backend Development

Implementing a Dynamic IP Blacklist with Nginx, Lua, and Redis

This guide explains how to build a dynamic IP blacklist using Nginx, Lua, and Redis, covering installation of LuaJIT, compiling Nginx with required modules, configuring Redis, writing Lua access‑limit scripts, and verifying that frequent requests are automatically blocked for a set period.

IP blacklistLuaRedis
0 likes · 9 min read
Implementing a Dynamic IP Blacklist with Nginx, Lua, and Redis
IT Architects Alliance
IT Architects Alliance
Nov 17, 2023 · Databases

How to Implement Conditional Queries and Pagination in Redis

This article explains how to achieve conditional fuzzy queries and pagination in Redis by leveraging Sorted Sets and Hashes, detailing command usage, data modeling, combination strategies, and performance optimizations such as expiration and real‑time updates.

Fuzzy QueryHashPagination
0 likes · 8 min read
How to Implement Conditional Queries and Pagination in Redis
php Courses
php Courses
Nov 17, 2023 · Backend Development

Cross-Platform PHP Caching Techniques with File and Redis Implementations

This article explains how to implement cross‑platform caching in PHP using both file‑based storage and Redis, providing complete code examples and detailing the functions involved to ensure compatibility, performance, and proper cache expiration handling.

FileCachePHPPerformance
0 likes · 5 min read
Cross-Platform PHP Caching Techniques with File and Redis Implementations
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 15, 2023 · Databases

Understanding Redis Hotkeys: Issues, Detection Methods, and Mitigation Strategies

This article explains what Redis hotkeys are, the performance and replication problems they cause, various techniques for detecting them—including client statistics, MONITOR, the HOTKEYS command, and TCP packet capture—and practical mitigation approaches such as sharding, multi‑level caching, and monitoring optimization.

HotKeyPerformanceRedis
0 likes · 9 min read
Understanding Redis Hotkeys: Issues, Detection Methods, and Mitigation Strategies
Didi Tech
Didi Tech
Nov 14, 2023 · Databases

Didi's Multi-Active Redis Architecture: Design, Challenges, and Solutions

To achieve disaster-recovery and cross-data-center resilience, Didi progressed from a simple proxy double-write scheme to a sophisticated MQ-free multi-active Redis design that uses a dedicated syncer, shard-based loop prevention, op-id replay protection, conflict detection, and incremental AOF durability, ensuring low latency, no data loss, and consistent availability.

Data ReplicationDidiMulti-Active
0 likes · 11 min read
Didi's Multi-Active Redis Architecture: Design, Challenges, and Solutions
Test Development Learning Exchange
Test Development Learning Exchange
Nov 13, 2023 · Fundamentals

Master Core Python, Database, Linux, and Networking Concepts in One Guide

This comprehensive guide covers essential programming fundamentals—including Python memory management, metaclasses, decorators, multithreading, data structures, algorithmic techniques, database concepts such as ACID, indexing, and transaction isolation, Redis operations, Linux memory handling, networking protocols, Docker/Kubernetes commands, and core testing methodologies—providing clear explanations and practical code examples.

AlgorithmsNetworkingPython
0 likes · 38 min read
Master Core Python, Database, Linux, and Networking Concepts in One Guide
php Courses
php Courses
Nov 8, 2023 · Backend Development

Implementing Caching Strategies in PHP to Improve User Experience

This article explains various PHP caching techniques—including file‑system, memory (Memcache and Redis), and framework (Laravel) caches—providing code examples and configuration steps to reduce database load, speed up page rendering, and enhance overall user experience.

PHPPerformanceRedis
0 likes · 5 min read
Implementing Caching Strategies in PHP to Improve User Experience
Selected Java Interview Questions
Selected Java Interview Questions
Nov 7, 2023 · Backend Development

Implementing Distributed Locks with Redis: Principles, Challenges, and Optimizations

This article explains why traditional local locks fail in distributed systems, surveys common distributed‑lock approaches, and provides a step‑by‑step guide to building a robust Redis‑based lock in Java—including expiration handling, UUID safety, Lua‑script atomicity, re‑entrancy, automatic renewal, and the RedLock algorithm—while comparing its performance against plain local locks.

JavaLuaRedis
0 likes · 17 min read
Implementing Distributed Locks with Redis: Principles, Challenges, and Optimizations
php Courses
php Courses
Nov 7, 2023 · Backend Development

Advantages and Disadvantages of Caching in PHP Development with Code Examples

This article examines the benefits and drawbacks of implementing caching in PHP backend development, illustrating how caching can boost page load speed, reduce database load, and improve performance, while also discussing cache expiration, data consistency, and memory usage, accompanied by practical code examples.

PHPPerformanceRedis
0 likes · 6 min read
Advantages and Disadvantages of Caching in PHP Development with Code Examples
Architecture Digest
Architecture Digest
Nov 6, 2023 · Backend Development

Using Lua Scripts in Spring Boot with Redis: A Comprehensive Guide

This article explains how to integrate Lua scripts into Spring Boot projects for Redis, covering Lua fundamentals, performance benefits, practical use cases, step‑by‑step implementation with code examples, error handling, security considerations, and best‑practice recommendations for backend developers.

LuaPerformance OptimizationRedis
0 likes · 19 min read
Using Lua Scripts in Spring Boot with Redis: A Comprehensive Guide
Top Architecture Tech Stack
Top Architecture Tech Stack
Nov 2, 2023 · Databases

Strategies for Efficiently Importing One Billion Records into MySQL

This article analyzes the constraints of loading one billion 1 KB log records from distributed storage into MySQL, evaluates single‑table limits, proposes batch‑insert, sharding, storage‑engine, file‑reading, and distributed‑task coordination techniques to achieve high‑speed, ordered, and reliable data ingestion.

Batch InsertJavaMySQL
0 likes · 18 min read
Strategies for Efficiently Importing One Billion Records into MySQL
Architect
Architect
Nov 1, 2023 · Backend Development

Mastering Distributed Locks with Redis: From Basics to Advanced Solutions

This article examines why local locks fail in distributed micro‑service environments, introduces Redis‑based distributed locking, walks through five incremental lock designs—from a simple SETNX implementation to a Lua‑script atomic solution—highlighting each scheme's trade‑offs, code examples, and practical pitfalls.

JavaLuaRedis
0 likes · 18 min read
Mastering Distributed Locks with Redis: From Basics to Advanced Solutions
JD Cloud Developers
JD Cloud Developers
Nov 1, 2023 · Databases

How Do Big Keys Slow Down Redis and How to Fix Them?

This article explains why oversized Redis keys (BigKeys) cause data skew, network blockage, slow queries, and high CPU load, shows how to detect them with redis-cli and other tools, and provides practical strategies—including lazy deletion, key splitting, and preventive design—to mitigate their impact on production systems.

BigKeyLazy FreeRedis
0 likes · 22 min read
How Do Big Keys Slow Down Redis and How to Fix Them?
LouZai
LouZai
Nov 1, 2023 · Databases

Beyond Caching: Real‑World Redis Use Cases and Scenarios

The article explains how Redis’s rich data structures and persistence options enable it to serve not only as a distributed cache but also as a primary store for user profiles, counters, leaderboards, relationships, active‑user tracking, distributed locks, rate limiting, messaging, geospatial queries, and more, while also discussing high‑availability and hot‑cold data challenges.

Data StructuresGeospatialMessage Queue
0 likes · 19 min read
Beyond Caching: Real‑World Redis Use Cases and Scenarios
Java Architect Essentials
Java Architect Essentials
Oct 31, 2023 · Information Security

Understanding Traditional Session Mechanisms, Cluster Session Challenges, and SSO Solutions with CAS and OAuth2

The article explains why multiple independent systems hurt user experience, reviews traditional session and cookie based authentication, discusses session sharing problems in clustered environments, and presents centralized Redis storage and CAS‑based single sign‑on solutions with code examples and a comparison to OAuth2.

CASJavaOAuth2
0 likes · 16 min read
Understanding Traditional Session Mechanisms, Cluster Session Challenges, and SSO Solutions with CAS and OAuth2
JD Retail Technology
JD Retail Technology
Oct 31, 2023 · Databases

How to Identify and Eliminate Redis BigKey Bottlenecks

This article explains what constitutes a Redis BigKey, why oversized keys degrade performance through data skew, network blocking, slow queries and CPU pressure, and provides practical detection methods, open‑source tooling, and mitigation techniques such as lazy‑free deletion, incremental scans, and key sharding.

BigKeyDELETEOptimization
0 likes · 21 min read
How to Identify and Eliminate Redis BigKey Bottlenecks
Java High-Performance Architecture
Java High-Performance Architecture
Oct 31, 2023 · Backend Development

Master Redisson Distributed Locks in Java: Features, Code & Spring Boot

This article introduces Redisson, a Java framework built on Redis for distributed systems, detailing its extensive features such as distributed objects, locks, rate limiters, and task scheduling, and provides step‑by‑step guidance on integrating Redisson’s distributed lock into Spring Boot applications with code examples.

JavaRedisRedisson
0 likes · 11 min read
Master Redisson Distributed Locks in Java: Features, Code & Spring Boot
ITPUB
ITPUB
Oct 28, 2023 · Databases

Why Is Single‑Threaded Redis So Fast? Uncover the Secrets

This article explains why Redis, despite being described as single‑threaded, achieves extremely high performance by using a single thread for network I/O and command execution, avoiding multithreading overhead, and leveraging efficient in‑memory data structures together with an event‑driven multiplexing I/O model.

I/O multiplexingPerformanceRedis
0 likes · 12 min read
Why Is Single‑Threaded Redis So Fast? Uncover the Secrets
Java Architect Essentials
Java Architect Essentials
Oct 27, 2023 · Backend Development

Design and Implementation of Delayed Task Solutions for Payment Systems

This article compares delayed and scheduled tasks, analyzes several implementation approaches—including database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis ZSET and key‑space notifications, and RabbitMQ delayed queues—provides code examples, and discusses the advantages and drawbacks of each method for handling order timeout scenarios in payment systems.

JavaQuartzRedis
0 likes · 17 min read
Design and Implementation of Delayed Task Solutions for Payment Systems
Architecture Digest
Architecture Digest
Oct 26, 2023 · Backend Development

Diagnosing and Resolving Redis Connection Pool Blocking in a Spring Boot Application

The article details a week‑long investigation of a sandbox environment where Spring Boot APIs became unresponsive due to Redis connection pool blocking, describing the use of system tools, JVM thread analysis, and code inspection to identify mis‑configured pool settings and recommending proper connection handling with Spring's RedisTemplate.

ArthasDebuggingPerformance
0 likes · 8 min read
Diagnosing and Resolving Redis Connection Pool Blocking in a Spring Boot Application
政采云技术
政采云技术
Oct 25, 2023 · Databases

Redis Memory Management: Eviction and Expiration Strategies Explained

This article provides a comprehensive overview of Redis memory management, detailing how maxmemory limits trigger various eviction policies, explaining the internal freeMemoryIfNeeded algorithm, and describing expiration mechanisms—including active and lazy deletion—and offering guidance on selecting the appropriate eviction strategy for different workloads.

CacheDatabaseLFU
0 likes · 18 min read
Redis Memory Management: Eviction and Expiration Strategies Explained
Efficient Ops
Efficient Ops
Oct 23, 2023 · Operations

Why Redis Failed: Jedis Misconfigurations That Spark Service Avalanches

This article examines a Redis 3.x cluster failure caused by a master‑slave switch, detailing how improper Jedis timeout and retry settings triggered a service avalanche, and provides step‑by‑step analysis of the incident, code paths, and recommended configuration adjustments to prevent recurrence.

RedisRetry MechanismService Avalanche
0 likes · 12 min read
Why Redis Failed: Jedis Misconfigurations That Spark Service Avalanches
Architecture Digest
Architecture Digest
Oct 20, 2023 · Backend Development

Simplified Seckill Project: Architecture, Core Implementations, and Code Overview

This article introduces a simplified Seckill (flash‑sale) system built with SpringBoot, detailing its overall architecture, key backend techniques such as distributed sessions, Redis caching, RabbitMQ asynchronous ordering, security measures, oversell prevention, rate limiting, and provides essential code snippets and deployment screenshots.

JavaRedisSeckill
0 likes · 8 min read
Simplified Seckill Project: Architecture, Core Implementations, and Code Overview
Java High-Performance Architecture
Java High-Performance Architecture
Oct 20, 2023 · Backend Development

Building a High‑Performance Java Seckill System with SpringBoot, Redis, and RabbitMQ

This article details the design and implementation of a Java-based Seckill (flash‑sale) platform built with SpringBoot, MySQL, Redis, RabbitMQ, and front‑end technologies, covering password hashing, distributed sessions, caching strategies, asynchronous order processing, oversell prevention, rate limiting, and provides code snippets and deployment screenshots.

JavaRedisSeckill
0 likes · 8 min read
Building a High‑Performance Java Seckill System with SpringBoot, Redis, and RabbitMQ
Architect
Architect
Oct 19, 2023 · Industry Insights

How Vivo Built a Highly Available Push System: Multi‑Region Architecture, Real‑Time Traffic Scheduling, and Disaster‑Recovery Strategies

This article analyzes the design of Vivo's push notification platform, detailing its high‑concurrency requirements, three‑region long‑connection deployment, traffic‑scheduling bypass layer, and layered storage disaster‑recovery solutions, while explaining the trade‑offs and performance metrics behind each architectural decision.

KafkaRedisSystem Architecture
0 likes · 14 min read
How Vivo Built a Highly Available Push System: Multi‑Region Architecture, Real‑Time Traffic Scheduling, and Disaster‑Recovery Strategies
DevOps
DevOps
Oct 17, 2023 · Databases

Fundamental Methods for Service Troubleshooting and Redis Performance Optimization

After encountering latency spikes in a service, the article walks through systematic troubleshooting steps—examining module performance, resource metrics, and network latency—followed by detailed Redis diagnostics using metrics, latency commands, and profiling tools, ultimately recommending scaling, rate limiting, and caching strategies to resolve the issue.

Redistroubleshooting
0 likes · 22 min read
Fundamental Methods for Service Troubleshooting and Redis Performance Optimization
Architect
Architect
Oct 17, 2023 · Backend Development

Ensuring DB‑Redis Consistency with a Delayed Double‑Delete Strategy in Spring Boot

The article explains how concurrent database updates can cause Redis cache inconsistency, introduces the delayed double‑delete solution, details each step of the algorithm, provides full Spring Boot AOP implementation code, demonstrates verification with test cases, and shares the complete project repository.

AOPCache ConsistencyDelayed Delete
0 likes · 11 min read
Ensuring DB‑Redis Consistency with a Delayed Double‑Delete Strategy in Spring Boot
Top Architecture Tech Stack
Top Architecture Tech Stack
Oct 17, 2023 · Backend Development

Implementing Distributed Locks with Redis: Problems and Solutions

This article explains how Redis can be used to implement distributed locks, outlines common pitfalls such as non‑atomic operations, lock expiration, incorrect unlocking, lack of re‑entrancy and waiting mechanisms, and presents Lua scripts, Java examples, and cluster‑level considerations to mitigate these issues.

JavaLuaRedis
0 likes · 10 min read
Implementing Distributed Locks with Redis: Problems and Solutions
Deepin Linux
Deepin Linux
Oct 16, 2023 · Databases

Understanding Redis: Use Cases, Data Types, and Comparison with Memcached

This article provides a comprehensive overview of Redis, covering its common application scenarios, detailed comparisons with Memcached, internal data structures, implementation details, and practical usage patterns such as caching, leaderboards, counters, and real‑time analytics for modern backend systems.

MemcachedNoSQLRedis
0 likes · 25 min read
Understanding Redis: Use Cases, Data Types, and Comparison with Memcached
ITPUB
ITPUB
Oct 16, 2023 · Databases

Why Did Our Redis Calls Take 1.2 Seconds? A Deep Dive into JedisPool Tuning

A load test revealed Redis latency soaring to 1.2 seconds, and a systematic investigation traced the root cause to mis‑configured JedisPool parameters, leading to excessive connection wait times and churn, which were fixed by aligning pool settings and enabling proper eviction, dramatically improving latency.

JedisPoolPerformance TuningRedis
0 likes · 8 min read
Why Did Our Redis Calls Take 1.2 Seconds? A Deep Dive into JedisPool Tuning
Architecture Digest
Architecture Digest
Oct 16, 2023 · Backend Development

Comparison of Delayed Task Implementation Strategies in Java: Database Polling, JDK DelayQueue, Time Wheel, Redis, and RabbitMQ

The article examines various delayed‑task solutions for order timeout handling in Java, including database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted‑set and key‑space notifications, and RabbitMQ delayed queues, analyzing their implementation steps, advantages, and drawbacks.

JavaRedisbackend
0 likes · 18 min read
Comparison of Delayed Task Implementation Strategies in Java: Database Polling, JDK DelayQueue, Time Wheel, Redis, and RabbitMQ
Efficient Ops
Efficient Ops
Oct 15, 2023 · Databases

How to Diagnose and Fix Slow Redis Responses: A Step-by-Step Guide

This article walks through practical methods for troubleshooting slow service alerts, diagnosing Redis performance bottlenecks, and reproducing issues with local demos and load simulations, offering concrete metrics, command‑line checks, and mitigation strategies such as scaling, rate‑limiting, and pipeline optimization.

OperationsPerformanceRedis
0 likes · 22 min read
How to Diagnose and Fix Slow Redis Responses: A Step-by-Step Guide
vivo Internet Technology
vivo Internet Technology
Oct 11, 2023 · Backend Development

Investigation of Dubbo Thread‑Pool Exhaustion Caused by Redis Cluster Pipeline Deadlock

The article details how a Dubbo thread‑pool exhaustion incident was traced to a deadlock in Redis Cluster pipeline usage, caused by Jedis pools lacking a borrow timeout, which let threads block indefinitely while holding cross‑node connections, and recommends configuring maxWaitMillis or enlarging the pool to prevent recurrence.

DeadlockDubboJava
0 likes · 14 min read
Investigation of Dubbo Thread‑Pool Exhaustion Caused by Redis Cluster Pipeline Deadlock
Top Architect
Top Architect
Oct 11, 2023 · Databases

Understanding Redis Memory Eviction Policies and Configuration

This article explains how Redis uses the maxmemory setting to trigger memory eviction, details the various eviction policies (including LRU and LFU), shows how to query and modify these settings with config commands, and briefly mentions promotional offers for a ChatGPT community.

LFULRURedis
0 likes · 10 min read
Understanding Redis Memory Eviction Policies and Configuration
Didi Tech
Didi Tech
Oct 10, 2023 · Backend Development

Investigation of 300‑Second Redis Timeout Issues in a Go Service

The article details how a Go service’s 300‑second Redis call timeout was traced to a gateway’s full‑NAT session‑table loss, and explains how targeted retries, proper timeout settings, and rate‑limiting can prevent similar cascading failures in distributed systems.

GoRedisRetry
0 likes · 9 min read
Investigation of 300‑Second Redis Timeout Issues in a Go Service
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 10, 2023 · Databases

Diagnosing and Resolving MongoDB and Redis Replication Failures: Oplog Issues and Recovery Strategies

This article analyzes a MongoDB replication failure caused by missing oplog entries, compares logical initialization repair methods with Redis replication, and provides practical steps—including oplog size adjustment and snapshot techniques—to restore synchronization and prevent similar issues in production environments.

Database RecoveryLogical InitializationMongoDB
0 likes · 9 min read
Diagnosing and Resolving MongoDB and Redis Replication Failures: Oplog Issues and Recovery Strategies
Programmer DD
Programmer DD
Oct 10, 2023 · Backend Development

How to Get Free Cloud Resources and Master Redis Cluster Setup for Practice

This guide explains how to claim Alibaba Cloud's free ECS credits, use them to spin up multiple machines for hands‑on Redis cluster experiments, and outlines a step‑by‑step learning path from basic Nginx setups to advanced high‑availability and multi‑service architectures.

Cloud ResourcesClusterDevOps
0 likes · 11 min read
How to Get Free Cloud Resources and Master Redis Cluster Setup for Practice
php Courses
php Courses
Oct 9, 2023 · Backend Development

PHP Performance Optimization and Caching Techniques

This article explains key PHP performance optimization strategies—including database query tuning, efficient coding practices, and various caching methods such as Redis and file‑based page caching—providing concrete code examples to improve response time and system stability.

File CachePHPPerformance Optimization
0 likes · 6 min read
PHP Performance Optimization and Caching Techniques
Java Architect Essentials
Java Architect Essentials
Oct 6, 2023 · Backend Development

Implementing Order Workflow with Spring Statemachine and Persistent State Storage

This article explains the fundamentals of finite‑state machines, introduces Spring Statemachine, demonstrates how to model an order lifecycle, configure persistence with in‑memory and Redis stores, and provides complete Java code for enums, configuration, services, controllers, listeners, testing, and exception‑handling improvements.

AOPJavaPersistence
0 likes · 26 min read
Implementing Order Workflow with Spring Statemachine and Persistent State Storage
Selected Java Interview Questions
Selected Java Interview Questions
Oct 4, 2023 · Backend Development

Implementing Captcha‑Based Login in a Frontend‑Backend Separated Spring Boot Application

This article demonstrates how to implement a captcha‑based login mechanism in a Spring Boot application with a front‑end/back‑end separation, detailing the traditional session‑based approach, the new Redis‑backed token solution, and providing complete code examples for configuration, service, controller, and data objects.

CAPTCHARedisSpring Boot
0 likes · 12 min read
Implementing Captcha‑Based Login in a Frontend‑Backend Separated Spring Boot Application
Programmer DD
Programmer DD
Oct 4, 2023 · Databases

5 Essential Redis Use Cases Every Developer Should Know

This article explores five common Redis applications—caching, session storage, distributed locking, rate limiting, and leaderboards—explaining how each leverages Redis’s in‑memory speed, atomic commands, and data structures to improve performance, scalability, and reliability of modern web services.

In-Memory DatabaseLeaderboardRedis
0 likes · 7 min read
5 Essential Redis Use Cases Every Developer Should Know
MaGe Linux Operations
MaGe Linux Operations
Sep 28, 2023 · Information Security

Mastering JWT: Standard Claims, Custom Tokens, and Renewal Strategies

This article explains JWT payload claims, lists standard and custom claims, shows how to generate a token with expiration in Java, and compares single‑token and double‑token renewal strategies—including OAuth 2.0 approaches and Redis‑based storage—to manage token expiration securely.

AuthenticationJWTJava
0 likes · 5 min read
Mastering JWT: Standard Claims, Custom Tokens, and Renewal Strategies
Architect
Architect
Sep 28, 2023 · Databases

How to Pick the Best Storage Engine for High‑Throughput Browsing Records: Redis, MySQL or Tair?

This article walks through a real‑world e‑commerce scenario where billions of daily browsing events generate over 100K TPS writes, evaluates storage options on reliability, cost, read/write performance and implementation difficulty, and ultimately recommends Tair after detailed analysis of List, Sorted‑Set and Hash structures, code examples, and concurrency controls.

RedisTairconcurrency
0 likes · 15 min read
How to Pick the Best Storage Engine for High‑Throughput Browsing Records: Redis, MySQL or Tair?
ITPUB
ITPUB
Sep 28, 2023 · Databases

Redis Latency Mystery: How to Diagnose and Fix Slow Redis Calls

When a Redis‑backed service suddenly experiences high response times, this guide walks through systematic troubleshooting steps—checking server resources, network latency, Redis metrics, slow‑log, memory fragmentation, big keys, and hot keys—culminating in practical solutions such as pipelining, read/write splitting, and cache layering.

Performance TuningRedis
0 likes · 24 min read
Redis Latency Mystery: How to Diagnose and Fix Slow Redis Calls
Tencent Cloud Developer
Tencent Cloud Developer
Sep 28, 2023 · Databases

Redis Service Latency Diagnosis and Optimization – A Systematic Approach

The article outlines a systematic three‑step workflow—general service diagnostics, Redis‑specific checks, and reproducible load testing—to pinpoint a hot‑key‑driven CPU bottleneck, then evaluates mitigation options such as read‑write separation, pipelining, and an application‑level cache, ultimately showing the cache’s effectiveness in cutting latency and CPU usage.

CachePerformanceRedis
0 likes · 21 min read
Redis Service Latency Diagnosis and Optimization – A Systematic Approach
政采云技术
政采云技术
Sep 27, 2023 · Databases

Understanding Redis Data Types and Their Internal Memory Implementations

This article explains Redis’s five core data object types—strings, lists, hashes, sets, and sorted sets—detailing their encoding schemes, underlying memory structures such as SDS, ziplist, linkedlist, hashtable, and skiplist, and how Redis optimizes storage and access performance.

Data StructuresMemory ManagementRedis
0 likes · 13 min read
Understanding Redis Data Types and Their Internal Memory Implementations
Java High-Performance Architecture
Java High-Performance Architecture
Sep 25, 2023 · Backend Development

Master Distributed Locks with Redisson: Deep Dive into Java High‑Performance Architecture

This article explains the concept of distributed locks for ensuring data consistency in clustered environments, outlines common implementation approaches, and provides a comprehensive guide to using Redisson in Java—including Maven setup, YAML configuration, core source‑code analysis, Lua scripts for lock and unlock operations, and practical test cases.

JavaLuaRedis
0 likes · 15 min read
Master Distributed Locks with Redisson: Deep Dive into Java High‑Performance Architecture
Architect
Architect
Sep 21, 2023 · Databases

Redis Deep Dive: 20 Classic Interview Questions Explained

This article provides a comprehensive technical walkthrough of Redis, covering its core concepts, data structures, performance tricks, caching pitfalls, persistence options, high‑availability architectures, distributed locking mechanisms, and consistency strategies, all illustrated with concrete examples and code snippets.

Data StructuresDistributed LocksPersistence
0 likes · 50 min read
Redis Deep Dive: 20 Classic Interview Questions Explained
Huolala Tech
Huolala Tech
Sep 21, 2023 · Big Data

How We Built a Scalable Data Migration Framework for Billions of Transactions

This article details the design and implementation of a custom, high‑throughput data migration framework that handles petabyte‑scale transaction data, supports heterogeneous source/target schemas, ensures zero‑downtime operation, and provides robust scheduling, checkpointing, and fault‑tolerance mechanisms.

Big DataData MigrationRedis
0 likes · 17 min read
How We Built a Scalable Data Migration Framework for Billions of Transactions
Tencent Cloud Developer
Tencent Cloud Developer
Sep 20, 2023 · Operations

Storage Governance and Optimization Practices for Meeting Control Systems

The article explains how a meeting control system tackled severe storage pressure from high concurrent traffic by introducing a proxy layer, multi‑active disaster‑recovery, identity‑based data isolation, dynamic‑static key separation, multi‑level caching, overload protection, sharding with dual‑write migration, and extensive monitoring to meet 100k QPS and ensure reliability.

Redisdatabase shardingdisaster recovery
0 likes · 49 min read
Storage Governance and Optimization Practices for Meeting Control Systems
Top Architect
Top Architect
Sep 15, 2023 · Databases

Redis Overview, Features, Use Cases, and Installation Guide

This article introduces Redis as an open‑source, high‑performance in‑memory key‑value store, explains its rich data structures, underlying implementations, performance advantages, common use cases such as caching and messaging, and provides step‑by‑step installation and basic command examples for Ubuntu systems.

Data StructuresIn-Memory DatabaseInstallation
0 likes · 12 min read
Redis Overview, Features, Use Cases, and Installation Guide
Bilibili Tech
Bilibili Tech
Sep 15, 2023 · Databases

Understanding and Detecting BigKey and HotKey Issues in Redis Clusters

BigKey and HotKey issues in Redis clusters arise when oversized keys block processing or a single key receives excessive requests, causing timeouts, memory overflow, shard collapse, and performance degradation, but can be detected during testing using Redis commands, visual clients, and open‑source analysis tools.

BigKeyCacheDatabase
0 likes · 8 min read
Understanding and Detecting BigKey and HotKey Issues in Redis Clusters
Alibaba Cloud Developer
Alibaba Cloud Developer
Sep 15, 2023 · Databases

Why Your JedisPool Keeps Recreating Connections and How to Fix It in Spring Boot

This article investigates why a Spring Boot application using JedisPool experiences high connection‑acquisition latency, analyzes the Evictor logic and mis‑configured pool parameters, and presents a custom configuration solution that stabilizes the pool and eliminates repeated connection creation and destruction.

ConnectionPoolingEvictorJedisPool
0 likes · 15 min read
Why Your JedisPool Keeps Recreating Connections and How to Fix It in Spring Boot