Tagged articles

Redis

3563 articles · Page 5 of 36
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 25, 2025 · Backend Development

Choosing the Right Distributed ID Generation Strategy: Auto‑Increment, UUID, Snowflake, and Redis

This guide compares four common distributed ID generation techniques—database auto‑increment, UUID, Twitter’s Snowflake, and Redis INCR—detailing their advantages, drawbacks, and ideal use‑cases, helping architects select the most suitable method for their system’s scalability and performance requirements.

BackendRedisSnowflake
0 likes · 4 min read
Choosing the Right Distributed ID Generation Strategy: Auto‑Increment, UUID, Snowflake, and Redis
LuTiao Programming
LuTiao Programming
Dec 24, 2025 · Backend Development

Why High‑Concurrency Spring Boot APIs Fail and 6 Must‑Know Caching Strategies for 2026

The article explains that overwhelming request rates exceed database capacity, causing exponential latency, and presents six proven cache‑design techniques—including in‑process, Redis, multi‑level, cache‑aside, write‑through/write‑behind, and edge caching—to keep Spring Boot APIs stable, fast, and cost‑effective under high load.

Cache AsideCachingCaffeine
0 likes · 12 min read
Why High‑Concurrency Spring Boot APIs Fail and 6 Must‑Know Caching Strategies for 2026
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Dec 23, 2025 · Backend Development

Mastering Redis Distributed Locks: From SETNX to RedLock and WatchDog

This article walks through the evolution of Redis distributed locks—from basic SETNX mutual exclusion to atomic SET with expiration, Lua‑based safe unlocking, Redisson's WatchDog auto‑renewal, and the RedLock algorithm—highlighting pitfalls, best‑practice implementations, and interview‑style Q&A for robust production use.

JavaRedisRedisson
0 likes · 15 min read
Mastering Redis Distributed Locks: From SETNX to RedLock and WatchDog
Ray's Galactic Tech
Ray's Galactic Tech
Dec 22, 2025 · Databases

Mastering Redis: Choosing the Right Data Structure for High‑Performance Systems

Redis offers five core data types—String, Hash, List, Set, and ZSet—each acting as a high‑performance concurrent data structure that determines system throughput, latency, and stability; this guide explains their characteristics, optimal use‑cases, anti‑patterns, and practical code examples for robust architecture design.

CachingRedisbackend development
0 likes · 6 min read
Mastering Redis: Choosing the Right Data Structure for High‑Performance Systems
Code Wrench
Code Wrench
Dec 21, 2025 · Backend Development

Building a High‑Performance Go Database Access Layer for Microservices

This article dissects a production‑grade Go database access framework for microservices, covering unified interface abstraction, factory pattern for multi‑DB support, PostgreSQL array handling, read‑write splitting with load balancing, Redis cache protection, monitoring, and deployment considerations, with full code examples and open‑source links.

GORMGoRead-Write Splitting
0 likes · 11 min read
Building a High‑Performance Go Database Access Layer for Microservices
Ray's Galactic Tech
Ray's Galactic Tech
Dec 20, 2025 · Backend Development

Production-Ready Idempotency for RocketMQ Duplicate Consumption (Full Code)

To reliably handle RocketMQ's at-least-once delivery semantics, this guide explains why duplicate consumption is inevitable, outlines three defensive layers—Redis‑based idempotency, database unique constraints, and state‑machine checks—provides production‑grade Java code, and details ACK/retry strategies and monitoring practices for robust systems.

JavaRedisRocketMQ
0 likes · 9 min read
Production-Ready Idempotency for RocketMQ Duplicate Consumption (Full Code)
Su San Talks Tech
Su San Talks Tech
Dec 20, 2025 · Databases

Master RedisInsight: Install, Configure, and Use the Ultimate Redis GUI

This guide walks you through RedisInsight—a visual Redis GUI that supports clusters, SSL/TLS, and memory analysis—covering Linux installation, environment variable setup, service startup, Kubernetes deployment via YAML, and core usage such as browsing keys, executing commands, and monitoring performance.

Database GUIKubernetesLinux
0 likes · 7 min read
Master RedisInsight: Install, Configure, and Use the Ultimate Redis GUI
php Courses
php Courses
Dec 18, 2025 · Backend Development

Master Go Rate Limiting: Token Bucket, IP-Based, and Redis Distributed Strategies

This article explains how to protect Go services from overload by implementing HTTP request rate limiting using the standard token‑bucket limiter, per‑IP throttling with a map and mutex, and a distributed approach with Redis and Lua scripts, complete with practical code examples and middleware integration.

GoHTTPRedis
0 likes · 7 min read
Master Go Rate Limiting: Token Bucket, IP-Based, and Redis Distributed Strategies
NiuNiu MaTe
NiuNiu MaTe
Dec 17, 2025 · Backend Development

Master Redis Distributed Locks: Prevent Race Conditions, Zombie Locks, and Expiration Issues

This guide explains how Redis implements distributed locks, outlines common pitfalls such as lock contention, zombie locks, and mismatched expiration times, and provides step‑by‑step solutions—including single‑node SET commands, Redlock high‑availability algorithm, Lua‑based safe release, and best‑practice recommendations for real‑world deployments.

