Tagged articles

Redis

3337 articles · Page 1 of 34
dbaplus Community
dbaplus Community
Jul 5, 2026 · Databases

Why Did Redis Keys Vanish at 2 AM Despite No Memory Alerts?

A production incident showed Redis keys disappearing at 2 AM without any memory alarms; deep analysis revealed a short‑term memory spike caused by a surge in GET requests, client‑output‑buffer‑limit growth, and LRU eviction, leading to practical mitigation steps.

Redisclient-output-buffer-limitkey eviction
0 likes · 9 min read
Why Did Redis Keys Vanish at 2 AM Despite No Memory Alerts?
Java Tech Enthusiast
Java Tech Enthusiast
Jul 3, 2026 · Backend Development

Why RediSearch Can Outperform Elasticsearch: Low Memory, High Speed

The article introduces Redis's official search module RediSearch, compares its memory usage and query performance against Elasticsearch, presents benchmark results showing faster indexing and four‑times higher throughput, and provides step‑by‑step installation, index commands, and Java integration examples.

ElasticsearchJavaJedis
0 likes · 10 min read
Why RediSearch Can Outperform Elasticsearch: Low Memory, High Speed
dbaplus Community
dbaplus Community
Jul 1, 2026 · Databases

How DeWu Cut Redis RT by 90% with a Full‑Scale Self‑Built Redesign

The article details DeWu's three‑year evolution of its self‑built Redis platform—covering architecture, access method changes, version upgrades, proxy rate limiting, and automated operations—that together reduced request latency by over 90% while supporting more than 1,000 clusters, 160 TB of memory and near‑10‑million QPS.

AutomationDRedis SDKRedis
0 likes · 17 min read
How DeWu Cut Redis RT by 90% with a Full‑Scale Self‑Built Redesign
Programmer XiaoFu
Programmer XiaoFu
Jun 25, 2026 · Backend Development

Why Delayed Double Delete Fails to Ensure Cache Consistency Under High Concurrency

The article dissects the delayed double‑delete pattern for Redis‑MySQL consistency, exposing its hidden pitfalls—unreliable delay timing, thread‑blocking sleeps, fragile second‑delete retries, and concurrent‑write anomalies—then recommends cache‑aside and stronger alternatives for production systems.

Cache AsideCache consistencyRedis
0 likes · 7 min read
Why Delayed Double Delete Fails to Ensure Cache Consistency Under High Concurrency
Sohu Tech Products
Sohu Tech Products
Jun 24, 2026 · Cloud Native

Cloud‑Native Dynamic Routing & Session Persistence for AI Sandboxes via Web VNC

The article details how the team built a high‑performance, reliable cloud‑native gateway for millions of AI sandbox VNC sessions, addressing challenges of dynamic pod IPs, multi‑stage Web VNC traffic, session consistency, and security by using OpenResty, Lua scripts, Redis‑backed routing, cookie‑based state storage, and extensive Nginx tuning.

AI sandboxCloud NativeLua
0 likes · 26 min read
Cloud‑Native Dynamic Routing & Session Persistence for AI Sandboxes via Web VNC
Golang Shines
Golang Shines
Jun 24, 2026 · Backend Development

Explore the Open-Source Go-Vue-Admin Backend Management System

The article introduces go-vue-admin, an open-source Go-based backend management system with a Vue3 front‑end, outlines its built‑in modules such as user, role, and monitoring, lists environment requirements and repository links, provides step‑by‑step setup commands, and offers a curated collection of free Go books and video tutorials.

Backend ManagementGoRedis
0 likes · 8 min read
Explore the Open-Source Go-Vue-Admin Backend Management System
Architect's Guide
Architect's Guide
Jun 24, 2026 · Databases

Nine Essential Aspects of Redis: A Comprehensive Technical Guide

This article provides an in‑depth technical overview of Redis, covering its single‑threaded model, core data structures, persistence options, master‑slave replication, Sentinel and cluster architectures, eviction policies, progressive rehash, skiplist implementation, bitmap usage for massive active‑user counting, and strategies for handling MySQL‑Redis write‑through consistency.

Data StructuresPersistenceRedis
0 likes · 30 min read
Nine Essential Aspects of Redis: A Comprehensive Technical Guide
Shepherd Advanced Notes
Shepherd Advanced Notes
Jun 24, 2026 · Backend Development

Boosting Throughput 10×: Architecture Evolution and Tuning for High‑Concurrency Batch Processing

The article details how a sluggish batch‑processing system handling millions of records was redesigned with XXL‑JOB sharding, Redis‑based dynamic task distribution, cursor pagination, and selective transaction scopes, achieving nearly ten‑fold throughput improvement while addressing resource contention, load‑balancing, and reliable result reconciliation.

Batch ProcessingJavaPerformance Tuning
0 likes · 19 min read
Boosting Throughput 10×: Architecture Evolution and Tuning for High‑Concurrency Batch Processing
ZhiKe AI
ZhiKe AI
Jun 23, 2026 · Backend Development

Duplicate Requests Aren’t Bugs: 5 Idempotency Solutions for Distributed Systems

When network timeouts or retries cause the same payment request to be processed multiple times, duplicate requests become a common failure mode in distributed systems; this article explains five practical idempotency strategies—unique DB indexes, token checks, state machines, Redis SETNX, and downstream dedup tables—and offers guidance on choosing the right approach.

MicroservicesRedisbackend
0 likes · 16 min read
Duplicate Requests Aren’t Bugs: 5 Idempotency Solutions for Distributed Systems
IoT Full-Stack Technology
IoT Full-Stack Technology
Jun 22, 2026 · Backend Development

Why UUID Falls Short and How Snowflake Solves Distributed ID Generation

The article examines the limitations of using UUIDs for distributed unique identifiers, compares common alternatives such as database auto‑increment and Redis, and then details the Snowflake algorithm’s structure, implementation, advantages, and drawbacks for high‑performance ID generation.

