Tagged articles
3240 articles
Page 5 of 33
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.

ClusterJavadistributed-lock
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-idredissegment mode
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.

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

Distributed SystemsReal-Timecaching
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.

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

BackendLua scriptingSpring 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.

BackendIP blockingLua
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 clientSecurity
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 StructuresNoSQLdatabase
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 StructuresPersistencehigh availability
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.

ClusterData MigrationResharding
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.

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

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

JavaNFSchunked upload
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.

ClusterGossip ProtocolNode Communication
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.

Backend ArchitectureMessage 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.

ClusterConsistencyMaster‑Slave
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.

ClusterNode Managementdatabase
0 likes · 7 min read
How to Add and Remove Nodes in a Redis Cluster
dbaplus Community
dbaplus Community
Apr 23, 2025 · Databases

Why Redis Used Memory Jumped to 78 GB and How to Diagnose It

A Redis instance suddenly reported 78.9 GB of used_memory against a 16 GB maxmemory limit, triggering massive key eviction; this article explains how INFO reports used_memory, what the metric actually measures, how Redis 7 changes memory accounting, the exact eviction conditions, and provides a Python script to pinpoint the memory‑hogs.

Memory ManagementPythoneviction
0 likes · 17 min read
Why Redis Used Memory Jumped to 78 GB and How to Diagnose It
Programmer Xu Shu
Programmer Xu Shu
Apr 21, 2025 · Databases

Why Is Redis So Fast? Inside the Secrets of Its High‑Performance Design

In this interview-style article, the interviewer probes a candidate on why Redis is exceptionally fast, covering its in‑memory storage, single‑threaded design, I/O multiplexing, optimized data structures, memory management tricks, and practical performance‑tuning strategies.

Data StructuresI/O MultiplexingIn-Memory Database
0 likes · 7 min read
Why Is Redis So Fast? Inside the Secrets of Its High‑Performance Design
Java Captain
Java Captain
Apr 20, 2025 · Databases

RediSearch: Introduction, Features, Benchmarks, Installation, and CLI Operations

This article introduces RediSearch, a Redis module for full‑text search, outlines its many features, compares its indexing and query performance with Elasticsearch, provides installation methods (source and Docker), and demonstrates command‑line operations for creating indexes, adding documents, searching, and managing indexes.

BenchmarkCLIFull‑Text Search
0 likes · 13 min read
RediSearch: Introduction, Features, Benchmarks, Installation, and CLI Operations
JD Cloud Developers
JD Cloud Developers
Apr 16, 2025 · Backend Development

Master Spring Cache Annotations: @EnableCaching, @Cacheable, @CachePut, @CacheEvict Explained

This article explains how Spring's caching annotations—@EnableCaching, @Cacheable, @CachePut, and @CacheEvict—work together to simplify cache management, includes Maven dependency setup, configuration class, entity and service code, a full Spring Boot example, test cases, and visual illustrations of cache miss, hit, update, and eviction.

BackendCacheannotations
0 likes · 13 min read
Master Spring Cache Annotations: @EnableCaching, @Cacheable, @CachePut, @CacheEvict Explained
Su San Talks Tech
Su San Talks Tech
Apr 16, 2025 · Backend Development

How to Prevent Product Overselling in High‑Traffic E‑Commerce Systems

This article explains why inventory overselling occurs during massive sales events, analyzes the root causes such as non‑atomic database operations, and presents practical solutions—including optimistic locking, Redis atomic scripts, distributed locks, message‑queue peak shaving, and pre‑deduct strategies—while highlighting common pitfalls and best‑practice combinations for robust e‑commerce back‑ends.

distributed-lockecommercemessage-queue
0 likes · 9 min read
How to Prevent Product Overselling in High‑Traffic E‑Commerce Systems
Java Backend Full-Stack
Java Backend Full-Stack
Apr 15, 2025 · Backend Development

How to Retrieve Nearby Charging Station Information Using Redis GEO

This tutorial shows how to obtain a user's current latitude and longitude via an IP API, send the coordinates to a backend service that stores charging stations in Redis GEO, and query stations within a 20‑kilometer radius, with complete front‑end and back‑end code examples.

Charging StationGEOJava
0 likes · 4 min read
How to Retrieve Nearby Charging Station Information Using Redis GEO
Java Captain
Java Captain
Apr 14, 2025 · Backend Development

