Tagged articles
3240 articles
Page 4 of 33
Raymond Ops
Raymond Ops
Sep 5, 2025 · Databases

Why Redis Needs a Cluster: Step‑by‑Step Setup, Configuration & Best Practices

This guide explains the need for Redis clustering to achieve high availability, walks through Redis 3.0's decentralized cluster configuration, shows how to modify redis.conf, start multiple nodes, create the cluster, use hash slots, handle failures, and connect via Java Jedis, highlighting both advantages and limitations.

ClusterConfigurationJava
0 likes · 13 min read
Why Redis Needs a Cluster: Step‑by‑Step Setup, Configuration & Best Practices
Ops Community
Ops Community
Sep 4, 2025 · Databases

Avoid Redis Nightmares: Proven Deployment and Optimization Guide

This comprehensive guide walks you through Redis production deployment, persistence strategies, performance tuning, security hardening, real‑world case studies, and failure recovery, helping you prevent common pitfalls and keep your cache layer reliable and fast.

Persistencemonitoringoptimization
0 likes · 21 min read
Avoid Redis Nightmares: Proven Deployment and Optimization Guide
Tech Freedom Circle
Tech Freedom Circle
Sep 2, 2025 · Databases

Avoid Redis Blocking: Dangerous Commands and How to Prevent Outages

In Redis's single‑threaded model, commands with O(n) or higher complexity—such as KEYS, HGETALL, LRANGE, SMEMBERS, and DEL on large keys—can block the server during traffic spikes, but using incremental scans, key splitting, and async deletion can eliminate the risk and keep services responsive.

BlockingCommand OptimizationDatabase Performance
0 likes · 23 min read
Avoid Redis Blocking: Dangerous Commands and How to Prevent Outages
Architecture Digest
Architecture Digest
Aug 30, 2025 · Backend Development

How to Build a Dynamic IP Blacklist with Nginx, Lua, and Redis

This guide explains how to create a dynamic IP blacklist that blocks malicious crawlers or users by rejecting requests from listed IPs, supports configurable expiration, and is implemented using Nginx (OpenResty), Lua scripts, and Redis for shared, lightweight, and scalable protection.

Luaip blacklistredis
0 likes · 9 min read
How to Build a Dynamic IP Blacklist with Nginx, Lua, and Redis
Java Tech Enthusiast
Java Tech Enthusiast
Aug 29, 2025 · Backend Development

Xiaohongshu Autumn 2024 Tech Interview Guide: Salary, Questions & Tips

This article outlines Xiaohongshu's 2024 autumn recruitment details, salary ranges for different offer tiers, work‑schedule changes, and provides in‑depth answers to common backend interview questions covering Redis performance, HTTP vs RPC, virtual memory layout, Go's GMP model, coroutine advantages, C++ class size, diamond inheritance, static variables, core‑dump analysis, and a median‑finding algorithm challenge.

BackendCGo
0 likes · 19 min read
Xiaohongshu Autumn 2024 Tech Interview Guide: Salary, Questions & Tips
Architect
Architect
Aug 28, 2025 · Backend Development

Mastering Redis BitMap for Efficient Sign‑In and Statistics in Spring Boot

This article explains how to implement a memory‑efficient sign‑in feature and continuous‑sign‑in statistics using Redis BitMap, covering basic commands, Spring Boot integration, key design, code examples, and advanced use cases such as cache‑penetration mitigation, providing step‑by‑step guidance for backend developers.

Backend DevelopmentBitmapSign-in
0 likes · 12 min read
Mastering Redis BitMap for Efficient Sign‑In and Statistics in Spring Boot
Top Architect
Top Architect
Aug 26, 2025 · Backend Development

Dynamic IP Blacklist with Nginx, Lua, and Redis: A Step‑by‑Step Guide

This article explains how to build a dynamic IP blacklist using Nginx, Lua scripts, and Redis, covering the problem definition, environment setup, design choices, Nginx configuration, Lua script implementation, testing, and extensions such as use‑case scenarios and advanced features.

LuaNginxdynamic blocking
0 likes · 12 min read
Dynamic IP Blacklist with Nginx, Lua, and Redis: A Step‑by‑Step Guide
Su San Talks Tech
Su San Talks Tech
Aug 26, 2025 · Backend Development

How to Build a Dynamic IP Blacklist with Nginx, Lua, and Redis

This guide explains how to create a dynamic IP blacklist that blocks malicious crawlers and users by configuring Nginx with Lua scripts and a Redis store, covering requirements, environment setup, design options, configuration files, Lua code, summary of benefits, use cases, and advanced extensions.

Backend DevelopmentLuaNginx
0 likes · 9 min read
How to Build a Dynamic IP Blacklist with Nginx, Lua, and Redis
Su San Talks Tech
Su San Talks Tech
Aug 25, 2025 · Backend Development

How to Build a High‑Concurrency Queue System with OpenResty, Lua, and Redis