Distributed IDID GenerationJava
0 likes · 15 min read
Why UUID Falls Short and How Snowflake Solves Distributed ID Generation
Architect's Guide
Architect's Guide
Jun 20, 2026 · Backend Development

How to Auto‑Cancel Unpaid Orders After 30 Minutes: Design and Implementation Options

The article explains the concept of delayed tasks versus scheduled tasks and evaluates several backend solutions—including database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis ZSET, Redis key‑space notifications, and RabbitMQ delayed queues—detailing their implementations, code samples, advantages, and drawbacks for automatically cancelling orders that remain unpaid for a set period.

Delayed TaskJavaQuartz
0 likes · 17 min read
How to Auto‑Cancel Unpaid Orders After 30 Minutes: Design and Implementation Options
ZhiKe AI
ZhiKe AI
Jun 19, 2026 · Backend Development

From 1 ns to 10 ms: Why Caching Exists and Why It Keeps You Up at Night

The article explains why caching is indispensable—from nanosecond‑level CPU caches to millisecond‑level disks—covers the classic pitfalls of penetration, breakdown and avalanche, and walks through consistency strategies such as Cache‑Aside, delayed double‑delete, and Canal‑based binlog syncing for high‑concurrency systems.

Cache AsideCache consistencyCaching
0 likes · 13 min read
From 1 ns to 10 ms: Why Caching Exists and Why It Keeps You Up at Night
Architecture & Thinking
Architecture & Thinking
Jun 18, 2026 · Backend Development

How to Scale a Flash‑Sale System from Zero to 1 Million QPS: A Step‑by‑Step Architecture Guide

This article dissects the evolution of a flash‑sale system from a simple monolithic controller to a cloud‑native, micro‑service architecture that can handle over one million requests per second, detailing traffic‑shaping, multi‑level caching, async processing, and inventory‑consistency techniques.

CachingFlash SaleHigh concurrency
0 likes · 18 min read
How to Scale a Flash‑Sale System from Zero to 1 Million QPS: A Step‑by‑Step Architecture Guide
Raymond Ops
Raymond Ops
Jun 17, 2026 · Databases

Redis Sentinel Mode Explained: Automatic Failure Detection and Master‑Slave Switching in Practice

This guide walks through Redis Sentinel’s architecture, explains subjective and objective down states, details the leader election and failover workflow, shows step‑by‑step configuration of a three‑node Sentinel cluster, client integration in Python and Java, and provides best‑practice recommendations, monitoring metrics, and troubleshooting tips.

ConfigurationHigh AvailabilityJava
0 likes · 27 min read
Redis Sentinel Mode Explained: Automatic Failure Detection and Master‑Slave Switching in Practice
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 15, 2026 · Backend Development

14 Real-World Scenarios Highlighting Core Distributed Caching Issues in Spring Boot

This article presents fourteen practical scenarios covering the design, pitfalls, strategies, and implementation details of distributed caching in Spring Boot, including cache breakdown prevention, write‑through vs. write‑behind, eviction policies, negative caching, secondary caches, cache‑aside pattern, warming, monitoring, consistency, and custom key generation, all illustrated with concrete code examples.

Cache EvictionCache consistencyJava
0 likes · 17 min read
14 Real-World Scenarios Highlighting Core Distributed Caching Issues in Spring Boot
Programmer XiaoFu
Programmer XiaoFu
Jun 15, 2026 · Backend Development

Why a Simple Redis Mutex Lock Isn’t Enough for Cache Breakdown – When to Use Never‑Expire or Logical Expiration

The article analyzes why a basic Redis mutex lock can cause thread blocking, latency spikes, and service collapse under high concurrency, and compares it with logical expiration and never‑expire with proactive updates, explaining their trade‑offs and how to choose the right cache‑breakdown mitigation strategy.

CacheDistributed LockJava
0 likes · 12 min read
Why a Simple Redis Mutex Lock Isn’t Enough for Cache Breakdown – When to Use Never‑Expire or Logical Expiration
Linux Cloud-Native Ops Stack
Linux Cloud-Native Ops Stack
Jun 9, 2026 · Databases

Zero‑Downtime Redis Cluster Expansion in Production

This guide details a step‑by‑step, zero‑downtime expansion of a 3‑master‑3‑slave Redis Cluster to a 4‑master‑4‑slave setup, covering node standardization, network checks, big‑key handling, full backups, monitoring, slot migration planning, progressive migration methods, replica addition, post‑expansion validation, rollback procedures, and practical lessons learned.

ExpansionHash SlotsMonitoring
0 likes · 13 min read
Zero‑Downtime Redis Cluster Expansion in Production
Lobster Programming
Lobster Programming
Jun 8, 2026 · Databases

Why Redis Cache Expiration Triggers System Spikes

The article explains how massive simultaneous expiration of Redis keys can overload the single‑threaded server, causing brief request blocking, response‑time spikes, and even memory‑related issues in master‑slave setups.

Rediscache expirationeviction policies
0 likes · 6 min read
Why Redis Cache Expiration Triggers System Spikes
Architect Chen
Architect Chen
Jun 7, 2026 · Databases

Complete 2026 Guide to Redis Commands: Everything You Need to Know

This article offers a comprehensive 2026 overview of Redis commands, organized by function, with clear usage examples, return values, performance notes, and best‑practice recommendations such as avoiding KEYS in production and using SCAN, making it a practical reference for developers and architects.

CacheCommandsHash
0 likes · 6 min read
Complete 2026 Guide to Redis Commands: Everything You Need to Know
Su San Talks Tech
Su San Talks Tech
Jun 5, 2026 · Backend Development

A Comprehensive Guide to Java Tech Stack Skills for AI Agents

This guide curates essential AI Agent Skills for the Java ecosystem, covering backend tools like Spring Boot, MyBatis‑Plus, and Redis, frontend frameworks such as Vue and React, installation commands, custom Skill examples, and recommended full‑stack workflows to boost project productivity.