Project Initialization, Version Management, and Scaffold Setup for Spring Boot Backend Development

This guide walks through initializing a Spring Boot project, handling IDE setup challenges, managing version compatibility between Spring Cloud, Spring Boot, and Kafka, and provides practical code examples for global exception handling, logging, CORS configuration, Swagger integration, and useful development tools.

Exception HandlingKafkaSpring Boot
0 likes · 12 min read
Project Initialization, Version Management, and Scaffold Setup for Spring Boot Backend Development
Java Captain
Java Captain
Apr 10, 2025 · Backend Development

Design and Implementation of Delayed Task Processing for Order Systems

This article explains various approaches to delayed task handling—such as database polling, JDK DelayQueue, Redis expiration listeners, Redisson delay queues, RocketMQ delayed messages, and RabbitMQ dead‑letter queues—evaluating their advantages, drawbacks, and best‑practice recommendations for reliable order‑expiration workflows.

Distributed SystemsMessage Queuedelayed tasks
0 likes · 17 min read
Design and Implementation of Delayed Task Processing for Order Systems
Liangxu Linux
Liangxu Linux
Apr 8, 2025 · Databases

How to Build a High‑Availability Redis Cluster Without Centralized Configuration

This guide explains why Redis clustering is needed for capacity, concurrency and failover, describes Redis 3.0's decentralized cluster architecture, provides step‑by‑step commands to configure, launch and combine six nodes into a cluster, demonstrates slot calculations, client usage with Jedis, and outlines fault recovery, pros and cons, and cleanup procedures.

ClusterDevOpsJedis
0 likes · 24 min read
How to Build a High‑Availability Redis Cluster Without Centralized Configuration
Selected Java Interview Questions
Selected Java Interview Questions
Apr 8, 2025 · Backend Development

Authentication Implementation: Choosing Between JWT and Session in Backend Development

This article explains the technical selection between JWT and session for authentication, compares their differences, advantages, and disadvantages, and provides a complete Java implementation—including token generation, Redis storage, login/logout, password update, and request interception—demonstrating why JWT was chosen for a distributed backend system.

AuthenticationBackendJWT
0 likes · 13 min read
Authentication Implementation: Choosing Between JWT and Session in Backend Development
Su San Talks Tech
Su San Talks Tech
Apr 8, 2025 · Backend Development

Mastering Rate Limiting: Practical Algorithms and Real‑World Cases

This article explains why rate limiting is essential for high‑traffic services, compares four classic algorithms (fixed‑window, sliding‑window, leaky‑bucket, token‑bucket), provides Java and Redis implementations, shares production case studies, highlights common pitfalls, and offers performance‑tuning tips for robust backend systems.

BackendDistributed Systemsrate limiting
0 likes · 11 min read
Mastering Rate Limiting: Practical Algorithms and Real‑World Cases
Architect
Architect
Apr 6, 2025 · Information Security

Technical Selection and Implementation of Authentication: JWT vs Session

This article compares JWT and session-based authentication, detailing their differences, certification processes, advantages, disadvantages, security considerations, performance impacts, token renewal, and revocation strategies, and provides a complete Java implementation using Spring, Redis, and custom utility classes.

AuthenticationJWTJava
0 likes · 12 min read
Technical Selection and Implementation of Authentication: JWT vs Session
Ma Wei Says
Ma Wei Says
Apr 5, 2025 · Backend Development

Ensuring Accurate Inventory Deduction in High‑Concurrency Sales with Redis

This article explains why simple GET‑modify‑SET inventory updates cause overselling in flash‑sale spikes and presents several Redis‑based solutions—including Lua scripts, WATCH‑based optimistic locks, distributed SETNX locks, and asynchronous queue processing—detailing their implementation, advantages, and trade‑offs.

BackendLua Scriptconcurrency
0 likes · 8 min read
Ensuring Accurate Inventory Deduction in High‑Concurrency Sales with Redis
Selected Java Interview Questions
Selected Java Interview Questions
Apr 4, 2025 · Backend Development

Guide to Using Lock4j Distributed Lock Component in Spring Boot

This article introduces the Lock4j distributed lock library, explains its features, shows how to add Maven dependencies, configure Redis, use the @Lock4j annotation for simple and advanced locking scenarios, and provides custom executor, key builder, and failure‑strategy examples for Spring Boot applications.