This article analyzes current system performance bottlenecks, compares hard‑rate‑limiting and flexible queuing strategies, and presents a non‑intrusive traffic‑control solution built with OpenResty+Lua and Redis that offers zero‑code changes, high performance, scalability, and real‑time visual feedback for high‑concurrency scenarios.

LuaOpenRestyhigh concurrency
0 likes · 18 min read
How to Build a High‑Concurrency Queue System with OpenResty, Lua, and Redis
Java Tech Enthusiast
Java Tech Enthusiast
Aug 24, 2025 · Backend Development

Master Java Interview Essentials: OOP, Spring Beans, Redis, DB Indexes & More

This article compiles a comprehensive Java interview guide covering object‑oriented fundamentals, method overloading vs overriding, core collection implementations, Spring bean lifecycle, composite index usage, process/thread/coroutine distinctions, Linux IPC methods, design‑pattern principles, Redis roles and data types, relational vs NoSQL trade‑offs, QR‑code login design, and a classic 15‑minute brain teaser.

Design Patternsconcurrencyinterview
0 likes · 17 min read
Master Java Interview Essentials: OOP, Spring Beans, Redis, DB Indexes & More
Alibaba Cloud Native
Alibaba Cloud Native
Aug 21, 2025 · Cloud Native

How Higress AI Gateway Optimizes LLM Load Balancing with Global, Prefix, and GPU‑Aware Algorithms

This article explains why traditional load‑balancing methods fall short for large language model services and introduces Higress AI Gateway's three specialized algorithms—global minimum‑request, prefix‑matching, and GPU‑aware load balancing—detailing their design, Redis‑based implementation, deployment steps, and performance gains.

GPULLMload balancing
0 likes · 11 min read
How Higress AI Gateway Optimizes LLM Load Balancing with Global, Prefix, and GPU‑Aware Algorithms
Open Source Tech Hub
Open Source Tech Hub
Aug 21, 2025 · Backend Development

Build a Scalable Distributed Captcha Login with PHP Webman and Redis

This guide explains how to replace traditional session‑based captcha authentication with a Redis‑backed, token‑driven solution using the high‑performance PHP Webman framework and the tinywan/captcha plugin, covering architecture, generation and verification flows, installation steps, and code examples.

CaptchaDistributed SystemsPHP
0 likes · 8 min read
Build a Scalable Distributed Captcha Login with PHP Webman and Redis
Architect
Architect
Aug 20, 2025 · Backend Development

How to Build a Dynamic IP Blacklist with Nginx, Lua, and Redis

This guide explains how to create a dynamic IP blacklist using Nginx, Lua scripts, and Redis, covering requirements, environment setup, design options, Nginx configuration, Lua implementation, summary of benefits, and possible extensions for advanced security scenarios.

ip blacklistredis
0 likes · 10 min read
How to Build a Dynamic IP Blacklist with Nginx, Lua, and Redis
MaGe Linux Operations
MaGe Linux Operations
Aug 18, 2025 · Operations

Redis Cache Pitfalls: Penetration, Avalanche, Breakdown – Solutions & Real Cases

This article examines the three classic Redis caching problems—cache penetration, cache avalanche, and cache breakdown—illustrates real‑world incidents that caused system outages, and provides comprehensive mitigation techniques such as Bloom filters, null‑value caching, random expiration, multi‑level caches, logical expiration, and distributed locks, along with monitoring and disaster‑recovery practices.

CachePythonperformance
0 likes · 25 min read
Redis Cache Pitfalls: Penetration, Avalanche, Breakdown – Solutions & Real Cases
Raymond Ops
Raymond Ops
Aug 17, 2025 · Databases

Master Redis Data Types: Essential Commands and Real-World Examples

Explore comprehensive Redis data type operations—including strings, hashes, lists, sets, and sorted sets—through detailed command examples, usage scenarios, and practical tips, while also learning how to manage keys, expiration, and messaging queue concepts for effective in‑memory data handling.

Data TypesIn-Memorycommands
0 likes · 35 min read
Master Redis Data Types: Essential Commands and Real-World Examples
Open Source Tech Hub
Open Source Tech Hub
Aug 17, 2025 · Backend Development

Boost Your PHP Web App Performance with Proven Optimization Techniques

This guide outlines key factors that affect PHP web application performance and provides practical steps—including PHP environment tuning, disabling debug mode, caching strategies, session and database optimizations, Composer autoload improvements, and offline processing—to significantly speed up your app.

BackendComposerPHP
0 likes · 8 min read
Boost Your PHP Web App Performance with Proven Optimization Techniques
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Aug 14, 2025 · Backend Development

How to Build a Strictly Incremental Distributed ID System with Redis, MySQL, and Nacos

This article examines the limitations of traditional database‑based ID generation, compares common distributed ID solutions such as UUID, Snowflake, Baidu uid‑generator and Meituan Leaf, and presents a custom strictly incremental ID scheme that combines database segment allocation, Redis caching, and Nacos‑controlled mode switching.

