Tagged articles

Redis

3563 articles · Page 3 of 36
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
Cloud Architecture
Cloud Architecture
May 27, 2026 · Information Security

Mastering Dual Token Authentication: From Architecture Design to Production Deployment

This comprehensive guide explains why many teams struggle with dual‑token implementations, outlines the three core goals of the mechanism, details threat modeling, design principles, data modeling, JWT claim choices, atomic refresh rotation with Redis Lua, and provides production‑ready Spring Boot code, observability, scaling and security hardening recommendations.

Access TokenAuthenticationJWT
0 likes · 35 min read
Mastering Dual Token Authentication: From Architecture Design to Production Deployment
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.

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

7 Distributed Lock Implementations and Real‑World Pitfalls

The article explains why local locks fail in multi‑machine deployments, defines the three essential properties of a correct distributed lock, walks through seven Redis‑based lock solutions with code samples, highlights common production pitfalls, and provides a decision tree for selecting the right approach.

Java concurrencyRedisRedisson
0 likes · 10 min read
7 Distributed Lock Implementations and Real‑World Pitfalls
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.

DelayQueueMessage QueueRabbitMQ
0 likes · 7 min read
Why Using Redis Expiration Listener for Order Cancellation Is a Bad Idea
Subtle Storm
Subtle Storm
May 26, 2026 · Cloud Native

Structuring a High-Concurrency System Design Paper for the 2026 Soft Exam

The article outlines a step‑by‑step framework for writing a high‑concurrency system design paper, covering project background, performance challenges, six concrete technical solutions—including multi‑level caching, async processing, rate limiting, database optimization, microservice decomposition, and elastic scaling—and how to quantify their impact with real data.

CachingHigh ConcurrencyKubernetes
0 likes · 6 min read
Structuring a High-Concurrency System Design Paper for the 2026 Soft Exam
Three Knives
Three Knives
May 25, 2026 · Databases

Redisun 1.4.0: A 33KB Java Redis Client That Beats Redisson by 8×

Redisun 1.4.0 is a 33KB Java Redis client that uses connection‑reuse and Java AIO to achieve up to ten‑fold higher throughput than traditional clients such as Redisson, Lettuce and Jedis, while reducing startup time, memory usage, image size and bandwidth, and it offers a simple Maven dependency and API.

AIOJavaPerformance Benchmarking
0 likes · 5 min read
Redisun 1.4.0: A 33KB Java Redis Client That Beats Redisson by 8×
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 ShardingHigh ConcurrencyHot Key Detection
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.

ClusteringMonitoringPersistence
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.

Bloom FilterCache AvalancheCache Breakdown
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.

AuthenticationBackend SecurityJWT
0 likes · 6 min read
Why Storing Tokens in Redis Is the Right Answer in Interviews
samdeepthink
samdeepthink
May 17, 2026 · Backend Development

Final Episode: Building a Million‑Concurrent Product System

This article reviews the complete C‑end product system built for billions of users, covering demand analysis, Java migration, high‑concurrency read service design, launch safeguards, and a detailed list of proven caching and traffic‑isolation techniques validated in production.

CachingEAV modelHigh Concurrency
0 likes · 9 min read
Final Episode: Building a Million‑Concurrent Product System
Subtle Storm
Subtle Storm
May 15, 2026 · Backend Development

Key Exam Topics for Architects: Cache Penetration, Cache Breakdown, and Cache Avalanche

The article explains how cache penetration, cache breakdown, and cache avalanche all stem from cache layer failures that let requests flood the database, compares their triggers, impact scopes and risk levels, and presents practical mitigation techniques such as empty‑value caching, Bloom filters, mutex locks, logical expiration, TTL randomization, and multi‑level caching.

Bloom FilterCache AvalancheCache Breakdown
0 likes · 6 min read
Key Exam Topics for Architects: Cache Penetration, Cache Breakdown, and Cache Avalanche
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.

AuthenticationJWTRedis
0 likes · 6 min read
Why JWT Still Needs Redis Despite Its Stateless Promise
samdeepthink
samdeepthink
May 14, 2026 · Backend Development

Designing a Group Order Module: Unified Payment and Post‑Payment Cost Splitting

This article details a production‑grade group‑order system where a single initiator pays the total order, then uses WeChat's group‑collection API to split costs among participants, covering the full workflow, data model, Redis caching strategy, payment callbacks, cost‑allocation formulas, state machine, and operational constraints.