Lock4jSpring BootZooKeeper
0 likes · 6 min read
Guide to Using Lock4j Distributed Lock Component in Spring Boot
macrozheng
macrozheng
Apr 3, 2025 · Backend Development

Java Backend Interview Secrets: Redis Cache Strategies & Spring Boot Startup

This article compiles essential Java backend interview topics, covering Redis cache pitfalls and solutions, Spring Boot initialization steps, common Spring annotations, MyBatis advantages, Git workflow commands, Java exception hierarchy, Java 8 enhancements, HashMap internals, Docker isolation mechanisms, and Jenkins CI/CD pipelines, providing a comprehensive technical reference for developers.

Backend DevelopmentDockerGit
0 likes · 23 min read
Java Backend Interview Secrets: Redis Cache Strategies & Spring Boot Startup
Lobster Programming
Lobster Programming
Apr 3, 2025 · Databases

Why Is Redis So Fast? Deep Dive into Its Architecture and Data Structures

Redis achieves remarkable speed through in‑memory storage, I/O multiplexing, optimized data structures such as SDS strings, linked lists, ziplists, skip‑lists, and hash tables, a single‑threaded event loop, and intelligent data encoding, all of which eliminate disk I/O and reduce overhead.

I/O MultiplexingIn-Memory Databaseredis
0 likes · 8 min read
Why Is Redis So Fast? Deep Dive into Its Architecture and Data Structures
Top Architecture Tech Stack
Top Architecture Tech Stack
Apr 2, 2025 · Backend Development

Implementing a Dynamic IP Blacklist with Nginx, Lua, and Redis

This article explains how to set up a dynamic IP blacklist using Nginx, Lua scripts, and Redis, covering environment preparation, design options, configuration of nginx.conf, Lua script implementation, and advanced features such as rate limiting, white‑listing, and automated detection to protect servers from malicious traffic.

BackendLuaip blacklist
0 likes · 9 min read
Implementing a Dynamic IP Blacklist with Nginx, Lua, and Redis
Architecture & Thinking
Architecture & Thinking
Apr 2, 2025 · Backend Development

Ensuring Fair Flash Sales in Multi-Active Architectures: Strategies & Code

This article examines the challenges of high‑concurrency flash‑sale scenarios in multi‑active architectures, analyzes fairness issues caused by geographic latency, and presents practical solutions such as data‑sharding and global‑clock ordered queues, complemented by a Redis‑based implementation example.

Fairnessflash salemulti-active
0 likes · 12 min read
Ensuring Fair Flash Sales in Multi-Active Architectures: Strategies & Code
Selected Java Interview Questions
Selected Java Interview Questions
Mar 30, 2025 · Backend Development

Implementing Precise Order Cancellation: Pitfalls of Redis Expiration and Better Alternatives

The article explains why using Redis expiration or RabbitMQ dead‑letter queues for delayed order‑cancellation tasks is unreliable, compares several approaches such as message‑queue delayed delivery, Redisson delay queues, and time wheels, and recommends robust solutions like RocketMQ or Pulsar for accurate timing.

Message QueueRabbitMQTime Wheel
0 likes · 7 min read
Implementing Precise Order Cancellation: Pitfalls of Redis Expiration and Better Alternatives
Linux Cloud Computing Practice
Linux Cloud Computing Practice
Mar 28, 2025 · Backend Development

200+ Essential Interview Questions for Linux, Nginx, MySQL, Kafka & Security

This article compiles a comprehensive collection of over two hundred interview questions covering Linux system administration, Nginx web server, MySQL databases, Redis caching, Kafka messaging, and core network security topics, providing a one‑stop resource for candidates preparing for major tech company interviews.

KafkaNginxinterview-questions
0 likes · 11 min read
200+ Essential Interview Questions for Linux, Nginx, MySQL, Kafka & Security
Java Backend Full-Stack
Java Backend Full-Stack
Mar 27, 2025 · Databases

Hands‑On Sharding: Implementing Database and Table Partitioning with Spring Boot and Sharding‑JDBC

This article walks through a complete sharding implementation that splits a user table across four MySQL databases and sixteen tables, discusses challenges such as distributed IDs, transactions, data migration and pagination, and provides full Spring Boot, Sharding‑JDBC, Elasticsearch and Redis configurations with code examples.