ID generationNacosmysql
0 likes · 11 min read
How to Build a Strictly Incremental Distributed ID System with Redis, MySQL, and Nacos
Sohu Tech Products
Sohu Tech Products
Aug 13, 2025 · Backend Development

How to Build a Strictly Incremental Distributed ID System with Redis, MySQL, and Nacos

This article examines the challenges of distributed ID generation, compares common solutions like UUID and Snowflake, and presents a custom approach that combines MySQL segment tables, Redis caching, and Nacos switches to achieve high‑performance, strictly incremental IDs with automatic failover.

Backend DevelopmentDistributed SystemsID generation
0 likes · 11 min read
How to Build a Strictly Incremental Distributed ID System with Redis, MySQL, and Nacos
Raymond Ops
Raymond Ops
Aug 11, 2025 · Operations

Mastering Redis Sentinel: Automatic Failover and High Availability Explained

This article provides a comprehensive guide to Redis Sentinel, covering its purpose, architecture, monitoring functions, discovery mechanisms, failover process, leader election, configuration options, and practical commands for achieving reliable high‑availability in Redis deployments.

Operationsfailoverhigh availability
0 likes · 17 min read
Mastering Redis Sentinel: Automatic Failover and High Availability Explained
Zhuanzhuan Tech
Zhuanzhuan Tech
Aug 6, 2025 · Backend Development

Mastering Distributed Caching: Easy-Cache’s Multi‑Level Dynamic Upgrade and Consistency

This article introduces Easy-Cache, a Spring‑AOP based caching framework that eliminates repetitive cache code by offering annotation‑driven operations, multi‑level Redis and local caches, dynamic upgrade/downgrade, elastic expiration, and Lua‑script‑backed consistency mechanisms for high‑availability distributed systems.

Distributed SystemsLuaredis
0 likes · 18 min read
Mastering Distributed Caching: Easy-Cache’s Multi‑Level Dynamic Upgrade and Consistency
Tech Freedom Circle
Tech Freedom Circle
Aug 5, 2025 · Backend Development

How to Diagnose and Fix Sudden Redis Slowdowns: A Complete Five‑Step Guide

This article provides a systematic, step‑by‑step methodology for identifying the root causes of Redis performance degradation—including big keys, slow queries, expiration spikes, memory limits, fork latency, AOF flushing, memory fragmentation, swap usage, huge pages, and CPU binding—and offers immediate mitigation tactics as well as long‑term architectural solutions to restore and maintain high throughput.

BackendCacheMemory
0 likes · 50 min read
How to Diagnose and Fix Sudden Redis Slowdowns: A Complete Five‑Step Guide
Open Source Tech Hub
Open Source Tech Hub
Jul 31, 2025 · Backend Development

Mastering Redis Streams: From Basics to Consumer Groups

This comprehensive guide explains Redis Streams—its data model, entry IDs, range queries, blocking reads, consumer groups, pending message handling, trimming, persistence, and performance characteristics—providing practical commands, examples, and best‑practice tips for building reliable streaming applications.

StreamsXADDXCLAIM
0 likes · 41 min read
Mastering Redis Streams: From Basics to Consumer Groups
Code Ape Tech Column
Code Ape Tech Column
Jul 24, 2025 · Backend Development

Mastering Redisson Distributed Locks: Deep Dive into Implementation, Reentrancy, and Fairness

This article provides a comprehensive guide to Redisson's distributed lock implementation, covering its architecture, comparison with Jedis and Lettuce, basic lock creation, Lua scripts for atomic operations, reentrant lock handling, watchdog-based lock renewal, RLock usage, and the design of fair locks using Redis data structures.

distributed-lockfair lockredis
0 likes · 31 min read
Mastering Redisson Distributed Locks: Deep Dive into Implementation, Reentrancy, and Fairness
Tech Freedom Circle
Tech Freedom Circle
Jul 17, 2025 · Databases

What Happens Under the Hood When a Redis Command Executes? – A Deep Dive into Redis’s Reactor Model

This article explains the three‑stage execution flow of a Redis command—connection establishment, command processing, and result return—detailing how the single‑threaded reactor pattern drives event handling, how commands are parsed and dispatched, and how the output is sent back, with code snippets and a comparison to Netty’s multithreaded reactor.

Command ExecutionDatabase InternalsI/O Multiplexing
0 likes · 50 min read
What Happens Under the Hood When a Redis Command Executes? – A Deep Dive into Redis’s Reactor Model
MaGe Linux Operations
MaGe Linux Operations
Jul 15, 2025 · Databases

Master Redis Cluster Ops in 5 Minutes: Fix 90% of Production Issues

This comprehensive guide walks you through Redis cluster architecture, deployment, enterprise‑grade configuration management, logging, monitoring, queue handling, performance tuning, and fault‑tolerance practices, providing step‑by‑step instructions, scripts, and best‑practice recommendations to quickly resolve the majority of production problems.

Clusterperformanceredis
0 likes · 29 min read
Master Redis Cluster Ops in 5 Minutes: Fix 90% of Production Issues
ITPUB
ITPUB
Jul 14, 2025 · Databases