AI Agent SkillsBackend DevelopmentJava
0 likes · 12 min read
A Comprehensive Guide to Java Tech Stack Skills for AI Agents
Java Tech Workshop
Java Tech Workshop
Jun 4, 2026 · Backend Development

Understanding SpringBoot Two‑Level Caching: MyBatis vs Application‑Level Cache

The article explains how layered caching in Java back‑ends—combining MyBatis first‑ and second‑level caches with a service‑layer Caffeine + Redis cache—affects cache granularity, consistency, distribution, and performance, and provides concrete configuration examples, code snippets, and best‑practice guidelines.

CacheCaffeineJava
0 likes · 16 min read
Understanding SpringBoot Two‑Level Caching: MyBatis vs Application‑Level Cache
IoT Full-Stack Technology
IoT Full-Stack Technology
Jun 3, 2026 · Backend Development

Can We Achieve Seamless Account Interoperability Across Multiple Company Systems?

The article examines the challenges of multiple corporate systems requiring separate logins, explains traditional session mechanisms and their limitations in clustered environments, compares session replication versus centralized storage, and presents a complete Java Spring implementation of CAS‑based single sign‑on with code samples and a discussion of differences from OAuth2.

CASJavaRedis
0 likes · 13 min read
Can We Achieve Seamless Account Interoperability Across Multiple Company Systems?
Java Tech Workshop
Java Tech Workshop
Jun 3, 2026 · Backend Development

Why Local Caffeine/Guava Caches Outperform Redis in High‑Concurrency SpringBoot Apps

SpringBoot developers can dramatically boost throughput and cut latency by pairing a microsecond‑level local cache (Caffeine or Guava) with Redis, using a two‑level architecture that isolates hot data in JVM memory, reduces network and serialization overhead, and provides configurable eviction policies for various use cases.

Cache EvictionCaffeineGuava
0 likes · 13 min read
Why Local Caffeine/Guava Caches Outperform Redis in High‑Concurrency SpringBoot Apps
Ubuntu
Ubuntu
Jun 2, 2026 · Databases

One‑Click Deployment of MySQL, Redis, and PostgreSQL on WSL

This guide shows how to install, configure, and manage MySQL/MariaDB, Redis, and PostgreSQL inside Windows Subsystem for Linux, including remote access setup, common command‑line operations, GUI client recommendations, and scripts for one‑click start/stop and backup.

Database deploymentGUI clientPostgreSQL
0 likes · 14 min read
One‑Click Deployment of MySQL, Redis, and PostgreSQL on WSL
Architect Chen
Architect Chen
Jun 1, 2026 · Databases

15 Essential Redis Commands Every Engineer Should Know

This article provides a detailed walkthrough of the 15 most commonly used Redis commands—including key, hash, list, set, sorted‑set, and monitoring operations—showing syntax, return values, typical use cases, performance characteristics, and cautions for production environments.

CacheCommandsKey-Value Store
0 likes · 6 min read
15 Essential Redis Commands Every Engineer Should Know
Java Tech Workshop
Java Tech Workshop
Jun 1, 2026 · Backend Development

Advanced SpringBoot Caching: How to Build a Custom CacheManager

The article explains why the default SpringBoot cache manager is insufficient for production, then walks through creating custom Caffeine and Redis CacheManager beans, configuring expiration, key prefixes, serialization, and multi‑level caching to solve issues like cache penetration, key collisions, and performance bottlenecks.

CacheCacheManagerCaffeine
0 likes · 11 min read
Advanced SpringBoot Caching: How to Build a Custom CacheManager
Java Tech Workshop
Java Tech Workshop
May 30, 2026 · Backend Development

Implement SpringBoot API Rate Limiting with Gateway and Redis

The article explains why placing rate limiting at the Spring Cloud Gateway layer, using Redis and Lua scripts, provides a high‑performance, distributed defense against traffic spikes, and walks through three algorithms, configuration parameters, code examples, and custom error handling for robust backend services.

LuaMicroservicesRedis
0 likes · 8 min read
Implement SpringBoot API Rate Limiting with Gateway and Redis
Java Architect Handbook
Java Architect Handbook
May 29, 2026 · Interview Experience

CDN Cache vs Redis Cache: Key Differences and Ideal Use Cases (Interview Insight)

The article explains how CDN works as a distributed reverse‑proxy cache, details its DNS‑based load balancing, cache‑hit/miss flow, expiration policies and refresh strategies, compares CDN caching with browser and Nginx caches, outlines scenarios where CDN or Redis is appropriate, and provides typical interview follow‑up questions and practical tips.

CDNCache InvalidationCaching
0 likes · 13 min read
CDN Cache vs Redis Cache: Key Differences and Ideal Use Cases (Interview Insight)
Coder Trainee
Coder Trainee
May 28, 2026 · Information Security

Deep Dive into JWT with Spring Security OAuth2: Token Enhancement Techniques

This tutorial explains the JWT structure, shows how to add custom claims such as user ID, department and roles, implements token blacklisting for logout, handles refresh token logic, and provides step‑by‑step code and testing instructions for a Spring Security OAuth2 authentication system.

JWTRedisSpring Boot
0 likes · 16 min read
Deep Dive into JWT with Spring Security OAuth2: Token Enhancement Techniques
Sohu Tech Products
Sohu Tech Products
May 27, 2026 · Backend Development

IDEA + JavaAI: A Hands‑On Review of Building a Mini‑Redis Spring Boot Starter

After struggling with AI‑generated code that failed on global edge cases, the author evaluates the FeiSuan JavaAI IDEA plugin, walking through its five‑agent workflow—from requirement planning to source generation—and demonstrates how it successfully creates a production‑ready mini‑redis Spring Boot starter with thorough testing.