BackendMySQLRedis
0 likes · 19 min read
Designing a Group Order Module: Unified Payment and Post‑Payment Cost Splitting
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.

JavaOptimistic LockRedis
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
Cloud Architecture
Cloud Architecture
May 13, 2026 · Backend Development

Mastering Spring Boot Data Access: From ORM and Caching to Search and Distributed Consistency

This extensive guide redesigns Spring Boot data‑access for high‑traffic e‑commerce, explaining why traditional JPA‑Redis‑Elasticsearch thinking fails, then detailing a multimodal architecture that assigns strong‑consistency, hot‑read, document, and search responsibilities to MySQL, Redis, MongoDB and Elasticsearch, with production‑grade code, CDC pipelines, distributed‑transaction patterns, caching strategies, observability, and cloud‑native deployment.

CDCCachingDistributed Transactions
0 likes · 49 min read
Mastering Spring Boot Data Access: From ORM and Caching to Search and Distributed Consistency
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.

BackendJavaMySQL
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
samdeepthink
samdeepthink
May 10, 2026 · Backend Development

Why Debugging Is the Best Way to Master Framework Source Code

The author argues that understanding frameworks through a debugging mindset and concise demo programs—such as inspecting Redis’s single‑threaded model, Spring’s circular‑dependency resolution, ThreadPoolExecutor’s rejection policy, and HashMap’s resize behavior—provides deeper insight than memorization, and shows how to isolate problems into minimal, testable units.

FrameworksHashMapJava
0 likes · 4 min read
Why Debugging Is the Best Way to Master Framework Source Code
Cloud Architecture
Cloud Architecture
May 9, 2026 · Backend Development

High‑Concurrency Flash‑Sale Blueprint: Redis Atomic Stock and Kafka Throttling

The article presents a production‑grade, scalable flash‑sale architecture that combines Redis atomic inventory deduction, Kafka asynchronous peak‑shaving, and careful database finalization, detailing each layer’s goals, pre‑filtering techniques, Lua scripting, idempotency, capacity planning, monitoring, and compensation strategies to prevent overselling and ensure reliability.

High ConcurrencyJavaKafka
0 likes · 31 min read
High‑Concurrency Flash‑Sale Blueprint: Redis Atomic Stock and Kafka Throttling
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.

AOFPersistenceRDB
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 QueueRedis
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.

Bloom FilterCachingRedis
0 likes · 15 min read
11 Essential Redis Use Cases Every Backend Engineer Should Know
Tinker Programmer
Tinker Programmer
May 4, 2026 · Fundamentals

Master LRU & LFU Cache Strategies for Interview Success

This article explains why LRU needs a doubly linked list, how to achieve O(1) LFU with two hash maps and a minFreq pointer, and why Redis uses approximate LRU and an 8‑bit Morris counter for LFU, providing full Java, Go, and Python implementations.

Cache EvictionGoJava
0 likes · 5 min read
Master LRU & LFU Cache Strategies for Interview Success
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.

JedisMonitoringOperations
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.

ClusterData StructuresLua scripting
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.

CachingLeaderboardRedis
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 operationsLLMOCR
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.

BitmapsCachingLeaderboard
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.

BitmapCachingFollow 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 SecurityInterceptorJava
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.

Redisconfigurationhigh availability
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
Cloud Architecture
Cloud Architecture
Apr 26, 2026 · Backend Development

Redis Object Storage Best Practices: String vs Hash, Big‑Key Splitting, Hot‑Key Handling, and Thread Model Explained

This article walks through production‑grade Redis object‑storage design, comparing String and Hash data structures, explaining why large keys and hot keys can cripple performance, and presenting a decision tree, split strategies, thread‑model insights, code samples, and monitoring recommendations to build a scalable, observable cache layer.

BigKeyCacheDesignHotKey
0 likes · 34 min read
Redis Object Storage Best Practices: String vs Hash, Big‑Key Splitting, Hot‑Key Handling, and Thread Model Explained
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.

CachingClusterData Structures
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.

BackendCAPTCHARedis
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.

JavaRedisSpring Boot
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.

CONFIGRedisconfiguration
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.

AuthenticationJWTRedis
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 protectionRedisSpring Boot
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.

AuthenticationBackendInterview Tips
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.