How to Compute Mutual Friends for 100M Users in Seconds with Redis

This article breaks down the massive‑scale challenge of calculating mutual friends for hundreds of millions of users, analyzes data‑size, latency, and memory constraints, and presents three Redis‑based solutions—basic Set, bitmap, and a sharded architecture—complete with code snippets, performance numbers, and practical trade‑offs.

BitmapMutual FriendsScalable Computing
0 likes · 10 min read
How to Compute Mutual Friends for 100M Users in Seconds with Redis
Java Backend Technology
Java Backend Technology
Jul 14, 2025 · Backend Development

Mastering Rate Limiting: 4 Proven Strategies to Boost System Resilience

This article explores four common rate‑limiting algorithms—fixed window, sliding window, leaky bucket, and token bucket—explains their core principles, shows Java and Redis implementations, discusses real‑world production cases, and provides practical tips for avoiding pitfalls and optimizing performance.

rate limitingredis
0 likes · 10 min read
Mastering Rate Limiting: 4 Proven Strategies to Boost System Resilience
macrozheng
macrozheng
Jul 11, 2025 · Backend Development

Master Java Interview Answers: From Abstract Classes to Redis Pipelines and Index Optimization

This article provides comprehensive interview guidance and technical deep‑dives covering Java self‑introduction, the B‑T‑A‑R project‑highlight model, differences between abstract classes and interfaces, varargs usage, database index pros and cons, Redis pipeline vs Lua scripting, cache‑breakdown mitigation, distributed session consistency, and memory‑efficient Excel export techniques.

Database IndexInterview Tipsexcel-oom
0 likes · 18 min read
Master Java Interview Answers: From Abstract Classes to Redis Pipelines and Index Optimization
IT Services Circle
IT Services Circle
Jul 8, 2025 · Backend Development

What Can You Earn at REDstar? Plus Essential MySQL, Redis, and Java Interview Secrets

The article reveals REDstar algorithm and developer salary packages, explains why Xiaohongshu’s work schedule changed, and then provides detailed Java interview questions covering MySQL indexes, composite indexes, Java primitive types, boxing/unboxing, ReentrantLock vs synchronized, Redis usage, common commands, distributed locking, and the benefits of RocketMQ, all illustrated with code snippets and diagrams.

REDstarinterviewmysql
0 likes · 16 min read
What Can You Earn at REDstar? Plus Essential MySQL, Redis, and Java Interview Secrets
Top Architect
Top Architect
Jul 8, 2025 · Backend Development

How to Build a Robust Redis Distributed Lock with AOP and Auto‑Renewal

This article explains how to protect time‑consuming business operations using a Redis‑based distributed lock implemented with a custom annotation, Spring AOP interception, automatic lock renewal via a scheduled executor, and proper lock release, ensuring data consistency across concurrent requests.

aopconcurrencydistributed-lock
0 likes · 14 min read
How to Build a Robust Redis Distributed Lock with AOP and Auto‑Renewal
Lin is Dream
Lin is Dream
Jul 8, 2025 · Databases

How Bloom Filters Supercharge Redis: From BitSet to Redisson

This article explains the Bloom filter data structure, its hash‑based design and false‑positive behavior, then demonstrates practical implementations using Java BitSet, Guava, and Redisson, covering initialization, configuration, usage tips, and performance considerations for Redis bitmap storage.

BitsetData StructuresGuava
0 likes · 13 min read
How Bloom Filters Supercharge Redis: From BitSet to Redisson
Lin is Dream
Lin is Dream
Jul 7, 2025 · Backend Development

Master Sliding‑Window Rate Limiting with Redis Sorted Sets

This article explains how to implement a precise sliding‑window rate‑limiting algorithm using Redis Sorted Sets, detailing the problem scenario, the algorithm steps, Lua script implementation, Java integration, and practical extensions for high‑performance backend services.

BackendJavaLua
0 likes · 8 min read
Master Sliding‑Window Rate Limiting with Redis Sorted Sets
Lobster Programming
Lobster Programming
Jul 7, 2025 · Backend Development

Boost Order Processing Speed with Segmented Locks and Redis

This article explains how to use segmented (sharded) locks and Redis‑based routing strategies to parallelize inventory deduction and order creation, dramatically increasing orders processed per second while maintaining atomicity and fault tolerance.

concurrencydistributed-lockorder processing
0 likes · 7 min read
Boost Order Processing Speed with Segmented Locks and Redis
Lobster Programming
Lobster Programming
Jul 7, 2025 · Databases

Why Does Redis Block? 5 Common Causes and How to Prevent Them

This article explains why Redis, a single‑threaded in‑memory database, can become blocked, covering five common culprits such as blocking commands, big keys, database flushes, synchronous AOF writes, and the SAVE command, and offers guidance on preventing performance stalls.

AOFBlockingRDB
0 likes · 4 min read
Why Does Redis Block? 5 Common Causes and How to Prevent Them
MaGe Linux Operations
MaGe Linux Operations
Jul 6, 2025 · Databases