ElasticsearchSharding-JDBCSpring Boot
0 likes · 10 min read
Hands‑On Sharding: Implementing Database and Table Partitioning with Spring Boot and Sharding‑JDBC
ITPUB
ITPUB
Mar 26, 2025 · Cloud Native

How KubeBlocks Enables Scalable, Automated Redis on Kubernetes at Kuaishou

This article details Kuaishou's migration of massive Redis clusters to Kubernetes using the KubeBlocks Operator, covering architecture, multi‑layer management requirements, federated cluster deployment, custom controllers, performance and stability considerations, and the resulting operational benefits.

Cloud NativeKubeBlocksKubernetes
0 likes · 15 min read
How KubeBlocks Enables Scalable, Automated Redis on Kubernetes at Kuaishou
Cognitive Technology Team
Cognitive Technology Team
Mar 26, 2025 · Game Development

Designing Scalable Game Leaderboards with Redis: Core Requirements, Data Structures, and Architecture

This article analyzes the essential requirements of massive‑scale game leaderboards, explains how Redis sorted sets and hash tables provide fast ranking and lookup, and presents a multi‑layered architecture—including hot‑key sharding, dynamic partitioning, tiered storage, read/write separation, pipeline batching, and hybrid persistence—to achieve real‑time, billion‑user performance.

Game DevelopmentPersistenceScalability
0 likes · 5 min read
Designing Scalable Game Leaderboards with Redis: Core Requirements, Data Structures, and Architecture
Sanyou's Java Diary
Sanyou's Java Diary
Mar 24, 2025 · Databases

Boost High‑Concurrency Performance with Redis Batch Query Techniques

This article explores why batch execution in Redis improves command efficiency, simplifies client logic, and enhances transaction performance, and then details four core batch query methods—MGET, HMGET, Pipeline, and Lua scripting—along with practical SpringBoot examples and best‑practice considerations.

Lua ScriptMGETPipeline
0 likes · 10 min read
Boost High‑Concurrency Performance with Redis Batch Query Techniques
macrozheng
macrozheng
Mar 24, 2025 · Databases

Master Tiny RDM: A Lightweight Cross‑Platform Redis GUI for Developers

This guide introduces Tiny RDM, a modern, lightweight, cross‑platform Redis client with over 10k GitHub stars, details its key features, installation via Docker, usage tips—including theme switching, connection creation, and data operations—and showcases a real‑world e‑commerce project that leverages Redis.

DockerGUIMicroservices
0 likes · 7 min read
Master Tiny RDM: A Lightweight Cross‑Platform Redis GUI for Developers
The Dominant Programmer
The Dominant Programmer
Mar 22, 2025 · Databases

Common Redis Performance Issues and How to Make Your Cache Fly

This article examines the most frequent Redis performance bottlenecks—including high memory usage, network latency, misconfiguration, poor data‑structure choices, and suboptimal persistence—explains why they occur, and provides concrete optimization techniques, monitoring commands, real‑world case studies, and emerging trends to keep your cache fast and stable.

Data StructuresMemory ManagementNetwork Latency
0 likes · 8 min read
Common Redis Performance Issues and How to Make Your Cache Fly
The Dominant Programmer
The Dominant Programmer
Mar 22, 2025 · Databases

Master Redis Interview Questions: From Basics to Advanced, Ace Your Interview

This article compiles the most frequently asked Redis interview questions, covering fundamentals, data structures, persistence mechanisms, high‑availability features, clustering, performance tuning, and troubleshooting, providing clear explanations and practical guidance to help candidates confidently tackle any Redis interview.

Data StructuresPerformance OptimizationPersistence
0 likes · 8 min read
Master Redis Interview Questions: From Basics to Advanced, Ace Your Interview
Bitu Technology
Bitu Technology
Mar 21, 2025 · Backend Development

Optimizing Redis Latency for an Online Feature Store: A Batch Query Case Study

This article describes how Tubi improved the latency of its Redis‑backed online feature store for machine‑learning inference by analyzing query patterns, measuring client‑side bottlenecks, and applying optimizations such as binary Avro encoding, MGET usage, virtual partitioning, and parallel deserialization to meet a sub‑10 ms SLA.