RedisRedlockdistributed lock
0 likes · 15 min read
Master Redis Distributed Locks: Prevent Race Conditions, Zombie Locks, and Expiration Issues
Code Wrench
Code Wrench
Dec 14, 2025 · Backend Development

How to Keep a Go System Stable: Middleware, Redis, MQ, and Beyond

This article breaks down the core concerns interviewers have for senior Go engineers—system stability, middleware pitfalls, Redis risk isolation, message‑queue buffering, distributed consistency, configuration management, ID design, and avalanche prevention—offering concrete insights and practical interview answers.

Distributed ConsistencyGoRedis
0 likes · 11 min read
How to Keep a Go System Stable: Middleware, Redis, MQ, and Beyond
Tech Freedom Circle
Tech Freedom Circle
Dec 13, 2025 · Backend Development

What’s Wrong with Delayed Double Delete? How Top Tech Companies Elegantly Avoid It

The article explains the delayed double‑delete cache‑invalidation pattern, its four major drawbacks in high‑concurrency environments, and presents four production‑grade alternatives—event‑driven binlog updates, distributed‑lock with versioning, write‑through proxy layers, and logical‑delete with async cleanup—used by leading Chinese internet firms to achieve reliable data consistency.

CachingRedisdatabase consistency
0 likes · 21 min read
What’s Wrong with Delayed Double Delete? How Top Tech Companies Elegantly Avoid It
Tech Freedom Circle
Tech Freedom Circle
Dec 12, 2025 · Backend Development

Why Redisson’s Reentrant Distributed Lock Relies on HINCRBY Increment and Decrement

The article explains how Redisson implements a re‑entrant distributed lock using Redis hash structures and the atomic HINCRBY command to manage client identity, re‑entry counting, concurrency safety, and graceful release, providing a complete technical analysis with code, Lua scripts, and best‑practice guidelines.

HINCRBYJavaLua script
0 likes · 34 min read
Why Redisson’s Reentrant Distributed Lock Relies on HINCRBY Increment and Decrement
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 11, 2025 · Backend Development

Why Redis Delivers Microsecond Latency: Memory‑First, Single‑Threaded, and I/O Multiplexing

Redis achieves sub‑millisecond response times by storing all data in RAM, using a single‑threaded event loop with I/O multiplexing (epoll/select/poll), and employing highly optimized data structures such as skip lists and hash tables that provide O(1) or O(log N) operations.

Data StructuresI/O multiplexingIn‑memory
0 likes · 4 min read
Why Redis Delivers Microsecond Latency: Memory‑First, Single‑Threaded, and I/O Multiplexing
dbaplus Community
dbaplus Community
Dec 8, 2025 · Databases

Which Database Wins IP Range Lookups? ClickHouse vs Doris vs Redis Benchmarks

This article presents a systematic benchmark comparing ClickHouse, Doris, and Redis for IP‑range dimension lookups using Flink‑Kafka pipelines, detailing test design, result table schema, query interfaces, and performance results across varying data rates, concluding that Redis offers the fastest and most stable query latency.

ClickHouseDatabase BenchmarkDoris
0 likes · 7 min read
Which Database Wins IP Range Lookups? ClickHouse vs Doris vs Redis Benchmarks
Architecture & Thinking
Architecture & Thinking
Dec 8, 2025 · Backend Development

Master Flash Sale Systems: Backend Strategies for Millions of Requests

This article explains the unique challenges of flash‑sale systems—massive, short‑lived traffic spikes—and presents practical backend optimizations such as front‑end request filtering, Redis‑based atomic counters, streaming queues, safe database updates, and unit‑level isolation for global deployments.

High ConcurrencyRedisatomic-operations
0 likes · 8 min read
Master Flash Sale Systems: Backend Strategies for Millions of Requests
macrozheng
macrozheng
Dec 3, 2025 · Databases

How Redis’s New Multithreaded Query Engine Boosts Vector Search Performance

Redis has introduced a multithreaded query engine that dramatically reduces latency and increases throughput—up to 16×—for vector similarity searches, enabling vertical scaling and better support for real‑time RAG applications compared to traditional single‑threaded architectures and competing vector databases.

Database ScalingRAGRedis
0 likes · 6 min read
How Redis’s New Multithreaded Query Engine Boosts Vector Search Performance
Architect's Journey
Architect's Journey
Nov 29, 2025 · Backend Development

Cache Design Guidelines: Achieve Microsecond Queries and Survive Traffic Spikes

This article outlines practical cache design principles, covering suitable scenarios, health metrics, common pitfalls like avalanche, breakdown and penetration, and concrete implementation rules for both local (Caffeine) and Redis caches to ensure microsecond‑level response and stable high‑traffic performance.

Cache AvalancheCache PenetrationCaching
0 likes · 13 min read
Cache Design Guidelines: Achieve Microsecond Queries and Survive Traffic Spikes
Top Architect
Top Architect
Nov 28, 2025 · Backend Development

How to Build a High‑Performance Flash‑Sale System: 7 Key Architecture Layers