Master Redis Cluster Deployment and Performance Tuning: A Practical Guide

This guide walks operations engineers through installing Redis, configuring a six‑node cluster, applying memory and system‑level performance tweaks, setting up Sentinel high‑availability, and implementing Python‑based monitoring and automated recovery scripts, providing a comprehensive, hands‑on approach to building a robust Redis service.

Clusterdatabaseperformance
0 likes · 14 min read
Master Redis Cluster Deployment and Performance Tuning: A Practical Guide
Architect
Architect
Jul 5, 2025 · Backend Development

Implementing a Robust Redis Distributed Lock with AOP and Auto-Extension in Java

Learn how to design and implement a Redis-based distributed lock in Java using custom annotations, AOP interception, and a scheduled executor to automatically extend lock expiration, ensuring safe concurrent access to critical resources while handling timeouts, retries, and thread interruptions.

Javaaopconcurrency
0 likes · 12 min read
Implementing a Robust Redis Distributed Lock with AOP and Auto-Extension in Java
Architect's Guide
Architect's Guide
Jul 4, 2025 · Backend Development

Mastering Delayed Tasks: From Quartz to Redis and RabbitMQ

This article explores various techniques for implementing delayed tasks in Java, comparing Quartz database polling, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted sets, and RabbitMQ delayed queues, detailing their implementations, advantages, drawbacks, and practical code examples for handling order timeouts.

JavaQuartzRabbitMQ
0 likes · 16 min read
Mastering Delayed Tasks: From Quartz to Redis and RabbitMQ
Lin is Dream
Lin is Dream
Jul 4, 2025 · Databases

Master Redis High Availability: Complete Guide to Sentinel and Cluster Deployment

This article explains why single‑node Redis can become a single point of failure, compares Redis Sentinel and Redis Cluster deployment options, provides step‑by‑step Docker deployment scripts, details Sentinel’s inner workings, demonstrates failover verification, and shares best‑practice recommendations for production environments.

ClusterDeploymenthigh availability
0 likes · 31 min read
Master Redis High Availability: Complete Guide to Sentinel and Cluster Deployment
Java Backend Full-Stack
Java Backend Full-Stack
Jul 3, 2025 · Interview Experience

Why the Second Question in My SF Interview Made Me Walk Away

The article shares a detailed SF interview experience, covering typical Java interview questions such as self‑introduction, challenging projects, learning paths, abstract class vs interface, HashMap vs Hashtable, insertion steps, red‑black and B+ trees, MySQL and Redis indexing choices, large‑table optimization, JVM memory model, and the purpose of the Survivor space.

Data StructuresHashMapJVM
0 likes · 23 min read
Why the Second Question in My SF Interview Made Me Walk Away
Lin is Dream
Lin is Dream
Jul 2, 2025 · Databases

Master Redis in Spring Boot: From RedisTemplate to Redisson Integration

This tutorial walks Java developers through using Redis in Spring Boot projects, covering the essential spring-boot-starter-data-redis dependency, RedisTemplate basics, the underlying RedisConnectionFactory design, custom connection configurations for single‑node and sentinel modes, and seamless integration of the Redisson client for advanced distributed features.

JavaRedisTemplateSpring Boot
0 likes · 10 min read
Master Redis in Spring Boot: From RedisTemplate to Redisson Integration
Selected Java Interview Questions
Selected Java Interview Questions
Jun 27, 2025 · Backend Development

How to Fix Uneven Data Distribution in Multi‑Threaded Backend Systems

This article analyzes a production‑line data‑distribution issue where parallel processing and rule‑based assignment cause some employees to receive no tasks, explains why simply increasing batch size fails, and presents a Redis‑counter solution that balances efficiency with fair workload distribution.

data distributionload balancingredis
0 likes · 5 min read
How to Fix Uneven Data Distribution in Multi‑Threaded Backend Systems
Java Tech Enthusiast
Java Tech Enthusiast
Jun 24, 2025 · Backend Development

Ace Your Java Backend Interview: From Self‑Intro to Redis Strategies and Design Patterns

This guide walks you through the realities of joining state‑owned enterprises, offers practical tips for Java backend interview preparation—including self‑introduction, project presentation, database choices, Redis eviction policies, common design patterns, singleton usage, thread‑safety concepts, and commands to terminate Java processes on Linux, macOS, and Windows.

Design PatternsJavabackend interview
0 likes · 16 min read
Ace Your Java Backend Interview: From Self‑Intro to Redis Strategies and Design Patterns
Architect's Guide
Architect's Guide
Jun 22, 2025 · Backend Development

How to Build a Scalable Delayed Queue with Redis and Java

This article explains why traditional polling fails for large‑scale delayed tasks, compares built‑in Java, RocketMQ, and RabbitMQ delay queues, and provides a detailed Redis‑based design with architecture diagrams, message structures, and a 2.0 version that uses real‑time locking for low‑latency delivery.