AI code generationAgentIDEA
0 likes · 16 min read
IDEA + JavaAI: A Hands‑On Review of Building a Mini‑Redis Spring Boot Starter
Xiaohongshu Tech REDtech
Xiaohongshu Tech REDtech
May 27, 2026 · Cloud Native

How RedProcess Evolved into DES: Optimizing Xiaohongshu’s Multimedia Task Scheduler

The article details the evolution from the first‑generation RedProcess scheduler to the Distributed Execution Scheduler (DES), explaining how architectural redesigns in storage layering, push‑based dispatch, and systematic disaster‑recovery transformed Xiaohongshu’s video‑cloud task scheduling from merely usable to highly efficient and resilient.

DESRedisTask scheduling
0 likes · 15 min read
How RedProcess Evolved into DES: Optimizing Xiaohongshu’s Multimedia Task Scheduler
ITPUB
ITPUB
May 26, 2026 · Backend Development

Why Using Redis Expiration Listener for Order Cancellation Is a Bad Idea

The article compares common delayed‑task solutions for order cancellation, explains why Redis expiration listeners, RabbitMQ dead‑letter queues, and in‑memory time wheels are unreliable, and recommends using proper message‑queue delayed delivery or Redisson delay queues with compensation mechanisms.

DelayQueueDelayed TasksMessage Queue
0 likes · 7 min read
Why Using Redis Expiration Listener for Order Cancellation Is a Bad Idea
Java Tech Workshop
Java Tech Workshop
May 25, 2026 · Backend Development

Ensuring SpringBoot Message Idempotency to Prevent Duplicate Consumption

The article analyzes why duplicate consumption is inevitable in MQ systems, defines message idempotency, and presents four practical solutions—including Redis SETNX, database unique indexes, state‑machine with optimistic locking, and global unique constraints—along with their pros, cons, and best‑practice guidelines for SpringBoot applications.

JavaMQMessage Idempotency
0 likes · 13 min read
Ensuring SpringBoot Message Idempotency to Prevent Duplicate Consumption
Lobster Programming
Lobster Programming
May 25, 2026 · Backend Development

Designing a System That Can Survive Sudden Spikes of One Million QPS

The article analyzes why simply adding Redis nodes cannot handle a sudden million‑QPS surge, then presents three practical solutions—key sharding, multi‑level caching with hot‑key detection, and distributed‑lock‑based fallback—to build a resilient high‑concurrency backend.

Cache ShardingDistributed LockHigh concurrency
0 likes · 7 min read
Designing a System That Can Survive Sudden Spikes of One Million QPS
MaGe Linux Operations
MaGe Linux Operations
May 23, 2026 · Operations

Avoid Common Pitfalls When Deploying Redis in Production: Memory, Persistence, and Clustering

This guide walks through practical Redis production‑deployment best practices, covering memory limits and eviction policies, RDB/AOF persistence options, security hardening, replication, Sentinel, Cluster setup, monitoring, backup scripts, and troubleshooting common issues such as OOM, replication loss, and latency.

ClusteringMemory ManagementMonitoring
0 likes · 36 min read
Avoid Common Pitfalls When Deploying Redis in Production: Memory, Persistence, and Clustering
Architecture & Thinking
Architecture & Thinking
May 22, 2026 · Databases

Redis Persistence Options Explained: RDB, AOF, and Hybrid Mode – Principles and Production Configurations

Redis, a high‑performance in‑memory database, offers three persistence mechanisms—RDB snapshots, AOF logs, and the hybrid RDB+AOF mode—each with distinct principles, performance trade‑offs, and configuration nuances, and the article provides detailed analysis, production case studies, and Go code examples to guide optimal selection.

AOFGoHybrid Mode
0 likes · 21 min read
Redis Persistence Options Explained: RDB, AOF, and Hybrid Mode – Principles and Production Configurations
Ops Community
Ops Community
May 20, 2026 · Backend Development

Redis Cache Avalanche, Penetration, and Breakdown: The Three Must‑Know Issues for Interviews

This article explains the three classic Redis cache problems—avalanche, penetration, and breakdown—detailing their definitions, typical symptoms, step‑by‑step troubleshooting procedures, root‑cause analysis, and practical mitigation strategies such as random expiration, empty‑value caching, Bloom filters, distributed locks, and multi‑level cache architectures.

Cache AvalancheCache BreakdownCache Penetration
0 likes · 35 min read
Redis Cache Avalanche, Penetration, and Breakdown: The Three Must‑Know Issues for Interviews
IT Services Circle
IT Services Circle
May 20, 2026 · Databases

Why Can Redis Sustain Over 100k QPS? A Deep Technical Dive

The article explains how Redis achieves more than 100,000 queries per second by leveraging in‑memory storage, highly optimized data structures, a single‑threaded core with epoll‑based I/O multiplexing, optional I/O multithreading, and performance tricks such as pipelining and careful key sizing.

Data StructuresI/O multiplexingIn-Memory Database
0 likes · 9 min read
Why Can Redis Sustain Over 100k QPS? A Deep Technical Dive
Java Architect Essentials
Java Architect Essentials
May 19, 2026 · Backend Development

Why Storing Tokens in Redis Is the Right Answer in Interviews

The article explains why many interviewers mock the Redis‑based token design, then systematically presents technical and security reasons—controllable logout, multi‑device SSO, high performance, dynamic permissions—and provides concrete implementation details, comparison with pure JWT, and best‑practice responses.

Backend SecurityJWTRedis
0 likes · 6 min read
Why Storing Tokens in Redis Is the Right Answer in Interviews
Java Tech Enthusiast
Java Tech Enthusiast
May 14, 2026 · Information Security

Why JWT Still Needs Redis Despite Its Stateless Promise

Although JWT is marketed as a stateless, database‑free authentication method, real‑world applications often store token identifiers in Redis to handle logout, password changes, and token renewal, which reintroduces state and a database lookup.