MSSQLNacosOracle
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
Tech Ocean
Tech Ocean
Apr 19, 2026 · Backend Development

Day 10: Building a Multi‑Container FastAPI App with PostgreSQL, Redis, and Celery

This tutorial extends the previous FastAPI example by adding Redis caching and Celery asynchronous tasks, showing the project layout, a complete docker‑compose configuration, required Python packages, sample FastAPI and Celery worker code, startup commands, health‑check setup, and key takeaways.

Docker ComposeFastAPIPostgreSQL
0 likes · 4 min read
Day 10: Building a Multi‑Container FastAPI App with PostgreSQL, Redis, and Celery
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.

CaffeineDatabase IndexingDocker
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.

AOFPersistenceRDB
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.

BitmapGEOLeaderboard
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.

CAPTCHANginxRedis
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 InsertMySQLRedis
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 AgentFastAPIKubernetes
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.

ClusterRedisdeployment
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.

MonitoringMySQLOptimistic Lock
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.

BackendCachingPostgreSQL
0 likes · 17 min read
Can PostgreSQL Replace Redis? Performance, Cost, and Migration Insights
Cloud Architecture
Cloud Architecture
Apr 11, 2026 · Backend Development

Redis Cache Penetration Guide: From Fundamentals to Production‑Ready Protection

This comprehensive guide explains why cache penetration is a high‑risk issue for high‑concurrency systems, distinguishes it from cache breakdown and avalanche, and presents a layered, production‑grade defense that combines parameter validation, gateway rate‑limiting, empty‑object caching, Bloom filters, local caches, distributed locks, and observability to protect both Redis and the underlying database.

Bloom FilterCache PenetrationRedis
0 likes · 52 min read
Redis Cache Penetration Guide: From Fundamentals to Production‑Ready Protection
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
Architect's Tech Stack
Architect's Tech Stack
Apr 10, 2026 · Backend Development

Unlock Redis: 12 Powerful Patterns Every Backend Engineer Should Know

Redis offers far more than simple key‑value caching; by leveraging its rich data structures—strings, hashes, lists, sets, sorted sets, bitmaps, HyperLogLog, GEO, and streams—developers can implement distributed locks, rate limiting, leaderboards, session storage, counters, geolocation, delayed queues, messaging, bloom filters, and more, all with concise commands.

CachingData StructuresLeaderboard
0 likes · 9 min read
Unlock Redis: 12 Powerful Patterns Every Backend Engineer Should Know
Java Tech Enthusiast
Java Tech Enthusiast
Apr 10, 2026 · Databases

16 Powerful Ways to Leverage Redis in Your Applications

This article presents sixteen practical Redis use cases—from simple caching and distributed sessions to global IDs, rate limiting, bitmaps, shopping carts, timelines, message queues, likes, tags, filtering, follow relationships, and ranking—each illustrated with commands and code snippets for real‑world backend development.

CachingData StructuresMessage Queue
0 likes · 9 min read
16 Powerful Ways to Leverage Redis in Your Applications
Coder Trainee
Coder Trainee
Apr 10, 2026 · Backend Development

Designing a Million-User Flash Sale System: Lessons from a Spring Festival Red‑Envelope Project

This article walks through the core contradictions of flash‑sale systems, presents a layered architecture using CDN, Nginx, Redis, MQ and a database, explains key implementation details and common pitfalls, and offers incremental optimization steps for building a robust, high‑concurrency service.

High ConcurrencyJavaMessage Queue
0 likes · 11 min read
Designing a Million-User Flash Sale System: Lessons from a Spring Festival Red‑Envelope Project
Cloud Architecture
Cloud Architecture
Apr 9, 2026 · Databases

Redis Cluster Deep Dive: Sharding, Replication, Failover & Smart Client

This article provides a comprehensive technical analysis of Redis Cluster, covering its data sharding via 16,384 hash slots, master‑slave replication, automated failover mechanisms, and the essential role of smart clients in routing, along with practical engineering guidelines and production‑grade code examples.

ClusterRedisReplication
0 likes · 41 min read
Redis Cluster Deep Dive: Sharding, Replication, Failover & Smart Client
LuTiao Programming
LuTiao Programming
Apr 8, 2026 · Backend Development

From Chaos to Production: Building a Real Food-Delivery Backend with Spring Boot