This article explains a flash‑sale system architecture from seven dimensions—including Nginx + CDN, routing with Redis, MQ clustering, business logic, read‑write‑separated databases, security controls, and page‑level optimizations—while providing concrete Nginx configs, Redis lock strategies, and database transaction tips to handle massive concurrent requests.

BackendMQNginx
0 likes · 12 min read
How to Build a High‑Performance Flash‑Sale System: 7 Key Architecture Layers
JavaGuide
JavaGuide
Nov 27, 2025 · Backend Development

Xiaomi Java Interview Insights: Reflection, Dynamic Proxies, Redis & JWT

The article starts by highlighting Xiaomi's competitive software developer salaries, then provides a detailed Java interview guide covering reflection fundamentals, static vs dynamic proxies, SPI vs API, synchronization behavior, Redis caching strategies, and JWT authentication, complete with code examples and practical comparisons.

JWTJavaRedis
0 likes · 25 min read
Xiaomi Java Interview Insights: Reflection, Dynamic Proxies, Redis & JWT
Architect's Guide
Architect's Guide
Nov 27, 2025 · Databases

Master RedisInsight: Install, Configure, and Use the Redis GUI Tool

This guide introduces RedisInsight, a powerful Redis GUI, and provides step‑by‑step instructions for physical and Kubernetes installations, environment configuration, service startup, and basic usage including Redis setup and UI operations, all illustrated with code snippets and screenshots.

Database ManagementGUIKubernetes
0 likes · 7 min read
Master RedisInsight: Install, Configure, and Use the Redis GUI Tool
Java Baker
Java Baker
Nov 27, 2025 · Backend Development

Mastering Rate Limiting: Token Bucket & Sliding Window Algorithms in Java

This article explains the principles and implementation details of common rate‑limiting algorithms—token bucket and sliding‑window counting—including their core concepts, key processes, Java code examples, and how to extend them to distributed scenarios with Redis Lua scripts.

Redisdistributedrate limiting
0 likes · 19 min read
Mastering Rate Limiting: Token Bucket & Sliding Window Algorithms in Java
JavaGuide
JavaGuide
Nov 24, 2025 · Backend Development

Alibaba 2024 Backend Salary Ranges and Essential Interview Preparation Guide

The article details Alibaba's 2024 campus backend salary bands, compares them with peers, outlines the interview process and project presentation tips, and provides in‑depth technical tutorials on Redis Lua scripts, cache consistency, slow‑query logging, MySQL optimization, Java reflection, WebSocket vs polling, SSE, TCP/UDP, and HTTP vs HTTPS.

AlibabaBackendJava
0 likes · 24 min read
Alibaba 2024 Backend Salary Ranges and Essential Interview Preparation Guide
Ray's Galactic Tech
Ray's Galactic Tech
Nov 23, 2025 · Backend Development

Three Proven Spring Boot Strategies to Auto‑Cancel Orders After 30 Minutes

This guide walks you through three practical Spring Boot solutions—database scheduled scans, message‑queue delayed queues, and Redis key‑expiration notifications—to automatically cancel unpaid orders after 30 minutes, complete with code samples, architecture diagrams, pros and cons, and best‑practice recommendations.

BackendJavaMessage Queue
0 likes · 10 min read
Three Proven Spring Boot Strategies to Auto‑Cancel Orders After 30 Minutes
Code Wrench
Code Wrench
Nov 22, 2025 · Backend Development

Build a Production-Ready Rule Engine with Gray Release Using Go, Kafka, and Redis

Learn how to design and implement a ready-to-use rule engine combined with a gray release system using Golang, Kafka, Redis, and CEL, complete with Docker‑compose deployment, edge execution, token‑bucket throttling, and webhook actions, plus full source code for a production‑grade marketing strategy platform.

CELGoKafka
0 likes · 9 min read
Build a Production-Ready Rule Engine with Gray Release Using Go, Kafka, and Redis
Ray's Galactic Tech
Ray's Galactic Tech
Nov 21, 2025 · Databases

Redis Persistence Deep Dive: RDB, AOF, and Hybrid Persistence Explained

Redis offers three persistence options—RDB snapshots, AOF command logging, and the hybrid RDB+AOF mode introduced in Redis 4.0—each with distinct workflows, configuration settings, advantages, and trade‑offs, and the article outlines their mechanisms, pros/cons, practical configuration tips, and deployment recommendations.

AOFPersistenceRDB
0 likes · 7 min read
Redis Persistence Deep Dive: RDB, AOF, and Hybrid Persistence Explained
ITPUB
ITPUB
Nov 21, 2025 · Backend Development

How Uber Uses H3 Hexagonal Indexing to Power Real‑Time Driver Matching

This article explains how Uber solves the "nearby driver" problem by employing the open‑source H3 hexagonal spatial index, hierarchical grids, Cassandra for persistent storage, and Redis caching to deliver fast, accurate, and scalable real‑time location services.

CassandraH3Real-time Location Service
0 likes · 14 min read
How Uber Uses H3 Hexagonal Indexing to Power Real‑Time Driver Matching
macrozheng
macrozheng
Nov 21, 2025 · Backend Development

Master Java Concurrency: Locks, Singleton Patterns, ThreadLocal, Reflection and More