JWTRedisToken blacklist
0 likes · 6 min read
Why JWT Still Needs Redis Despite Its Stateless Promise
Linyb Geek Road
Linyb Geek Road
May 14, 2026 · Backend Development

How to Build a Reliable 15‑Minute Order Auto‑Cancel in Java: From Naïve @Scheduled to Production‑Ready Redisson

The article walks through the pitfalls of a seemingly simple 15‑minute unpaid‑order cancellation requirement, evaluates five implementation options—from a basic @Scheduled poll to Redis ZSet, DelayQueue, and distributed Redisson solutions—culminating in a production‑grade Redisson scheduler with optimistic‑lock safeguards and detailed best‑practice guidelines.

JavaOrder TimeoutRedis
0 likes · 13 min read
How to Build a Reliable 15‑Minute Order Auto‑Cancel in Java: From Naïve @Scheduled to Production‑Ready Redisson
Architect's Guide
Architect's Guide
May 11, 2026 · Backend Development

Why UUID Falls Short and How Snowflake Solves Distributed ID Generation

The article examines the limitations of UUIDs for distributed systems, outlines the strict requirements for global unique IDs, compares common approaches such as database auto‑increment and Redis, and provides a detailed analysis of Twitter's Snowflake algorithm with its structure, Java implementation, advantages, drawbacks, and mitigation strategies.

Distributed IDJavaRedis
0 likes · 14 min read
Why UUID Falls Short and How Snowflake Solves Distributed ID Generation
Java Tech Enthusiast
Java Tech Enthusiast
May 10, 2026 · Databases

Why Can Redis Handle Over 100k QPS? A Deep Technical Breakdown

Redis can sustain over 100,000 queries per second thanks to four key factors: pure in‑memory storage, highly optimized data structures such as SDS and ziplist, a single‑threaded event loop with epoll‑based I/O multiplexing, and optional multi‑threaded network handling introduced in Redis 6.0.

Data StructuresIO MultiplexingIn-Memory Database
0 likes · 10 min read
Why Can Redis Handle Over 100k QPS? A Deep Technical Breakdown
Su San Talks Tech
Su San Talks Tech
May 9, 2026 · Databases

Why Can Redis Handle Over 100,000 QPS? A Deep Technical Breakdown

Redis can sustain over 100,000 queries per second thanks to four key pillars—memory‑first storage, highly optimized data structures like SDS and skip lists, a single‑threaded event loop with epoll multiplexing, and multi‑core I/O threading—each explained with benchmarks, code samples, and real‑world comparisons.

Data StructuresIO MultiplexingQPS
0 likes · 10 min read
Why Can Redis Handle Over 100,000 QPS? A Deep Technical Breakdown
Node.js Tech Stack
Node.js Tech Stack
May 9, 2026 · Artificial Intelligence

Redis Founder Crafts DeepSeek V4 AI Inference Engine, Node.js Star Applauds

Redis creator Salvatore Sanfilippo (antirez) released DS4, a Metal‑only C inference engine tailored for DeepSeek V4 Flash on high‑end Macs, featuring narrow model focus, 2‑bit quantization, disk‑based KV cache, benchmark speeds around 26 tokens/s, and a dual OpenAI/Anthropic compatible server.

2-bit quantizationAI inference engineDeepSeek-V4
0 likes · 13 min read
Redis Founder Crafts DeepSeek V4 AI Inference Engine, Node.js Star Applauds
Ops Community
Ops Community
May 7, 2026 · Databases

How to Prevent Redis Data Loss: In‑Depth RDB and AOF Backup Strategies

This article walks operations engineers through the root causes of Redis data loss, explains the inner workings of RDB snapshots and AOF append‑only files, compares their trade‑offs, and provides concrete configuration, backup scripts, recovery procedures, and scenario‑based recommendations to keep data safe while maintaining performance.

AOFConfigurationPersistence
0 likes · 34 min read
How to Prevent Redis Data Loss: In‑Depth RDB and AOF Backup Strategies
dbaplus Community
dbaplus Community
May 6, 2026 · Backend Development

Why Scheduled Tasks Fail for Million‑Scale Order Cancellation and How Redis Solves It

The article dissects a common interview question about automatically canceling unpaid orders after 30 minutes, explains why naïve cron‑based scans are unsuitable for tens of millions of rows, and presents three progressively robust solutions using Redis expiration, Redis ZSet polling, and message‑queue or time‑wheel architectures.

Delayed TaskMessage QueueOrder Cancellation
0 likes · 10 min read
Why Scheduled Tasks Fail for Million‑Scale Order Cancellation and How Redis Solves It
Su San Talks Tech
Su San Talks Tech
May 6, 2026 · Backend Development

11 Essential Redis Use Cases Every Backend Engineer Should Know

This article walks through eleven practical Redis scenarios—from classic caching and distributed locks to rate limiting, leaderboards, timelines, social graph operations, lightweight queues, Bloom filters, hash‑based object storage, unique‑counting, and delayed tasks—providing code samples, advantages, drawbacks, and when to apply each pattern.

CachingDistributed LockRedis
0 likes · 15 min read
11 Essential Redis Use Cases Every Backend Engineer Should Know
MaGe Linux Operations
MaGe Linux Operations
Apr 30, 2026 · Databases

How a Redis Connection Saturation Triggered a Service Avalanche – A Detailed Investigation

An online education platform experienced a massive outage when Redis hit its maxclients limit, causing authentication, session, and cache services to fail, which cascaded into a business avalanche; the article walks through the connection mechanism, root‑cause analysis, rapid mitigation steps, and long‑term safeguards.

Connection PoolJedisMonitoring
0 likes · 20 min read
How a Redis Connection Saturation Triggered a Service Avalanche – A Detailed Investigation
Architect Chen
Architect Chen
Apr 29, 2026 · Backend Development

The Ultimate Redis Guide: In‑Depth Overview of Architecture, Data Types, and Advanced Features

