Tagged articles

Redis

3337 articles · Page 5 of 34
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.

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

Mutual FriendsRedisScalable 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.

Redisrate limiting
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.

Interview TipsRedisdatabase index
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.

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

AOPDistributed LockRedis
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.

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

Distributed LockRedisconcurrency
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.

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

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

AOPDistributed LockJava
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.

Delayed TasksJavaQuartz
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.

High AvailabilityRedisSentinel
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 StructuresDatabasesHashMap
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.

JavaRedisRedisTemplate
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 DistributionRedisload balancing
0 likes · 5 min read
How to Fix Uneven Data Distribution in Multi‑Threaded Backend Systems
Tencent Cloud Developer
Tencent Cloud Developer
Jun 26, 2025 · Databases

How Does Redis Execute a Command? Inside Its Event‑Driven Architecture

This article explains Redis' deployment models, core components, and the event‑driven engine that powers command processing, detailing the flow from client connection through the reactor loop, command parsing, execution, and response delivery with code examples and diagrams.

Command ExecutionEvent-Driven ArchitectureIn-Memory Database
0 likes · 15 min read
How Does Redis Execute a Command? Inside Its Event‑Driven Architecture
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 PatternsJavaLinux commands
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.

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

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

Key CountingPerformanceRedis
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.

ConfigurationDatabaseHash Slot
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.

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

Redisdistributed-lockredisson
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 LocksJavaRedis
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 SentinelHigh Availability
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.

Distributed LockJavaRedis
0 likes · 17 min read
Implementing Request Debounce in Java Backend Using Redis and Redisson
Programmer XiaoFu
Programmer XiaoFu
Jun 4, 2025 · Backend Development

Five Practical API Call Rate Monitoring Solutions: Full Comparison of Performance, Cost, and Complexity

This article walks through five concrete implementations for per‑minute API call counting—fixed window, lazy sliding window, Spring AOP, Redis time‑series, and Micrometer + Prometheus—detailing their design, code, trade‑offs, benchmark results, memory usage, and real‑world deployment tips.

RedisSliding WindowSpring AOP
0 likes · 25 min read
Five Practical API Call Rate Monitoring Solutions: Full Comparison of Performance, Cost, and Complexity
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.

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

DatabaseFuzzy SearchHash
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.

CachingRedisTTL
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 DebounceDistributed LockJava
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.

Flash SaleHigh concurrencyInventory Hint
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.

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

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

Redisanti-replay-tokenbackend
0 likes · 4 min read
How to Prevent Duplicate Orders with Anti‑Replay Tokens and Redis
Top Architecture Tech Stack
Top Architecture Tech Stack
May 14, 2025 · Backend Development

Implementing IP+URL Rate Limiting with Spring Boot Interceptor and Redis Distributed Lock

This guide demonstrates how to protect a Spring Boot service from malicious requests by creating a custom interceptor that tracks URL‑IP request counts, uses Redis for distributed locking, and disables offending IPs after a configurable threshold, with full code examples and configuration steps.

DistributedLockJavaRateLimiting
0 likes · 8 min read
Implementing IP+URL Rate Limiting with Spring Boot Interceptor and Redis Distributed Lock
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 DevelopmentDelayed TasksMessage Queue
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 InsertKafkaMySQL
0 likes · 19 min read
Efficient Strategies for Importing One Billion Records into MySQL
IT Xianyu
IT Xianyu
May 8, 2025 · Databases

Redis for DBAs: Quick Installation, Core Commands, Caching Design Patterns, and High‑Concurrency Practices

This article explains why Redis is becoming a DBA's favorite, provides a five‑minute installation guide, essential commands, cache‑design pitfalls and solutions, explores Redis data structures with Java examples, demonstrates distributed locking and flash‑sale implementations, and covers clustering, backup, monitoring, and performance tuning.

Distributed LockJavaRedis
0 likes · 9 min read
Redis for DBAs: Quick Installation, Core Commands, Caching Design Patterns, and High‑Concurrency Practices
Top Architecture Tech Stack
Top Architecture Tech Stack
May 8, 2025 · Backend Development

Distributed ID Generation: Requirements and Common Implementation Schemes

The article explains why traditional auto‑increment primary keys are unsuitable for distributed systems, outlines the business requirements for a distributed ID (global uniqueness, trend and monotonic increase, security), and reviews several generation approaches such as UUID, database auto‑increment, segment mode, Redis, Snowflake, Baidu UidGenerator, Meituan Leaf and Didi TinyID, including their advantages and drawbacks.