Feature StoreLatencyMLOps
0 likes · 9 min read
Optimizing Redis Latency for an Online Feature Store: A Batch Query Case Study
Java Backend Full-Stack
Java Backend Full-Stack
Mar 21, 2025 · Interview Experience

Only Four Interviews After a Layoff: My Takeaways

After being laid off, the author interviewed only four companies, detailing each interview’s technical questions—from Spring Cloud and MySQL to concurrency and design patterns—and reflecting on the interviewers’ professionalism, the relevance of his skill set, and the importance of matching resumes to job requirements.

JavaSpringCloudconcurrency
0 likes · 6 min read
Only Four Interviews After a Layoff: My Takeaways
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 20, 2025 · Backend Development

Implementing Geolocation‑Based Fraud Detection with Redis GEO Commands

This article outlines a fraud‑detection use case that leverages Redis GEO commands to compare user order addresses with known malicious locations, discusses technology choices among MySQL, Redis, and Elasticsearch, explains Redis’s Sorted‑Set and GeoHash implementation, and provides Java code examples for GEOADD, GEOPOS, GEODIST, and GEORADIUS.

BackendGEOADDGeoHash
0 likes · 9 min read
Implementing Geolocation‑Based Fraud Detection with Redis GEO Commands
Sohu Tech Products
Sohu Tech Products
Mar 19, 2025 · Databases

Redis Vector Search Technology for AI Applications: Implementation and Best Practices

The article explains how Redis vector search, powered by RedisSearch’s FLAT and HNSW algorithms and supporting various data types and precisions, enables fast AI-driven similarity queries for text, image, and audio, and provides implementation guidance, optimization tips, and a real‑world customer‑service use case.

AI applicationsDatabase OptimizationHNSW
0 likes · 17 min read
Redis Vector Search Technology for AI Applications: Implementation and Best Practices
vivo Internet Technology
vivo Internet Technology
Mar 19, 2025 · Operations

Cache Monitoring Practices for Redis and Caffeine in High‑Traffic Game Services

The article details practical monitoring strategies for both remote Redis and local Caffeine caches in high‑traffic game services, including prefix‑based Redis key tracking, Aspect‑oriented instrumentation, Caffeine statistics collection, and real‑world case studies that illustrate how these metrics identify hot‑keys, cache‑miss spikes, and reduce system load.

Cache MonitoringCaffeineaspectj
0 likes · 19 min read
Cache Monitoring Practices for Redis and Caffeine in High‑Traffic Game Services
Sanyou's Java Diary
Sanyou's Java Diary
Mar 17, 2025 · Backend Development

Mastering Flash Sale Scalability: Redis, MQ, and Inventory Hint Strategies

This article explores industry‑proven techniques for handling massive flash‑sale traffic, covering pressure‑distribution, Redis + MQ combos, Lua‑based stock deduction, RocketMQ transactional messages, and Alibaba Cloud's Inventory Hint to ensure consistency and performance under extreme concurrency.

Inventory HintLua ScriptMessage Queue
0 likes · 14 min read
Mastering Flash Sale Scalability: Redis, MQ, and Inventory Hint Strategies
macrozheng
macrozheng
Mar 14, 2025 · Databases

Boost High‑Traffic Services with Redis: Local & Remote Caching Strategies

This article explains how to use Redis as a high‑performance caching layer—covering local and remote caches, support for multiple data structures, expiration and eviction policies, persistence mechanisms like RDB and AOF, a simple TCP protocol, and advanced modules—enabling services to handle tens of thousands of queries per second without overloading MySQL.

Data StructuresPersistenceredis
0 likes · 10 min read
Boost High‑Traffic Services with Redis: Local & Remote Caching Strategies
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Mar 14, 2025 · Databases

All About Redis Cluster: Architecture, Setup, Operations, and High‑Availability

This article provides a comprehensive guide to Redis Cluster, covering its background, overall architecture, deployment steps, configuration templates, cluster creation commands, basic key‑value operations, high‑availability testing, and how to manually assign master‑slave relationships for robust distributed caching.

ClusterDistributeddatabase
0 likes · 14 min read
All About Redis Cluster: Architecture, Setup, Operations, and High‑Availability
Sohu Tech Products
Sohu Tech Products
Mar 12, 2025 · Databases

Understanding Redis Streams: Core Commands and SpringBoot Integration