This comprehensive Redis guide covers its role as a core component in large‑scale architectures, explains common use cases, walks through installation and configuration options, details all primary data structures with commands and examples, and explores persistence, transactions, Lua scripting, replication, Sentinel, and cluster modes.

CacheData StructuresPersistence
0 likes · 18 min read
The Ultimate Redis Guide: In‑Depth Overview of Architecture, Data Types, and Advanced Features
Architect's Tech Stack
Architect's Tech Stack
Apr 29, 2026 · Databases

Redis 8.0 Beyond Simple Caching: 16 Powerful Use Cases You Must Try

Redis 8.0 consolidates many previously external modules—JSON, time‑series, vector search, probabilistic data structures, and more—into a single package, and this article walks through 16 concrete scenarios ranging from field‑level cache expiration to AI‑ready vector similarity search, showing exact commands and when to prefer each feature.

CachingDistributed LockFull-Text Search
0 likes · 19 min read
Redis 8.0 Beyond Simple Caching: 16 Powerful Use Cases You Must Try
Kuaishou Tech
Kuaishou Tech
Apr 29, 2026 · Operations

Boosting Oncall Interception from 15% to 55%: KOncall’s AI‑Driven Evolution at Kuaishou

Kuaishou’s R&D efficiency team built the KOncall intelligent on‑call platform, integrating LLM‑based retrieval‑augmented generation, Redis Pub/Sub streaming, OCR multimodal parsing, FAQ knowledge ops, and custom reranking, which raised automated query interception from 15% to 55% and processed over 116 000 requests, turning on‑call from a bottleneck into a capability starter.

AI OperationsIncident ManagementKnowledge Management
0 likes · 26 min read
Boosting Oncall Interception from 15% to 55%: KOncall’s AI‑Driven Evolution at Kuaishou
IoT Full-Stack Technology
IoT Full-Stack Technology
Apr 29, 2026 · Databases

16 Practical Redis Use Cases You Should Know

This article walks through sixteen common Redis scenarios—including caching hot data, sharing state across services, implementing distributed locks, generating global IDs, counting events, rate limiting, bitmap statistics, shopping carts, timelines, message queues, lotteries, likes, tagging, product filtering, and leaderboards—each illustrated with concrete commands and code snippets.

BitmapsCachingDistributed Lock
0 likes · 9 min read
16 Practical Redis Use Cases You Should Know
IoT Full-Stack Technology
IoT Full-Stack Technology
Apr 29, 2026 · Databases

10+ Practical Redis Use Cases You Can Implement Today

This article walks through more than ten common Redis scenarios—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmap statistics, shopping carts, timelines, message queues, lotteries, likes, product tagging, filtering, follow/fan relationships, and ranking—showing concrete command examples and code snippets for each.

CachingDistributed LockFollow System
0 likes · 9 min read
10+ Practical Redis Use Cases You Can Implement Today
Top Architect
Top Architect
Apr 28, 2026 · Backend Development

Elegant API Rate Limiting with Spring Interceptor and Redis

This article demonstrates a step‑by‑step implementation of API anti‑brush (rate limiting) using a Spring Interceptor combined with Redis, explains how to configure time windows and request limits, introduces a custom @AccessLimit annotation for fine‑grained control, discusses path‑parameter pitfalls, real‑IP handling, and shares practical testing results.

API SecurityJavaRedis
0 likes · 20 min read
Elegant API Rate Limiting with Spring Interceptor and Redis
Code Mala Tang
Code Mala Tang
Apr 28, 2026 · Backend Development

Redis No Longer Dominates: Discover the Best Python Caching Alternatives

A benchmark of Redis, Memcached, DragonflyDB, and Cashews using the same FastAPI workload reveals that Redis falls behind on latency, throughput, and memory efficiency, while DragonflyDB and Cashews offer superior performance and developer experience for Python caching.

CachingCashewsDragonflyDB
0 likes · 11 min read
Redis No Longer Dominates: Discover the Best Python Caching Alternatives
Java Backend Full-Stack
Java Backend Full-Stack
Apr 27, 2026 · Databases

Proven Redis Tuning Techniques for Production Environments

This article compiles practical, interview‑ready Redis tuning tips—from strict memory limits and eviction policies to avoiding big keys, hot keys, slow commands, and optimizing persistence, networking, and high‑availability settings—so you can confidently handle Redis performance questions in real‑world deployments.

ConfigurationHigh AvailabilityMemory Management
0 likes · 9 min read
Proven Redis Tuning Techniques for Production Environments
LuTiao Programming
LuTiao Programming
Apr 26, 2026 · Databases

Uncovering JRedis: The Truth Behind Redis’s High‑Performance Architecture

The article dissects Redis’s internal architecture—its single‑threaded model, I/O multiplexing, specialized data structures, persistence mechanisms, Lua scripting, memory management, clustering, and monitoring—explaining how each design choice contributes to extreme performance and outlining the trade‑offs and best‑practice scenarios for using or avoiding Redis.

Data StructuresI/O multiplexingJRedis
0 likes · 10 min read
Uncovering JRedis: The Truth Behind Redis’s High‑Performance Architecture
Java Backend Full-Stack
Java Backend Full-Stack
Apr 26, 2026 · Databases

Mastering Redis: Core Concepts, Practical Roadmap, and Advanced Techniques

This comprehensive guide outlines a step‑by‑step learning path for Redis, covering foundational commands, core data structures, high‑performance internals, persistence options, clustering, common caching pitfalls, performance tuning, monitoring, source‑code exploration, and recommended resources for becoming a Redis expert.

CachingData StructuresDistributed Lock
0 likes · 9 min read
Mastering Redis: Core Concepts, Practical Roadmap, and Advanced Techniques
Architect's Guide
Architect's Guide
Apr 26, 2026 · Backend Development

Building a Distributed Captcha Login with SpringBoot and Redis