The article chronicles the step‑by‑step evolution of a small team’s chaotic food‑delivery backend into a production‑ready system, detailing how they introduced layering, transactions, security, caching, async processing, messaging, observability, scalability, resilience, containerization, and testing using Spring Boot, Kafka, Redis, JWT, and Docker.

DockerKafkaRedis
0 likes · 10 min read
From Chaos to Production: Building a Real Food-Delivery Backend with Spring Boot
dbaplus Community
dbaplus Community
Apr 8, 2026 · Information Security

Why Storing JWT Tokens in Redis Isn’t a Flaw – When and How to Do It

The article analyzes the debate over placing JWT tokens in Redis, compares traditional session and JWT approaches, discusses security and performance trade‑offs, shows practical blacklist code, and explains when a centralized store is justified versus when true stateless JWTs are preferable.

AuthenticationJWTRedis
0 likes · 13 min read
Why Storing JWT Tokens in Redis Isn’t a Flaw – When and How to Do It
Cloud Architecture
Cloud Architecture
Apr 8, 2026 · Backend Development

How to Build a High‑Performance Sign‑In System with Spring Boot & Redis BitMap

This article walks through the design and production‑grade implementation of a high‑throughput sign‑in service using Spring Boot, Redis BitMap, Lua scripts, and asynchronous reward processing, covering why traditional relational tables fall short, key generation, offset calculation, continuous‑sign‑in logic, architecture layering, scaling, monitoring, and testing strategies.

BitmapHigh PerformanceRedis
0 likes · 35 min read
How to Build a High‑Performance Sign‑In System with Spring Boot & Redis BitMap
Top Architect
Top Architect
Apr 8, 2026 · Backend Development

How to Prevent Duplicate Submissions and Rate‑Limit APIs with the Guardian Spring Boot Starter

This article explains how the Guardian Spring Boot starter provides a lightweight solution for preventing duplicate API submissions and applying rate‑limiting, covering Maven dependencies, annotation and YAML configurations, key generation strategies, response handling modes, Redis versus local storage, context‑path compatibility, concurrency safety, and built‑in monitoring features.

API protectionBackendDuplicate Submission
0 likes · 16 min read
How to Prevent Duplicate Submissions and Rate‑Limit APIs with the Guardian Spring Boot Starter
Lobster Programming
Lobster Programming
Apr 8, 2026 · Big Data

How to Implement Real‑Time API Traffic Counting at Scale

This article compares three practical approaches—direct database storage, a Flink‑Kafka‑Redis‑Grafana pipeline, and an ELK stack—to achieve real‑time API request counting for high‑concurrency scenarios, outlining their architectures, advantages, and trade‑offs.

API analyticsELKFlink
0 likes · 6 min read
How to Implement Real‑Time API Traffic Counting at Scale
MaGe Linux Operations
MaGe Linux Operations
Apr 6, 2026 · Operations

Master Redis Monitoring: Essential Metrics, Scripts, and Alerting Strategies

This guide walks operations engineers through building a complete Redis monitoring system—covering why monitoring matters, which metrics to collect, how to gather them with Prometheus and Grafana, and practical Bash scripts for health checks, memory, persistence, replication, client connections, and alert thresholds.

GrafanaMonitoringPrometheus
0 likes · 31 min read
Master Redis Monitoring: Essential Metrics, Scripts, and Alerting Strategies
java1234
java1234
Apr 5, 2026 · Databases

Beyond Caching: 16 Powerful Redis Use Cases

This article explores sixteen practical Redis applications—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, product tags, filtering, follow relationships, and ranking—demonstrating how Redis can serve as a versatile data store beyond simple caching.

BitmapsCachingData Structures
0 likes · 9 min read
Beyond Caching: 16 Powerful Redis Use Cases
Java Architect Handbook
Java Architect Handbook
Apr 4, 2026 · Backend Development

16 Powerful Redis Use Cases Every Backend Engineer Should Know

This article presents a comprehensive guide to 16 practical Redis applications—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, queues, lotteries, likes, product tagging, filtering, social graphs, and leaderboards—complete with command examples, code snippets, and visual illustrations to help developers implement these patterns efficiently.

BitmapLeaderboardRedis
0 likes · 11 min read
16 Powerful Redis Use Cases Every Backend Engineer Should Know
Java Tech Workshop
Java Tech Workshop
Apr 4, 2026 · Backend Development