This article provides a comprehensive guide to Java concurrency and related concepts, covering synchronized lock upgrades, object vs class locks, lazy and double‑checked singleton implementations, ThreadLocal mechanics, reflection usage, annotation scopes, JVM class loading, and Redis cluster threading behavior.

JVMJavaRedis
0 likes · 22 min read
Master Java Concurrency: Locks, Singleton Patterns, ThreadLocal, Reflection and More
JavaGuide
JavaGuide
Nov 21, 2025 · Backend Development

Spring Boot 4.0 Released: Core New Features and Upgrade Guide

Spring Boot 4.0, built on Spring Framework 7.0, introduces HTTP Service Clients, native API versioning, full JSpecify null‑safety, Java 25 support, upgraded dependencies, Gradle 9 compatibility, Redis static master‑replica configuration, and drops Undertow, with migration advice to move through 3.5 first.

API VersioningGradle 9HTTP Service Clients
0 likes · 8 min read
Spring Boot 4.0 Released: Core New Features and Upgrade Guide
Su San Talks Tech
Su San Talks Tech
Nov 21, 2025 · Databases

Why Redis 6.0 Introduced Multithreading and How to Enable It

Redis 6.0 adds a multithreaded network I/O model, client caching, ACL and RESP3, and explains why earlier versions were single‑threaded, how the new IO threads cooperate with the main thread, and the practical steps to enable and tune multithreading for better performance.

Redisdatabase performanceio-model
0 likes · 10 min read
Why Redis 6.0 Introduced Multithreading and How to Enable It
JavaGuide
JavaGuide
Nov 20, 2025 · Backend Development

iFlytek Salary Offers Revealed + Comprehensive Java Interview Prep

The article shares iFlytek's recent campus salary packages, then dives into a detailed Java interview guide covering Redis data types, key expiration handling, thread safety, ThreadLocal usage, MySQL covering and composite indexes, slow‑query analysis, and SQL‑injection prevention techniques.

Java InterviewMySQLRedis
0 likes · 17 min read
iFlytek Salary Offers Revealed + Comprehensive Java Interview Prep
DeWu Technology
DeWu Technology
Nov 19, 2025 · Databases

How Our Self‑Built Redis Evolved: Architecture, SDK, and Performance Gains

This article details the three‑year evolution of a self‑built Redis service, covering its massive scale, architectural redesign, migration from LB to a custom DRedis SDK, same‑city active‑active near‑read support, Redis‑server version upgrades, instance specifications, proxy rate‑limiting, and extensive automation that together boost performance while cutting costs.

RedisSDKarchitecture
0 likes · 17 min read
How Our Self‑Built Redis Evolved: Architecture, SDK, and Performance Gains
SpringMeng
SpringMeng
Nov 19, 2025 · Backend Development

Building a High‑Performance Seckill System with SpringBoot, RabbitMQ and Redis (Full Code)

This article walks through the design and implementation of a complete seckill (flash‑sale) system built on SpringBoot, MyBatis, MySQL, RabbitMQ and Redis, covering double MD5 password hashing, distributed sessions, unified exception handling, caching strategies, memory flags, pre‑decrement inventory, asynchronous order processing, oversell prevention, and rate limiting, with code snippets and UI screenshots.

Distributed SessionOptimistic LockRabbitMQ
0 likes · 9 min read
Building a High‑Performance Seckill System with SpringBoot, RabbitMQ and Redis (Full Code)
Xiao Liu Lab
Xiao Liu Lab
Nov 18, 2025 · Operations

Mastering Ops: Security, High Availability, and Fault Diagnosis for Interviews

This article compiles concise, high‑scoring answers to essential operations interview questions, covering security hardening, intrusion response, high‑availability architecture, disaster‑recovery design, Redis replication and clustering, Docker fundamentals and networking, Kubernetes components, monitoring, CI/CD pipelines, and the evolving role of DevOps.

CI/CDDockerKubernetes
0 likes · 14 min read
Mastering Ops: Security, High Availability, and Fault Diagnosis for Interviews
Tech Freedom Circle
Tech Freedom Circle
Nov 16, 2025 · Databases

How Redis Pipeline Can Boost Performance 3‑12× and Impress Interviewers

This article explains Redis Pipeline’s core principle of batching commands to reduce network round‑trips, presents benchmark data showing up to 17‑fold speedups, details real‑world use cases such as cache warm‑up, heartbeat reporting, and high‑traffic events, and provides best‑practice guidelines on batch sizing, error handling, cluster constraints, and comparisons with transactions and Lua scripts.

Batch ProcessingJavaRedis
0 likes · 36 min read
How Redis Pipeline Can Boost Performance 3‑12× and Impress Interviewers
JavaGuide
JavaGuide
Nov 16, 2025 · Backend Development

ByteDance Backend Interview: Java OOM, ThreadPool Tuning, Redis & MQ

ByteDance’s recent salary announcements show higher offers up to 40K, while the company’s rigorous backend interview covers Java heap OOM analysis, JVM tuning, thread‑pool configuration, Redis expiration strategies, MQ usage, network request flow, and algorithm challenges, providing a comprehensive technical deep‑dive for candidates.