This article walks through the design and implementation of a distributed image‑captcha login system using SpringBoot, Kaptcha, and Redis, comparing traditional session‑based approaches with a front‑back‑end separated architecture and providing complete code examples for each component.

Redisbackendcaptcha
0 likes · 14 min read
Building a Distributed Captcha Login with SpringBoot and Redis
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 24, 2026 · Backend Development

Build a Millisecond‑Level Real‑Time Online System with Spring Boot, WebSocket, and Redis

This article demonstrates how to create a millisecond‑level real‑time online user tracking system using Spring Boot 3.5, WebSocket with STOMP, and Redis pub/sub, covering environment setup, Maven dependencies, server‑side configuration, presence services, event listeners, and a simple front‑end page.

JavaReal-timeRedis
0 likes · 10 min read
Build a Millisecond‑Level Real‑Time Online System with Spring Boot, WebSocket, and Redis
Architect Chen
Architect Chen
Apr 23, 2026 · Databases

The Most Complete Redis Configuration Guide with Illustrated Examples

This article provides a thorough walkthrough of Redis configuration, covering the location of the redis.conf file, how to list all settings with CONFIG GET *, modify parameters via CONFIG SET, and detailed explanations of common options such as bind address, port, timeout, log level, database count, daemonization, log file, client limits, memory limits, persistence settings, replication, and password protection, each illustrated with concrete command examples.

CONFIGConfigurationRedis
0 likes · 6 min read
The Most Complete Redis Configuration Guide with Illustrated Examples
Architect Chen
Architect Chen
Apr 23, 2026 · Databases

How Redis Handles 1 Million Concurrent Connections: 4 Key Techniques

Redis achieves million‑level concurrency by keeping all data in RAM, using epoll/kqueue for non‑blocking I/O, employing highly optimized data structures with O(1) or O(log N) operations, and evolving from a single‑threaded core to optional multi‑threaded I/O, boosting throughput up to 12×.

Data StructuresHigh concurrencyI/O multiplexing
0 likes · 4 min read
How Redis Handles 1 Million Concurrent Connections: 4 Key Techniques
Java Tech Workshop
Java Tech Workshop
Apr 22, 2026 · Information Security

Stateless Authentication in SpringBoot with JWT: Complete Implementation Guide

This article explains why traditional session authentication is unsuitable for distributed micro‑service systems, introduces JWT as a stateless alternative, and provides a step‑by‑step SpringBoot implementation—including double‑token handling, Redis blacklist logout, interceptor configuration, and end‑to‑end testing—complete with code snippets and best‑practice recommendations.

JWTRedisToken
0 likes · 30 min read
Stateless Authentication in SpringBoot with JWT: Complete Implementation Guide
IoT Full-Stack Technology
IoT Full-Stack Technology
Apr 22, 2026 · Backend Development

A Lightweight Spring Boot Starter for Anti‑Repeat Submissions and Rate Limiting – Now on Maven Central

Guardian is a lightweight Spring Boot starter that provides both anti‑repeat‑submission protection and API rate limiting; it supports annotation and YAML configuration, flexible key scopes (user, IP, global), Redis or local storage, customizable response modes, white‑list handling, and built‑in observability, making it a drop‑in solution for single‑service projects.

API protectionAnnotationRedis
0 likes · 16 min read
A Lightweight Spring Boot Starter for Anti‑Repeat Submissions and Rate Limiting – Now on Maven Central
Java Captain
Java Captain
Apr 21, 2026 · Backend Development

Why Storing Tokens in Redis Beats Stateless JWT in Real‑World Interviews

The article explains why many interviewers dismiss Redis‑backed token storage as a bad design, then systematically demonstrates how Redis + token offers controllable logout, multi‑device support, high performance, dynamic permission refresh, and scenario‑driven architecture choices, providing concrete response scripts and advanced enhancements for interview success.

Interview TipsJWTRedis
0 likes · 6 min read
Why Storing Tokens in Redis Beats Stateless JWT in Real‑World Interviews
Black & White Path
Black & White Path
Apr 21, 2026 · Information Security

A Full-Scale Penetration Test Walkthrough: From MSSQL Weak Passwords to Nacos N‑Day Exploits

This article documents a complete penetration test on a newly deployed environment, detailing how weak credentials, unauthenticated services, and misconfigurations in MSSQL, Nacos, Oracle, Telnet, OA, NC, Redis, Spring, and frontend assets were systematically discovered and exploited, with step‑by‑step screenshots illustrating each compromise.

MSSQLOracleRedis
0 likes · 6 min read
A Full-Scale Penetration Test Walkthrough: From MSSQL Weak Passwords to Nacos N‑Day Exploits
Programmer XiaoFu
Programmer XiaoFu
Apr 20, 2026 · Artificial Intelligence

How Java + LangChain4j Can Eliminate Messy Chunking for High‑Quality RAG Document Splitting

The article explains why fixed‑size chunking harms RAG recall, demonstrates three semantic‑chunking strategies—including recursive punctuation splitting, overlapping windows, and parent‑child document mapping—and provides complete Java/LangChain4j code that integrates tokenizers, Redis, and Qdrant to boost retrieval performance.

EmbeddingJavaLangChain4j
0 likes · 10 min read
How Java + LangChain4j Can Eliminate Messy Chunking for High‑Quality RAG Document Splitting
Coder Trainee
Coder Trainee
Apr 19, 2026 · Backend Development

How to Optimize Performance and Deploy a Production‑Ready Blog System

This article walks through a complete performance‑optimization and deployment pipeline for a Spring Boot blog, covering multi‑level caching with Caffeine and Redis, database indexing and cursor pagination, read‑write splitting, asynchronous processing, rate limiting, Docker multi‑stage builds, Nginx reverse‑proxy setup, Actuator monitoring, custom metrics, health checks, alerting, JMeter load testing, and JVM tuning.

CaffeineDockerPerformance Optimization
0 likes · 17 min read
How to Optimize Performance and Deploy a Production‑Ready Blog System
Java Architect Handbook
Java Architect Handbook
Apr 18, 2026 · Databases