The article introduces Redis Streams as a Kafka‑like messaging structure, explains its fundamental concepts and seven core commands (XADD, XRANGE, XREAD, XGROUP CREATE, XREADGROUP, XACK, XTRIM), demonstrates integration with Spring Boot, and evaluates its fit for lightweight, low‑backlog queue scenarios.

Redis CommandsSpringBootStream
0 likes · 14 min read
Understanding Redis Streams: Core Commands and SpringBoot Integration
Sohu Tech Products
Sohu Tech Products
Mar 5, 2025 · Databases

Redis Persistence Mechanisms: AOF, RDB, and Hybrid Persistence

Redis offers three persistence options—AOF, which logs every write command; RDB, which creates periodic snapshots; and hybrid persistence, which combines both—to balance data safety, recovery speed, file size, and performance, with configurable settings for sync policies, rewrite processes, and compression.

AOFHybrid PersistencePersistence
0 likes · 20 min read
Redis Persistence Mechanisms: AOF, RDB, and Hybrid Persistence
dbaplus Community
dbaplus Community
Mar 4, 2025 · Databases

Why Does Redis Prefer Hash Slots Over Consistent Hashing?

Redis Cluster distributes data using 16,384 hash slots calculated via CRC16, a design that offers flexible slot allocation, simpler data migration, and better performance compared to traditional consistent hashing, and this article explains the slot mechanism, node scaling, client routing, and the reasons behind the 16K slot choice.

CRC16Hash Slotscluster scaling
0 likes · 9 min read
Why Does Redis Prefer Hash Slots Over Consistent Hashing?
Cognitive Technology Team
Cognitive Technology Team
Mar 3, 2025 · Databases

Understanding Redis Memory Management: maxmemory Configuration and Eviction Policies

This article explains how Redis uses memory as a cache, details the maxmemory setting and its configuration methods, describes various eviction policies—including LRU, LFU, and random strategies—and outlines expiration handling, replication considerations, and best‑practice recommendations for stable high‑load deployments.

LFULRUeviction policy
0 likes · 10 min read
Understanding Redis Memory Management: maxmemory Configuration and Eviction Policies
Cognitive Technology Team
Cognitive Technology Team
Mar 1, 2025 · Databases

Async IO Thread in Redis 8.0 M3: Design, Implementation, and Performance Evaluation

The article explains why Redis needs asynchronous IO threading, describes the shortcomings of previous IO‑thread models, details the design of the new async IO thread architecture with event‑notified client queues and thread‑safety mechanisms, and presents performance test results showing up to double the QPS and significantly lower latency.

Async IOIO Threadsconcurrency
0 likes · 15 min read
Async IO Thread in Redis 8.0 M3: Design, Implementation, and Performance Evaluation
Cognitive Technology Team
Cognitive Technology Team
Mar 1, 2025 · Databases

Understanding and Mitigating Redis Large‑Key Issues

The article explains what constitutes a Redis large key, outlines its performance and stability risks, describes common scenarios and root causes, and provides practical detection commands, mitigation techniques such as splitting, compression, proper data modeling, and monitoring strategies to prevent future issues.

Memory Optimizationdatabaselarge key
0 likes · 6 min read
Understanding and Mitigating Redis Large‑Key Issues
macrozheng
macrozheng
Feb 28, 2025 · Backend Development

Mastering Two-Level Cache in Spring Boot: Caffeine + Redis Integration

This article explains how to build a two‑level cache architecture using Caffeine as a local cache and Redis as a remote cache in a Spring Boot project, covering manual implementation, Spring cache annotations, and a custom AOP‑based solution while discussing advantages, consistency challenges, and best‑practice code examples.

Cache ManagementCaffeineSpring Boot
0 likes · 20 min read
Mastering Two-Level Cache in Spring Boot: Caffeine + Redis Integration
Cognitive Technology Team
Cognitive Technology Team
Feb 28, 2025 · Databases

Why Redis Is So Fast: An In‑Depth Analysis of Its High‑Performance Design

Redis achieves exceptional speed by storing all data in memory, using a single‑threaded event‑driven architecture with epoll/kqueue, employing efficient I/O multiplexing, optimizing data structures such as strings, hashes and sorted sets, and providing flexible persistence and high‑availability options, all of which are detailed in this article.

In-MemoryScalabilitycaching
0 likes · 7 min read
Why Redis Is So Fast: An In‑Depth Analysis of Its High‑Performance Design
Cognitive Technology Team
Cognitive Technology Team
Feb 27, 2025 · Backend Development