Distributed SystemsJavadelayed queue
0 likes · 8 min read
How to Build a Scalable Delayed Queue with Redis and Java
Architect's Tech Stack
Architect's Tech Stack
Jun 19, 2025 · Databases

Is Dragonfly Really the Fastest Redis-Compatible Cache? Benchmark Insights

This article examines the open‑source memory cache Dragonfly, its claim of being the world’s fastest Redis‑compatible system, the Redis team’s detailed response and benchmark methodology, and presents comprehensive performance comparisons that show Redis often outperforms Dragonfly across various workloads and configurations.

BenchmarkDragonflyIn-Memory Cache
0 likes · 18 min read
Is Dragonfly Really the Fastest Redis-Compatible Cache? Benchmark Insights
Code Ape Tech Column
Code Ape Tech Column
Jun 12, 2025 · Information Security

How to Build Single Sign‑On (SSO) with CAS and Session Sharing in Java

This article explains why multiple independent login systems hurt user experience and security, reviews traditional session mechanisms and their limitations in clustered environments, and then presents two session‑sharing strategies and a complete CAS‑based SSO solution with Java code examples.

AuthenticationCASJava
0 likes · 15 min read
How to Build Single Sign‑On (SSO) with CAS and Session Sharing in Java
IT Services Circle
IT Services Circle
Jun 11, 2025 · Databases

How to Count 100 Million Redis Keys Efficiently Without Crashing the Cluster

This article explains why the KEYS * command is dangerous for large Redis deployments and presents several practical alternatives—including SCAN, multithreaded SCAN, cluster‑wide parallel scans, built‑in counters, and real‑time incremental counting—along with code samples, performance comparisons, and guidance on choosing the right solution.

ClusterKey CountingSCAN
0 likes · 10 min read
How to Count 100 Million Redis Keys Efficiently Without Crashing the Cluster
IT Services Circle
IT Services Circle
Jun 10, 2025 · Backend Development

Master TP-Link Backend Interview: JVM, GC, Synchronization, and Redis Cache Strategies

The article shares a personal experience of TP-Link's early campus recruitment and salary expectations, then provides a comprehensive Java backend interview guide covering class‑loader delegation, JVM memory layout, garbage‑collector types, synchronized lock mechanics, and common Redis cache pitfalls with practical solutions.

Garbage CollectionJVMJava
0 likes · 18 min read
Master TP-Link Backend Interview: JVM, GC, Synchronization, and Redis Cache Strategies
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 10, 2025 · Databases

Top Redis Cluster Interview Questions and Expert Answers

Explore essential Redis Cluster interview questions covering slot count, hashing mechanisms, use cases, configuration options, hash slots, hash tags, node ports, and consistency model, providing concise answers that help candidates master the core concepts and excel in technical interviews.

ConfigurationHash Slotdatabase
0 likes · 4 min read
Top Redis Cluster Interview Questions and Expert Answers
macrozheng
macrozheng
Jun 9, 2025 · Backend Development

Mastering Redis Hotspot Keys: Detection, Risks, and Solutions

This article explains what Redis hotspot keys are, the performance and stability issues they cause, common causes, how to monitor and identify them, and practical mitigation strategies such as cluster scaling, key sharding, and multi‑level caching.

Backendcachinghotspot key
0 likes · 10 min read
Mastering Redis Hotspot Keys: Detection, Risks, and Solutions
FunTester
FunTester
Jun 7, 2025 · Backend Development

How to Test Redis Protocol Performance: A Practical Guide for Engineers

Redis, an in‑memory high‑performance data store, serves as a popular secondary cache; this article explains its key features, data structures, persistence options, and presents a step‑by‑step Java workflow—including client creation, request sending, result handling, and connection cleanup—to help test engineers design effective performance tests.

Javaredis
0 likes · 4 min read
How to Test Redis Protocol Performance: A Practical Guide for Engineers
Architect's Must-Have
Architect's Must-Have
Jun 6, 2025 · Backend Development

Why Simple synchronized Locks Fail in Distributed Systems and How Redisson Fixes Them

This article examines common pitfalls of using single‑machine synchronization and basic SETNX locks for high‑concurrency stock‑deduction scenarios, demonstrates step‑by‑step improvements—including lock expiration and Redisson’s Lua‑based implementation—and discusses trade‑offs between Redis and Zookeeper for distributed locking.

distributed-lockredisredisson
0 likes · 16 min read
Why Simple synchronized Locks Fail in Distributed Systems and How Redisson Fixes Them
Zhuanzhuan Tech
Zhuanzhuan Tech
Jun 4, 2025 · Backend Development

A Comprehensive Guide to Redisson Distributed Locks in Java

This article explains Redisson's various distributed lock mechanisms—including watchdog, reentrant lock, multi‑lock, read‑write lock, semaphore, RedLock, and CountDownLatch—detailing their principles, usage patterns, code examples, and best‑practice recommendations for robust backend concurrency control.