JVMJavaMessageQueue
0 likes · 24 min read
ByteDance Backend Interview: Java OOM, ThreadPool Tuning, Redis & MQ
Tech Freedom Circle
Tech Freedom Circle
Nov 15, 2025 · Databases

How to Prevent Order Loss in a 100k TPS Flash Sale When the Master DB Crashes – 5 Practical Solutions

The article dissects a high‑traffic flash‑sale interview question—how to guarantee zero order loss at 100,000 TPS when the master MySQL instance fails—by explaining the underlying performance‑consistency conflict, the three skills interviewers assess, and presenting five concrete, code‑driven solutions ranging from MySQL parameter tuning to semi‑sync replication, local message tables, group replication, and Redis‑Kafka traffic shaping.

Group ReplicationHigh ConcurrencyKafka
0 likes · 28 min read
How to Prevent Order Loss in a 100k TPS Flash Sale When the Master DB Crashes – 5 Practical Solutions
JavaGuide
JavaGuide
Nov 12, 2025 · Backend Development

Shopee Backend 2023 Salary Offers and In-Depth Interview Guide

Shopee’s 2023 backend positions offer competitive salaries ranging from 23.5k to 32k in Shenzhen, and the article provides a comprehensive interview guide covering network models, TCP handshake, HTTP/HTTPS differences, MySQL isolation levels, foreign keys, slow query optimization, JWT authentication, RBAC, and Redis sorted sets.

BackendJWTMySQL
0 likes · 31 min read
Shopee Backend 2023 Salary Offers and In-Depth Interview Guide
JD Tech
JD Tech
Nov 11, 2025 · Databases

How JIMDB’s Big‑Hot Key Strategy Boosts Cache Performance by 80%

JIMDB, a Redis‑based distributed cache, introduces the Big‑Hot Key concept and a multi‑layer proactive governance framework that dynamically identifies resource‑intensive keys, automatically mitigates them, and delivers up to an 80% performance gain while dramatically improving system stability.

Big-Hot KeyJimdbRedis
0 likes · 39 min read
How JIMDB’s Big‑Hot Key Strategy Boosts Cache Performance by 80%
JD Retail Technology
JD Retail Technology
Nov 11, 2025 · Backend Development

JIMDB’s Big-Hot Key Solution: Optimizing Distributed Cache Performance

JIMDB, a high‑performance Redis‑based distributed cache, introduces the “Big‑Hot Key” concept to dynamically identify keys that strain CPU or bandwidth, and implements a multi‑layer active governance framework—including real‑time detection, server‑side caching, circuit‑breaker, and client‑side consistency—to dramatically reduce resource consumption and boost throughput.

JimdbRedisautomatic governance
0 likes · 41 min read
JIMDB’s Big-Hot Key Solution: Optimizing Distributed Cache Performance
MaGe Linux Operations
MaGe Linux Operations
Nov 9, 2025 · Backend Development

How to Stop Redis Cache Penetration, Breakdown, and Avalanche – Proven Solutions Inside

This comprehensive guide explains the causes of Redis cache penetration, breakdown, and avalanche, and provides production‑tested solutions such as Bloom filters, distributed locks, logical expiration, random TTL, cache pre‑warming, multi‑level caching, high‑availability deployment, monitoring, and backup strategies.

Bloom FilterRedisSpring Boot
0 likes · 42 min read
How to Stop Redis Cache Penetration, Breakdown, and Avalanche – Proven Solutions Inside
Ray's Galactic Tech
Ray's Galactic Tech
Nov 9, 2025 · Databases

Mastering Redis Expiration: Strategies, Java Implementation, and Best Practices

Redis uses multiple expiration and eviction mechanisms—including lazy deletion, periodic scanning, and memory eviction—to balance performance and memory usage, and this guide explains each strategy, shows how to configure them, and provides Java/Jedis code examples for setting TTLs, handling large objects, preventing cache avalanches, and monitoring stats.

JavaJedisRedis
0 likes · 7 min read
Mastering Redis Expiration: Strategies, Java Implementation, and Best Practices
Java Companion
Java Companion
Nov 9, 2025 · Databases

Why Big Companies Avoid SET for User Data: A Redis Storage Guide

The article compares storing user objects in Redis using plain SET with JSON versus using HASH fields, providing code demos, benchmark results, memory and concurrency analysis, and practical guidelines on when to choose each approach for optimal performance and safety.

Data ModelingJavaRedis
0 likes · 9 min read
Why Big Companies Avoid SET for User Data: A Redis Storage Guide
Ray's Galactic Tech
Ray's Galactic Tech
Nov 9, 2025 · Backend Development

Hybrid Push‑Pull Timeline Architecture: Scaling Social Feeds for Billions

To serve billions of users with real‑time timelines, modern social platforms combine push‑based delivery for regular users and pull‑based retrieval for high‑profile accounts, employing hot‑cold separation, Kafka fan‑out, Redis caching, and scalable storage strategies to balance write and read loads.

KafkaPush‑PullRedis
0 likes · 9 min read
Hybrid Push‑Pull Timeline Architecture: Scaling Social Feeds for Billions
MaGe Linux Operations
MaGe Linux Operations
Nov 8, 2025 · Backend Development

Mastering Redis Cache: Prevent Penetration, Breakdown, and Avalanche with Proven Solutions