High‑Concurrency Seckill Solutions: Redis + MQ, Pressure Distribution, and Inventory Hint Techniques

This article examines common industry practices for handling massive e‑commerce flash‑sale traffic, detailing pressure‑distribution, Redis + MySQL, Redis + MQ, and Alibaba's Inventory Hint approaches, and explains how Lua scripts, transactional MQ messages, and database hints together ensure atomic stock deduction and consistency under extreme load.

Inventory HintMQSeckill
0 likes · 13 min read
High‑Concurrency Seckill Solutions: Redis + MQ, Pressure Distribution, and Inventory Hint Techniques
Java Architect Essentials
Java Architect Essentials
Feb 27, 2025 · Backend Development

How to Enforce Login Attempt Limits with Spring Boot, Redis, and Lua Scripts

This article walks through the problem of locking out users after multiple failed login attempts, explains why IP‑based locking with Redis and Lua scripts is effective, and provides a complete Spring Boot implementation—including front‑end HTML, custom annotations, AOP aspect, Redis configuration, and sample controller code—to enforce a configurable login‑attempt limit.

BackendJavaLogin Rate Limiting
0 likes · 18 min read
How to Enforce Login Attempt Limits with Spring Boot, Redis, and Lua Scripts
vivo Internet Technology
vivo Internet Technology
Feb 26, 2025 · Backend Development

Building a Million-User Group Chat System: Server-Side Architecture and Implementation

The article details how to engineer a Web‑based group chat that supports one million members by selecting WebSocket for real‑time communication, using read‑diffusion storage, a three‑layer architecture with Redis routing and Kafka queues, ensuring ordered, reliable delivery via TCP, ACKs and UUID deduplication, calculating unread counts with Redis ZSETs, and handling massive traffic through rate‑limiting, protobuf compression and message chunking.

IM SystemMessage OrderingWebSocket
0 likes · 21 min read
Building a Million-User Group Chat System: Server-Side Architecture and Implementation
Bilibili Tech
Bilibili Tech
Feb 25, 2025 · Artificial Intelligence

Design and Implementation of a Live Streaming Highlight System with AI Optimization

The paper details a live‑streaming highlight system that integrates heterogeneous data sources, uses a three‑stage pipeline with MySQL/Redis storage, applies sliding‑window interval optimization and AI‑driven title generation, scoring, and segment selection, managed by a shared state‑machine, and outlines future stability and observability improvements.

AI OptimizationBackend ArchitectureHighlight System
0 likes · 22 min read
Design and Implementation of a Live Streaming Highlight System with AI Optimization
macrozheng
macrozheng
Feb 25, 2025 · Databases

Master Redis: 16 Real-World Patterns for Caching, Locks, and More

This guide explores 16 practical Redis use cases—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, product tags, filtering, follow models, and ranking—providing code snippets and implementation tips for each pattern.

Bitmapsdistributed-lockredis
0 likes · 9 min read
Master Redis: 16 Real-World Patterns for Caching, Locks, and More
MaGe Linux Operations
MaGe Linux Operations
Feb 23, 2025 · Databases

Master Redis Cluster Setup: High Availability, Configuration, and Java Integration

This guide walks through why Redis clustering is needed for high availability, explains the decentralized cluster architecture introduced in Redis 3.0, provides step‑by‑step configuration of multiple redis.conf files, demonstrates creating a six‑node cluster, shows key slot calculations, fault‑tolerance handling, and includes Java Jedis code for connecting to the cluster.

ClusterJava Jedisredis
0 likes · 19 min read
Master Redis Cluster Setup: High Availability, Configuration, and Java Integration
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Feb 21, 2025 · Databases

Why Redis’s In-Memory Architecture Beats Disk: Speed, Events, and Data Structures

Redis stores data directly in memory rather than on disk, leveraging microsecond‑level access, a single‑threaded Reactor event loop with I/O multiplexing, optimized data structures like strings, hashes, lists, sets, and a simple text protocol, all of which combine to deliver exceptionally high performance for high‑frequency read/write workloads.

Data StructuresIn-Memory Databaseevent loop
0 likes · 3 min read
Why Redis’s In-Memory Architecture Beats Disk: Speed, Events, and Data Structures