Distributed LocksJavaconcurrency
0 likes · 16 min read
A Comprehensive Guide to Redisson Distributed Locks in Java
Instant Consumer Technology Team
Instant Consumer Technology Team
Jun 4, 2025 · Databases

Achieving High Availability for MySQL & Redis on MaShang Cloud with Distributed Sentinel

This article explains MaShang Cloud's RDS high‑availability design, detailing the distributed sentinel monitoring system, proxy layer, multi‑AZ disaster‑recovery strategies, and real‑world case studies that demonstrate how MySQL and Redis services maintain continuous, consistent access with minimal RTO and RPO.

Database ProxyDistributed SentinelRDS
0 likes · 16 min read
Achieving High Availability for MySQL & Redis on MaShang Cloud with Distributed Sentinel
Top Architect
Top Architect
Jun 4, 2025 · Backend Development

Implementing Request Debounce in Java Backend Using Redis and Redisson

This article explains how to implement request debouncing in Java backend services using Redis and Redisson, covering the concept, interface types needing debouncing, duplicate request detection, shared cache and distributed lock solutions, with complete code examples and testing results.

BackendDebounceJava
0 likes · 17 min read
Implementing Request Debounce in Java Backend Using Redis and Redisson
Selected Java Interview Questions
Selected Java Interview Questions
Jun 2, 2025 · Backend Development

Implementing Precise Per‑Minute API Call Statistics in Java: Multiple Solutions and Best Practices

This article explains why per‑minute API call counting is essential for performance bottleneck detection, capacity planning, security alerts and billing, and presents five concrete Java‑based implementations—including a fixed‑window counter, a sliding‑window counter, AOP‑based transparent monitoring, a Redis time‑series solution, and Micrometer‑Prometheus integration—along with a hybrid architecture, performance benchmarks, and practical capacity‑planning advice.

API monitoringPrometheusSliding Window
0 likes · 25 min read
Implementing Precise Per‑Minute API Call Statistics in Java: Multiple Solutions and Best Practices
Tech Freedom Circle
Tech Freedom Circle
May 30, 2025 · Backend Development

Designing a Cache for 10 M MySQL Rows with Only 2 M Redis Slots – Meituan Interview Answer

The article analyzes a Meituan interview question about caching 10 million MySQL rows when Redis can store only 200 thousand rows, presenting a five‑step three‑tier cache architecture that separates cold and hot data, selects appropriate eviction policies, uses proactive hotspot detection, adds multi‑level defense, and employs both scheduled and real‑time pre‑heating, with performance numbers showing an 85% hit rate and 100 ms latency.

Cache DesignHotKeyLFU
0 likes · 29 min read
Designing a Cache for 10 M MySQL Rows with Only 2 M Redis Slots – Meituan Interview Answer
Lobster Programming
Lobster Programming
May 27, 2025 · Backend Development

Ensuring API Idempotency with Redis and Unique Serial Numbers

This article explains how to achieve API idempotency by having clients send a short‑lived unique serial number, storing it as a Redis key with SETNX and an expiration, and handling the Redis response to process or reject duplicate requests.

API idempotencyredissetnx
0 likes · 3 min read
Ensuring API Idempotency with Redis and Unique Serial Numbers
JavaEdge
JavaEdge
May 24, 2025 · Databases

Redis 8 Goes Open Source Again: AGPLv3 License, Speed Gains, New Features

Redis 8 has been released under the OSI‑approved AGPLv3 license, reversing its 2024 SSPL shift, and brings up to 87% faster command execution, double the throughput, and integrated modules like JSON, TimeSeries, and the new Vector Sets data type, sparking community debate and competition with Valkey.

AGPLv3databaseperformance
0 likes · 6 min read
Redis 8 Goes Open Source Again: AGPLv3 License, Speed Gains, New Features
Top Architect
Top Architect
May 24, 2025 · Databases

Implementing Pagination and Multi‑Condition Fuzzy Search in Redis

This article explains how to use Redis Sorted Sets and Hashes to achieve efficient pagination, fuzzy multi‑condition queries, and their combination, while also discussing performance‑optimisation strategies such as temporary ZSet expiration and data‑freshness handling, before concluding with a brief promotional segment.

HashSorted Setdatabase
0 likes · 12 min read
Implementing Pagination and Multi‑Condition Fuzzy Search in Redis
Architect's Tech Stack
Architect's Tech Stack
May 23, 2025 · Databases

RedisInsight Guide: Installation, Configuration, and Basic Usage

This article provides a comprehensive tutorial on RedisInsight, covering its features, step‑by‑step physical and Kubernetes installation, environment variable setup, service startup, and basic usage together with Redis server configuration, illustrated with code snippets and screenshots.

Database GUIInstallationKubernetes
0 likes · 6 min read
RedisInsight Guide: Installation, Configuration, and Basic Usage
Su San Talks Tech
Su San Talks Tech
May 20, 2025 · Backend Development

10 Cache Governance Rules Every Backend Engineer Should Follow