Redis Persistence Deep Dive: RDB, AOF, and Hybrid Strategies for Interview Success

This article provides a comprehensive analysis of Redis persistence mechanisms—including RDB snapshots, AOF append‑only logs, and the hybrid RDB+AOF mode—covering their architectures, trigger methods, performance trade‑offs, rewrite processes, interview‑focused questions, and practical recommendations for production environments.

AOFHybridPersistence
0 likes · 11 min read
Redis Persistence Deep Dive: RDB, AOF, and Hybrid Strategies for Interview Success
java1234
java1234
Apr 18, 2026 · Backend Development

Beyond Simple Caching: 8 Essential Redis Use Cases for Java Backend Engineers

This guide walks Java backend developers through Redis’s eight core scenarios—caching, distributed locks, rate limiting, session sharing, leaderboards, counters, message and delay queues, bitmap statistics, and geolocation—providing complete code, diagrams, and production‑grade best practices.

CacheDistributed LockGEO
0 likes · 21 min read
Beyond Simple Caching: 8 Essential Redis Use Cases for Java Backend Engineers
Java Web Project
Java Web Project
Apr 18, 2026 · Information Security

How a Midnight SMS Scam Revealed the Need for a Multi‑Layer Anti‑Abuse System

A night‑time SMS billing attack that drained ¥11,500 in two hours exposed flaws in a naïve Session‑based verification design, prompting a detailed, five‑layer defense architecture that combines gateway rate limiting, Redis token‑bucket controls, advanced captcha tracking, device fingerprinting, blacklist automation, and honey‑pot tactics to raise attack costs.

NGINXRedisanti-abuse
0 likes · 14 min read
How a Midnight SMS Scam Revealed the Need for a Multi‑Layer Anti‑Abuse System
Architect's Guide
Architect's Guide
Apr 18, 2026 · Databases

How to Import 1 Billion Records into MySQL at Lightning Speed

This article analyzes the constraints of loading a billion 1‑KB log records from HDFS/S3 into MySQL, evaluates single‑table limits, proposes batch inserts, sharding, file‑reading techniques, task coordination with Redis, Redisson, and Zookeeper, and offers practical performance‑tuning recommendations.

Bulk InsertPerformance TuningRedis
0 likes · 21 min read
How to Import 1 Billion Records into MySQL at Lightning Speed
AI Tech Publishing
AI Tech Publishing
Apr 16, 2026 · Cloud Native

Deploying a Stateful AI Agent on a Stateless Web Architecture: Challenges, Solutions, and Code Walkthrough

This article analyzes the fundamental conflict between stateful AI agents and the inherently stateless, distributed nature of modern web services, explores time, state, and execution model mismatches, and presents a practical Agent‑as‑API solution using FastAPI, Redis, SSE, and Kubernetes to achieve scalable, fault‑tolerant deployments.

AI AgentFastAPIRedis
0 likes · 30 min read
Deploying a Stateful AI Agent on a Stateless Web Architecture: Challenges, Solutions, and Code Walkthrough
Java Tech Workshop
Java Tech Workshop
Apr 16, 2026 · Backend Development

Implementing API Rate Limiting in Spring Boot with AOP

This tutorial walks through why API rate limiting is a critical first line of defense for backend services, compares fixed‑window and sliding‑window strategies, and shows how to create a custom @RateLimit annotation, utility classes, an AOP aspect, Redis or local storage, and unified exception handling, providing complete code and test scenarios for Spring Boot 2.7.x.

AOPFixed WindowJava
0 likes · 31 min read
Implementing API Rate Limiting in Spring Boot with AOP
Lobster Programming
Lobster Programming
Apr 15, 2026 · Databases

Choosing the Right Redis Architecture: From Single Node to Cluster

This article reviews the main Redis deployment options—including single‑node, master‑slave with Sentinel, sharding via consistent hashing, and Redis Cluster—explaining their advantages, high‑availability mechanisms, scalability limits, and recommending suitable scenarios for each architecture.

High AvailabilityRedisSharding
0 likes · 7 min read
Choosing the Right Redis Architecture: From Single Node to Cluster
Coder Trainee
Coder Trainee
Apr 14, 2026 · Operations

5 Production Nightmares in an Education Mini‑Program and How to Avoid Them

The author recounts five critical production incidents that crippleed an education mini‑program—Redis connection‑pool exhaustion, duplicate bookings, double refunds, mis‑firing no‑show jobs, and inventory oversell—detailing root causes, concrete fixes, and hard‑won lessons for building resilient backend services.

Distributed LockMonitoringRedis
0 likes · 10 min read
5 Production Nightmares in an Education Mini‑Program and How to Avoid Them
dbaplus Community
dbaplus Community
Apr 12, 2026 · Backend Development

Can PostgreSQL Replace Redis? Performance, Cost, and Migration Insights

This article examines how PostgreSQL can take over Redis' roles—caching, pub/sub, and job queues—by leveraging unlogged tables, LISTEN/NOTIFY, and SKIP LOCKED, presenting cost savings, benchmark results, migration steps, and code examples for a practical backend replacement.

CachingPostgreSQLRedis
0 likes · 17 min read
Can PostgreSQL Replace Redis? Performance, Cost, and Migration Insights
LuTiao Programming
LuTiao Programming
Apr 11, 2026 · Backend Development

Why Simple Spring Boot APIs Slow Down Under Load and How Proper Redis Caching Fixes It

The article walks through a step‑by‑step integration of Redis caching into a Spring Boot application, showing how to add dependencies, configure connections, enable caching annotations, customize serialization, simulate slow data sources, and fine‑tune TTLs to turn laggy endpoints into smooth, high‑throughput services.

CachingJavaRedis
0 likes · 11 min read
Why Simple Spring Boot APIs Slow Down Under Load and How Proper Redis Caching Fixes It