Distributed IDRedisSnowflake
0 likes · 14 min read
Distributed ID Generation: Requirements and Common Implementation Schemes
Java Tech Enthusiast
Java Tech Enthusiast
May 7, 2025 · Backend Development

Why Redis Increment Returns Null When Using @Transactional with Transaction Support in Spring Boot

The production failure where a customer‑service event creation stopped each morning was traced to RedisTemplate’s increment returning null because @Transactional combined with enabled Redis transaction support caused the command to be queued in a MULTI/EXEC block, which is fixed by using separate non‑transactional and transactional StringRedisTemplate beans.

@TransactionalJavaRedis
0 likes · 11 min read
Why Redis Increment Returns Null When Using @Transactional with Transaction Support in Spring Boot
Su San Talks Tech
Su San Talks Tech
May 7, 2025 · Backend Development

6 Scalable Leaderboard Solutions: From DB Sorting to Real‑Time Stream Processing

This article examines six different leaderboard implementation strategies—from simple database sorting and cache‑plus‑scheduled tasks to Redis sorted sets, sharded Redis clusters, pre‑computed layered caches, and real‑time stream processing with Flink—detailing their suitable scenarios, advantages, disadvantages, and architectural diagrams to help engineers choose the most appropriate solution.

CachingLeaderboardRanking
0 likes · 7 min read
6 Scalable Leaderboard Solutions: From DB Sorting to Real‑Time Stream Processing
Efficient Ops
Efficient Ops
May 6, 2025 · Databases

5 Must‑Have GUI Tools to Master Redis Management

Operations engineers struggling with countless Redis commands and opaque data structures can simplify their workflow with five recommended visual tools that turn complex Redis operations into intuitive interfaces, complete with monitoring, cluster support, and cross‑platform clients.

DatabaseGUIOps
0 likes · 4 min read
5 Must‑Have GUI Tools to Master Redis Management
Architect's Guide
Architect's Guide
May 6, 2025 · Backend Development

Using Lua Scripts with Spring Boot and Redis for Performance and Atomic Operations

This article explains how to integrate Lua scripts into Spring Boot applications to leverage Redis for atomic operations, performance optimization, and complex data processing, providing detailed Lua fundamentals, practical use‑cases, implementation steps, error handling, security considerations, and best‑practice recommendations.

PerformanceRedisSpring Boot
0 likes · 21 min read
Using Lua Scripts with Spring Boot and Redis for Performance and Atomic Operations
Liangxu Linux
Liangxu Linux
May 5, 2025 · Backend Development

How to Dynamically Block IPs with Nginx, Lua, and Redis

This guide explains how to use Nginx, Lua (via OpenResty), and Redis to automatically block any IP that exceeds 60 requests per minute, storing the blacklist in Redis with a default one‑day ban and providing performance optimizations and testing steps.

IP blockingLuaNGINX
0 likes · 7 min read
How to Dynamically Block IPs with Nginx, Lua, and Redis
21CTO
21CTO
May 5, 2025 · Artificial Intelligence

AI’s Impact on Microsoft 365, Global IT Talent, and Open‑Source Trends

This article examines Japan’s looming 500,000 IT talent shortage, Microsoft’s AI‑driven overhaul of M365, a fraud case involving outsourced development, Redis’s return to open‑source licensing, and Google’s rollout of Gemini AI for children, highlighting the broader implications for the tech industry.

AIGeminiIT talent shortage
0 likes · 9 min read
AI’s Impact on Microsoft 365, Global IT Talent, and Open‑Source Trends
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 5, 2025 · Backend Development

Explore 100+ Spring Boot 3 Real-World Cases: DB Init, Redis, Security & More

This article presents a continuously updated collection of over 120 Spring Boot 3 practical examples, covering database initialization scripts, switching Redis clients, disabling and customizing security, configuring HTTP clients, and fine‑tuning Spring MVC behavior with code snippets and configuration details.

Database InitializationHTTP ClientRedis
0 likes · 9 min read
Explore 100+ Spring Boot 3 Real-World Cases: DB Init, Redis, Security & More
Java Captain
Java Captain
May 4, 2025 · Databases

Evolution of MySQL, Rise of NoSQL, and In‑Depth Redis Data Types and Usage

This article traces MySQL’s architectural evolution from single‑node to sharded clusters, explains the fundamentals and classifications of NoSQL databases, and provides a comprehensive guide to Redis—including installation, memory management, and detailed usage of its five core data types with best‑practice considerations.