Mastering SpringBoot Cache Annotations: @Cacheable and @CacheEvict

This article explains why and how to use SpringBoot's built‑in cache annotations—@Cacheable, @CacheEvict, @CachePut and @Caching—covering environment setup, annotation attributes, practical code examples, common pitfalls, and a concise comparison to help developers simplify caching logic and keep data consistent.

CacheEvictCachePutCacheable
0 likes · 9 min read
Mastering SpringBoot Cache Annotations: @Cacheable and @CacheEvict
Java Tech Workshop
Java Tech Workshop
Apr 3, 2026 · Backend Development

How to Integrate Redis Cache into Spring Boot: Step‑by‑Step Guide

This article explains why Redis is essential for Spring Boot projects, walks through adding dependencies, configuring connection and serialization, demonstrates CRUD operations for all Redis data types, shows @Cacheable usage, and lists common pitfalls with practical solutions.

BackendJavaRedis
0 likes · 26 min read
How to Integrate Redis Cache into Spring Boot: Step‑by‑Step Guide
Architecture Digest
Architecture Digest
Apr 3, 2026 · Databases

16 Powerful Ways to Leverage Redis in Your Applications

This article presents a comprehensive guide to 16 practical Redis use cases—including caching, distributed locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, product tagging, filtering, follow‑recommendation models, and ranking—complete with code snippets and data‑structure examples.

Data StructuresLeaderboardMessage Queue
0 likes · 10 min read
16 Powerful Ways to Leverage Redis in Your Applications
Ray's Galactic Tech
Ray's Galactic Tech
Apr 1, 2026 · Operations

High‑Availability Log Platform for Ten‑Million‑Level Concurrency

This article presents a comprehensive, production‑grade design for a log collection and analysis pipeline that can reliably handle ten‑million‑level concurrent writes by combining Filebeat, Redis, Logstash, and Elasticsearch with careful buffering, scaling, and observability strategies.

ELKFilebeatHigh Concurrency
0 likes · 32 min read
High‑Availability Log Platform for Ten‑Million‑Level Concurrency
Coder Trainee
Coder Trainee
Mar 31, 2026 · Databases

How to Effectively Resolve Large Keys in Redis

This article explains why oversized Redis values cause performance issues and presents four practical techniques—splitting the key, compressing the value, applying TTL expiration, and monitoring usage—to mitigate large‑key problems.

Large KeyMonitoringRedis
0 likes · 3 min read
How to Effectively Resolve Large Keys in Redis
Java Tech Workshop
Java Tech Workshop
Mar 29, 2026 · Backend Development

Custom SpringBoot Interceptor for Login Authentication

This article explains how to implement a SpringBoot HandlerInterceptor to perform login authentication, configure it with a whitelist, return a unified 401 JSON response, and extend it with Redis token validation, advanced usage, and a comparison with servlet filters.

HandlerInterceptorInterceptorLogin Authentication
0 likes · 9 min read
Custom SpringBoot Interceptor for Login Authentication
Cloud Architecture
Cloud Architecture
Mar 27, 2026 · Backend Development

Spring Boot 3 + Redis Multi-Level Cache: From Single-Node to Production Hotspot Management

This article presents a production-ready multi-level caching architecture for Spring Boot 3 using Caffeine as L1, Redis as L2, and a database as L3, detailing design goals, hotspot mitigation, consistency handling, failure protection, implementation code, monitoring, and performance evaluation for high-concurrency e-commerce scenarios.

Cache invalidationCaffeineHotspot Management
0 likes · 36 min read
Spring Boot 3 + Redis Multi-Level Cache: From Single-Node to Production Hotspot Management
Top Architect
Top Architect
Mar 25, 2026 · Backend Development

Boost API Performance 10× with a Three‑Tier Cache Pyramid in Spring Boot 3

This article explains how to design and implement a three‑level cache pyramid (Caffeine → Redis → MySQL) in Spring Boot 3, covering configuration, a reusable CacheTemplate, hot‑key handling, random TTL, warm‑up, monitoring, and load‑test results that show latency dropping from tens of milliseconds to a few milliseconds while cutting CPU and network usage dramatically.

CachingCaffeineJava
0 likes · 11 min read
Boost API Performance 10× with a Three‑Tier Cache Pyramid in Spring Boot 3