This comprehensive guide explains the three major Redis cache issues—penetration, breakdown, and avalanche—detailing their causes, impacts, and production‑ready solutions such as Bloom filters, distributed locks, logical expiration, random TTL, multi‑level caching, high‑availability setups, monitoring, backup, and best‑practice recommendations.

Bloom FilterRedisSpring Boot
0 likes · 56 min read
Mastering Redis Cache: Prevent Penetration, Breakdown, and Avalanche with Proven Solutions
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Nov 8, 2025 · Databases

Prevent Redis Cache Penetration: Bloom Filters, Empty‑Value Caching, and Rate Limiting

This article explains Redis cache penetration, its causes such as malicious attacks and faulty business logic, and presents four mitigation strategies—Bloom filters, caching empty values, rate limiting, and authentication with validation—to protect database performance and system stability.

Bloom FilterCache PenetrationEmpty Cache
0 likes · 4 min read
Prevent Redis Cache Penetration: Bloom Filters, Empty‑Value Caching, and Rate Limiting
Architect
Architect
Nov 7, 2025 · Backend Development

Mastering Idempotency: 4 Proven Strategies for Reliable APIs

This article explains four practical idempotency solutions—token tokens, database unique indexes, distributed locks, and request content digests—detailing their concepts, core keywords, and providing ready‑to‑copy Spring Boot code examples, along with implementation tips and a comparison table to help you choose the right approach for high‑concurrency APIs.

RedisSpring BootToken
0 likes · 10 min read
Mastering Idempotency: 4 Proven Strategies for Reliable APIs
dbaplus Community
dbaplus Community
Nov 5, 2025 · Databases

Why KEYS Is Dangerous in Redis and How SCAN or Indexing Solves It

The article explains why using the KEYS command in Redis is a blocking operation that can cripple production systems, demonstrates the safe, incremental SCAN approach, and proposes an index‑based architecture or replica scans for high‑frequency or offline key‑lookup scenarios.

KEYSRedisSCAN
0 likes · 8 min read
Why KEYS Is Dangerous in Redis and How SCAN or Indexing Solves It
Programmer1970
Programmer1970
Nov 5, 2025 · Backend Development

How to Ensure MySQL‑Redis Cache Consistency: Problems, Scenarios, and Solutions

This article analyses why cache consistency between MySQL and Redis breaks under high concurrency, explains the CAP perspective, walks through five typical failure scenarios, and presents concrete solutions such as delayed double‑delete, retry with MQ, binlog listening, expiration fallback, and mutex locks, ending with a decision guide for selecting the most suitable strategy.

BackendMySQLRedis
0 likes · 13 min read
How to Ensure MySQL‑Redis Cache Consistency: Problems, Scenarios, and Solutions
MaGe Linux Operations
MaGe Linux Operations
Nov 5, 2025 · Databases

Deploy Redis Sentinel for High Availability in 30 Minutes – Step‑by‑Step Guide

Learn how to set up Redis Sentinel for high‑availability caching, covering prerequisites, anti‑patterns, detailed configuration of master, replicas and Sentinel nodes, firewall rules, monitoring, failover testing, troubleshooting, performance tuning, backup, rollback and best practices—all achievable within a 30‑minute deployment.

LinuxRedisReplication
0 likes · 38 min read
Deploy Redis Sentinel for High Availability in 30 Minutes – Step‑by‑Step Guide
Xiao Liu Lab
Xiao Liu Lab
Nov 4, 2025 · Information Security

7 Essential Redis Security Baselines to Harden Your Production Deployments

This guide details seven critical Redis hardening steps—including timeout, syslog, strong password, non‑root execution, strict file permissions, trusted bind addresses, and command renaming—to transform insecure default settings into a verifiable, production‑ready security baseline.

LinuxRedisconfiguration
0 likes · 13 min read
7 Essential Redis Security Baselines to Harden Your Production Deployments
Architect
Architect
Nov 4, 2025 · Operations

How to Accurately Track API Calls per Minute: 5 Proven Monitoring Strategies

This article explores why precise per‑minute API call statistics are essential for performance bottleneck detection, capacity planning, security alerts, billing, and troubleshooting, and presents five practical implementations—including fixed‑window counters, sliding windows, AOP‑based interception, Redis time‑series storage, and Micrometer‑Prometheus integration—along with their trade‑offs and capacity‑planning guidelines.

JavaPrometheusRedis
0 likes · 25 min read
How to Accurately Track API Calls per Minute: 5 Proven Monitoring Strategies
Tech Freedom Circle
Tech Freedom Circle
Nov 4, 2025 · Backend Development

Designing a Non‑Intrusive Spring Cloud SaaS Multi‑Tenant Component for Full‑Stack Data Isolation

The article presents a step‑by‑step, code‑driven design of a Spring Cloud SaaS multi‑tenant solution that balances resource sharing and strict data isolation by using a shared‑database, shared‑schema approach with tenant_id filtering, ThreadLocal context, MyBatis‑Plus interceptors, Redis key prefixing, Sa‑Token session segregation, and Spring Boot auto‑configuration.