This article shares ten practical cache governance rules—from avoiding large keys and setting proper TTLs to using distributed locks and final consistency strategies—illustrated with real‑world Java examples, code snippets, and diagrams to help backend developers design reliable, high‑performance caching solutions.

BackendTTLcaching
0 likes · 12 min read
10 Cache Governance Rules Every Backend Engineer Should Follow
Java Tech Enthusiast
Java Tech Enthusiast
May 17, 2025 · Backend Development

How to Implement Distributed API Debounce in Java with Redis and Redisson

This article explains why API debounce is needed in web back‑ends, identifies the types of endpoints that require it, outlines how to detect duplicate requests, and provides two concrete distributed solutions—shared Redis cache and Redisson lock—complete with annotation design, key generation logic, and full Java code examples.

API DebounceIdempotencyJava
0 likes · 15 min read
How to Implement Distributed API Debounce in Java with Redis and Redisson
Architect
Architect
May 16, 2025 · Industry Insights

How to Master High‑Concurrency Flash‑Sale Systems with Redis, MQ, and Inventory Hint

This article analyzes the challenges of e‑commerce flash‑sale spikes and presents four proven architectural patterns—pressure distribution, Redis + MQ, Inventory Hint, and their combined use—detailing their principles, Lua scripts, transaction messaging, and practical trade‑offs for building resilient, high‑throughput systems.

Backend ArchitectureInventory HintMQ
0 likes · 15 min read
How to Master High‑Concurrency Flash‑Sale Systems with Redis, MQ, and Inventory Hint
Programmer Xu Shu
Programmer Xu Shu
May 16, 2025 · Databases

Mastering Redis Transactions: When to Use MULTI/EXEC, WATCH, and DISCARD

Redis is ubiquitous in Java development for caching, ranking, and distributed locks, but its transaction model differs from traditional databases; this article explains Redis transaction fundamentals, core commands (MULTI, EXEC, DISCARD, WATCH), common pitfalls, best practices, and interview FAQs to help developers avoid mistakes.

MULTITransactionsexec
0 likes · 11 min read
Mastering Redis Transactions: When to Use MULTI/EXEC, WATCH, and DISCARD
Architecture & Thinking
Architecture & Thinking
May 15, 2025 · Databases

Redis 8.0 Unveiled: New AGPLv3 License, Vector Search, JSON & More

Redis 8.0, released on May 1 2025, introduces a major license shift to AGPL‑v3, adds eight native data structures—including vector sets, JSON, and time‑series—enhances the query engine with up to 16× performance gains, improves scalability, security, and cloud‑native support, and provides extensive code examples for AI and real‑time analytics.

JSONTime Seriesdatabase
0 likes · 15 min read
Redis 8.0 Unveiled: New AGPLv3 License, Vector Search, JSON & More
Lobster Programming
Lobster Programming
May 14, 2025 · Backend Development

How to Prevent Duplicate Orders with Anti‑Replay Tokens and Redis

This article explains how to prevent duplicate order submissions during high‑traffic e‑commerce events by using a server‑generated anti‑duplicate token stored in Redis, detailing the token acquisition, validation flow, and handling of repeated requests to ensure inventory integrity and accurate financial reconciliation.

Backendanti-replay-tokenduplicate order
0 likes · 4 min read
How to Prevent Duplicate Orders with Anti‑Replay Tokens and Redis
Raymond Ops
Raymond Ops
May 13, 2025 · Operations

Master CentOS Software Installation: From Source Tarballs to RPM and Yum

This guide walks you through installing software on CentOS using three primary methods—source/tarball compilation, RPM packages, and Yum—demonstrating each approach with real‑world examples such as Redis, RabbitMQ, and Nginx, and covering essential concepts, commands, and configuration steps.

CentOSNginxRPM
0 likes · 17 min read
Master CentOS Software Installation: From Source Tarballs to RPM and Yum
Architecture Digest
Architecture Digest
May 9, 2025 · Backend Development

Implementing Order Auto‑Close with Delayed Tasks: Best Practices and Pitfalls

The article examines how e‑commerce platforms implement order auto‑closure using delayed tasks, compares methods such as message‑queue delayed delivery, Redisson delay queue, Redis expiration listening, RabbitMQ dead‑letter queues and time wheels, and recommends reliable approaches while warning against unsafe practices.

Backend DevelopmentMessage QueueRabbitMQ
0 likes · 6 min read
Implementing Order Auto‑Close with Delayed Tasks: Best Practices and Pitfalls
Code Ape Tech Column
Code Ape Tech Column
May 9, 2025 · Databases

Efficient Strategies for Importing One Billion Records into MySQL

This article explains how to import 1 billion 1 KB log records stored in HDFS or S3 into MySQL by analyzing single‑table limits, using batch inserts, choosing storage engines, sharding, optimizing file‑reading methods, and coordinating distributed tasks with Redis, Redisson, and Zookeeper to ensure ordered, reliable, and high‑throughput data loading.

Batch InsertDistributed SystemsKafka
0 likes · 19 min read
Efficient Strategies for Importing One Billion Records into MySQL