Data StructuresDatabaseMySQL
0 likes · 26 min read
Evolution of MySQL, Rise of NoSQL, and In‑Depth Redis Data Types and Usage
Architect
Architect
Apr 30, 2025 · Databases

Redis Core Architecture, Data Types, Persistence, High Availability, and Performance Optimization

This comprehensive guide explains Redis's core architecture, the underlying implementation of its various data types, persistence mechanisms (RDB and AOF), high‑availability solutions such as replication, Sentinel and Cluster, as well as performance‑monitoring techniques and common optimization strategies.

Data StructuresHigh AvailabilityPersistence
0 likes · 48 min read
Redis Core Architecture, Data Types, Persistence, High Availability, and Performance Optimization
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 30, 2025 · Databases

How to Reshard Slots in a Redis Cluster

This article explains the process of moving hash slots between nodes in a Redis cluster using the redis-cli --cluster reshard command, detailing the required parameters, interactive steps, and verification of successful slot migration.

Data MigrationDatabaseRedis
0 likes · 6 min read
How to Reshard Slots in a Redis Cluster
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 29, 2025 · Databases

Essential Redis Cluster Configuration Parameters: Required and Optional Settings

This article explains the key Redis cluster configuration options found in redis.conf, detailing required settings such as cluster-enabled, cluster-config-file, and cluster-node-timeout, as well as optional parameters like cluster-slave-validity-factor, migration barrier, full coverage requirement, and read‑when‑down behavior.

DatabaseRediscluster
0 likes · 5 min read
Essential Redis Cluster Configuration Parameters: Required and Optional Settings
php Courses
php Courses
Apr 29, 2025 · Backend Development

Overview of PHP Caching Mechanisms

This article explains the various PHP caching layers—including OPcode, data, page, and HTTP caching—provides configuration examples, code snippets for file, Memcached, and Redis caches, and outlines best practices and invalidation strategies to improve web application performance.

CachingMemcachedOPcache
0 likes · 7 min read
Overview of PHP Caching Mechanisms
Lin is Dream
Lin is Dream
Apr 29, 2025 · Backend Development

How to Build a Scalable Chunked File Upload Service with Java and Redis

This article explains how to design and implement a reliable, resumable multipart file upload system in Java, using Redis for session tracking, FileChannel for zero‑copy merging, progress monitoring, checkpoint files for resume support, and NFS shared storage for Docker‑based distributed deployments.

Chunked UploadJavaNFS
0 likes · 18 min read
How to Build a Scalable Chunked File Upload Service with Java and Redis
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 27, 2025 · Databases

Understanding the Redis Cluster Bus and Node Communication

This article explains how Redis cluster nodes use a TCP-based gossip protocol and a dedicated cluster bus to discover each other, detect failures, synchronize configuration, and automatically redirect client commands to the correct node, illustrated with practical command‑line examples.

DatabaseNode CommunicationRedis
0 likes · 5 min read
Understanding the Redis Cluster Bus and Node Communication
Java Architect Essentials
Java Architect Essentials
Apr 25, 2025 · Backend Development

Precise Order‑Closing Delayed Tasks: Best Practices and Common Pitfalls

This article compares several ways to implement order‑closing delayed tasks—message‑queue delayed delivery, Redisson DelayQueue, Redis expiration listening, RabbitMQ dead‑letter queues, and time wheels—explaining their mechanisms, drawbacks, and recommending the most reliable solutions for production systems.

Delayed TasksMessage QueueRabbitMQ
0 likes · 7 min read
Precise Order‑Closing Delayed Tasks: Best Practices and Common Pitfalls
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 25, 2025 · Databases

Essential Knowledge Points of Redis Cluster

Redis cluster relies on two ports per node, a hash‑slot based sharding scheme, a master‑slave replication model, and provides eventual consistency, making these four fundamentals essential knowledge for developers and operators to.

Master‑SlaveRedisSharding
0 likes · 6 min read
Essential Knowledge Points of Redis Cluster
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 24, 2025 · Databases

How to Add and Remove Nodes in a Redis Cluster

This guide demonstrates how to horizontally scale a Redis cluster by adding nodes as masters or slaves, configuring them, using redis-cli commands to join or remove nodes, and handling special cases such as removing a failed node, all with practical code examples.

DatabaseNode ManagementRedis
0 likes · 7 min read
How to Add and Remove Nodes in a Redis Cluster