MyBatis-PlusRedisSa-Token
0 likes · 16 min read
Designing a Non‑Intrusive Spring Cloud SaaS Multi‑Tenant Component for Full‑Stack Data Isolation
JavaGuide
JavaGuide
Nov 4, 2025 · Backend Development

JD Backend Salary Ranges 2024 & How to Ace the Interview

The article shares recent JD backend salary data ranging from 24k to 32k RMB per month, explains the compensation structure, and provides a step‑by‑step interview preparation guide covering project presentation, JWT, Redis, thread pools, MySQL‑Elasticsearch sync, isolation levels and performance analysis.

JDJWTJava
0 likes · 21 min read
JD Backend Salary Ranges 2024 & How to Ace the Interview
Architect's Guide
Architect's Guide
Nov 4, 2025 · Backend Development

Mastering Redis Cache Eviction: Strategies, Pitfalls, and Solutions

Explore Redis cache eviction policies, understand how strategies like allkeys‑lru, volatile‑ttl, and noeviction work, and learn practical solutions for cache penetration, breakdown, and avalanche—including Bloom filters, mutex locks, and staggered expirations—to keep your backend resilient under high load.

BackendCache EvictionCache Penetration
0 likes · 10 min read
Mastering Redis Cache Eviction: Strategies, Pitfalls, and Solutions
JD Cloud Developers
JD Cloud Developers
Oct 30, 2025 · Backend Development

How a Massive Cache Key Crashed a Double‑11 System and How to Prevent It

During a Double‑11 promotion, an oversized Redis cache key caused a cascade of failures—cache miss, network bandwidth saturation, and a full‑blown cache avalanche—prompting the team to implement big‑key mitigation, compression, lock‑based cache back‑source, and monitoring measures to safeguard future deployments.

BackendBig KeyHot Key
0 likes · 8 min read
How a Massive Cache Key Crashed a Double‑11 System and How to Prevent It
vivo Internet Technology
vivo Internet Technology
Oct 29, 2025 · Databases

Why Did Redis Keys Suddenly Disappear? A Deep Dive into Memory Exhaustion and Client Buffer Overflow

This article analyzes a production incident where Redis failed to retrieve keys at 2 AM, tracing the root cause to a short‑term memory write‑full condition caused by massive GET request bursts that overflowed client output buffers, and outlines both emergency fixes and long‑term mitigations.

Client Buffer OverflowRediskey eviction
0 likes · 10 min read
Why Did Redis Keys Suddenly Disappear? A Deep Dive into Memory Exhaustion and Client Buffer Overflow
Tech Freedom Circle
Tech Freedom Circle
Oct 25, 2025 · Databases

Designing a 10 WQPS Redis Counter Component: A Systematic Timer Solution

This article presents a complete, step‑by‑step analysis of a high‑concurrency Redis counter component that supports up to 100 000 QPS, covering business pain points, architectural design, two core counting strategies, sharding, local batch optimization, code walkthroughs, and performance benchmark results.

AOPCounterHigh Concurrency
0 likes · 33 min read
Designing a 10 WQPS Redis Counter Component: A Systematic Timer Solution
Three Knives
Three Knives
Oct 25, 2025 · Backend Development

Redisun 1.0.0 Released: A Lightweight Java Redis Client for the Domestic Open‑Source Ecosystem

Redisun 1.0.0, a 33 KB Java Redis client built on the smart‑socket framework, offers lightweight packaging, high‑performance AIO communication, connection reuse, and full RESP support; the article details its architecture, core components, supported commands, Maven installation, quick‑start code, advanced SET usage, and future roadmap.

JavaRedisRedis client
0 likes · 7 min read
Redisun 1.0.0 Released: A Lightweight Java Redis Client for the Domestic Open‑Source Ecosystem
JavaGuide
JavaGuide
Oct 25, 2025 · Interview Experience

Microstrategy: A 9‑5‑Friendly Foreign Tech Company with Strong Java Interview Process

The article introduces Microstrategy, a US‑based BI firm with a large Hangzhou R&D center, outlines its generous 9‑5‑style work environment, details the interview stages—including written test, technical and non‑technical rounds—and provides concrete advice on self‑introduction, project presentation, system design, Canal‑MySQL sync, XXL‑Job video transcoding, Redis, MongoDB, SQL injection, Java exceptions, OOP concepts, and interview puzzles.

CanalJava InterviewMicrostrategy
0 likes · 18 min read
Microstrategy: A 9‑5‑Friendly Foreign Tech Company with Strong Java Interview Process
Ray's Galactic Tech
Ray's Galactic Tech
Oct 24, 2025 · Databases

Beyond Caching: 10 Powerful Redis Patterns for Distributed Systems

This guide explores ten practical Redis non‑cache patterns—including distributed locks, message queues, leaderboards, real‑time counters, Bloom filters, session stores, distributed counters, rate limiting, unique ID generation, and delay queues—detailing their data structures, key commands, and typical application scenarios.

Data StructuresNon‑Cache PatternsRedis
0 likes · 6 min read
Beyond Caching: 10 Powerful Redis Patterns for Distributed Systems
Shepherd Advanced Notes
Shepherd Advanced Notes
Oct 24, 2025 · Backend Development

Why Choose Spring Boot + DelayQueue for a Custom Distributed Delayed-Task Queue?

The article systematically analyzes common distributed delayed‑task implementations—Redis ZSet scanning, message‑queue delay features, and Redis key‑expiration listeners—highlighting their pros, cons, and suitable scenarios, then proposes a Spring Boot + DelayQueue component to achieve precise timing, dynamic delays, and robust coordination.

DelayQueueKafkaRedis
0 likes · 11 min read
Why Choose Spring Boot + DelayQueue for a Custom Distributed Delayed-Task Queue?
Efficient Ops
Efficient Ops
Oct 21, 2025 · Operations

Deploy n8n with Docker: Fast Setup, Production Config, and Database Guide

This guide explains what n8n is, compares it with Coze and Dify, and provides step‑by‑step instructions for quick installation via npx or Docker, detailed multi‑stage Dockerfile, production environment settings, database, SSL, Redis, monitoring, and backup strategies for reliable workflow automation.

PostgreSQLRedisn8n
0 likes · 8 min read
Deploy n8n with Docker: Fast Setup, Production Config, and Database Guide
JavaGuide
JavaGuide
Oct 21, 2025 · Backend Development

Xiaohongshu’s Explosive Salaries and a Complete Backend Interview Guide

The article reveals Xiaohongshu’s unusually high 2023 campus recruitment packages—over 51 w annual total—while also providing an extensive backend interview preparation guide covering TCP vs UDP differences, design patterns, workflow versus rule engines, message‑queue selection, and Redis data structures and eviction policies.

Design PatternsMessage QueueRedis
0 likes · 32 min read
Xiaohongshu’s Explosive Salaries and a Complete Backend Interview Guide
Ray's Galactic Tech
Ray's Galactic Tech
Oct 20, 2025 · Backend Development

Pessimistic, Optimistic & Distributed Locks: Core Concepts, Scenarios & Tips

This article explains the fundamental ideas behind pessimistic, optimistic, and distributed locking, compares their strengths and weaknesses, outlines typical application scenarios such as inventory deduction, banking transfers, and cache protection, and provides concrete implementation examples using SQL row locks, version fields, CAS, Redis WATCH, and Lua scripts.

Optimistic LockPessimistic LockRedis
0 likes · 8 min read
Pessimistic, Optimistic & Distributed Locks: Core Concepts, Scenarios & Tips
Qunar Tech Salon
Qunar Tech Salon
Oct 20, 2025 · Databases

Why Traditional DB Inspections Fail and AI-Powered Anomaly Detection Helps

This article examines the limitations of traditional threshold‑based database inspections, introduces AI‑driven anomaly detection techniques such as DoubleRollingAggregate, SeasonalAD, and LevelShiftAD, and details practical implementations, tuning strategies, and real‑world use cases for MySQL and Redis monitoring.

Database MonitoringMySQLRedis
0 likes · 23 min read
Why Traditional DB Inspections Fail and AI-Powered Anomaly Detection Helps
Code Ape Tech Column
Code Ape Tech Column
Oct 20, 2025 · Backend Development

Unlock Redis Performance: Master Lua Scripting in Spring Boot

This tutorial explains how to integrate Lua scripts with Spring Boot and Redis, covering Lua fundamentals, advantages, real‑world use cases, step‑by‑step implementation in Spring Boot, performance gains, error handling, security measures, and best practices for reliable backend development.

Lua scriptingRedisSpring Boot
0 likes · 21 min read
Unlock Redis Performance: Master Lua Scripting in Spring Boot
dbaplus Community
dbaplus Community
Oct 19, 2025 · Databases

How PostgreSQL 18 Made My Redis Cache Redundant (And What You Can Learn)

After disabling Redis in production and carefully testing on PostgreSQL 18, the author reduced p95 latency, simplified the system, and lowered operational overhead by replacing the cache with a covering index, a generated column, and a materialized view, while providing detailed query examples, configuration tweaks, and performance measurements.

Materialized ViewPostgreSQLRedis
0 likes · 10 min read
How PostgreSQL 18 Made My Redis Cache Redundant (And What You Can Learn)
Java Web Project
Java Web Project
Oct 19, 2025 · Databases

How to Install and Use RedisInsight for Redis Monitoring and Management

This guide walks through RedisInsight’s key features, step‑by‑step Linux installation, environment‑variable configuration, service startup, Kubernetes deployment via a yaml manifest, and basic UI operations for monitoring Redis memory, connections, and data, illustrated with concrete commands and screenshots.

CLIDatabase MonitoringKubernetes
0 likes · 6 min read
How to Install and Use RedisInsight for Redis Monitoring and Management
JavaGuide
JavaGuide
Oct 19, 2025 · Backend Development

Java Backend Guide: @Autowired vs @Resource, MySQL Engines, Redis, JVM OOM

The article shares ZTE salary offers and interview tips, then dives into technical deep‑dives on Spring bean injection annotations, compares MySQL InnoDB and MyISAM, explains Redis usage patterns, and walks through JVM OutOfMemoryError diagnosis with concrete code and tooling examples.

BackendJVMJava
0 likes · 21 min read
Java Backend Guide: @Autowired vs @Resource, MySQL Engines, Redis, JVM OOM