Tagged articles

Redis

3508 articles · Page 15 of 36
Open Source Linux
Open Source Linux
Jun 9, 2023 · Backend Development

How We Built a High‑Availability Membership System for Billions of Users

This article details the design and implementation of a highly available, high‑performance membership platform serving over a billion users, covering Elasticsearch dual‑center clusters, traffic‑isolated clusters, deep ES optimizations, Redis caching strategies, MySQL dual‑center partitioning, seamless migration, and fine‑grained flow‑control and degradation mechanisms.

ElasticsearchMySQLRedis
0 likes · 21 min read
How We Built a High‑Availability Membership System for Billions of Users
FunTester
FunTester
Jun 7, 2023 · Big Data

Optimizing Query Performance in WeChat's Multi‑Dimensional Monitoring Platform with Druid and Redis

The article details how WeChat's multi‑dimensional metric monitoring platform, which handles billions of data points per minute, reduced average query latency from over 1000 ms to around 140 ms and achieved over 85% cache hit rate by analyzing query behavior, redesigning the data layer architecture, splitting queries into sub‑queries, adding Redis caching, and introducing sub‑dimension tables.

Big DataCacheDruid
0 likes · 13 min read
Optimizing Query Performance in WeChat's Multi‑Dimensional Monitoring Platform with Druid and Redis
Liangxu Linux
Liangxu Linux
Jun 6, 2023 · Databases

Why MySQL Chooses B+ Trees Over Skip Lists for Indexing

The article explains the structural differences between B+ trees and skip lists, compares their read‑write performance in MySQL and Redis, and shows why MySQL prefers B+ trees while Redis adopts skip lists for its in‑memory ZSET implementation.

B+TreeDatabaseIndexing
0 likes · 13 min read
Why MySQL Chooses B+ Trees Over Skip Lists for Indexing
Bilibili Tech
Bilibili Tech
Jun 6, 2023 · Backend Development

Evolution of Bilibili Relationship Chain Service: From MySQL to KV Storage and Multi‑Layer Caching

Bilibili’s relationship‑chain service, which handles follows, blacklists, whispers and mutual follows, migrated from a single sharded MySQL instance to an internal distributed KV store and introduced a three‑tier cache (memcached, Redis and a Bloom filter) plus automated hotspot routing, achieving near‑million QPS, lower latency, and preparing for multi‑tenant reuse.

KV storeMySQLRedis
0 likes · 17 min read
Evolution of Bilibili Relationship Chain Service: From MySQL to KV Storage and Multi‑Layer Caching
Open Source Linux
Open Source Linux
Jun 6, 2023 · Backend Development

Explore a Lightweight Redis GUI with Full CRUD for All Data Types

This guide introduces a lightweight Redis graphical management tool that offers full CRUD support for all Redis data types, outlines its Spring Boot backend and Vue frontend stack, provides step‑by‑step installation and Docker deployment instructions, and details current features, UI screenshots, and future development plans.

CRUDDockerRedis
0 likes · 4 min read
Explore a Lightweight Redis GUI with Full CRUD for All Data Types
Architects Research Society
Architects Research Society
Jun 2, 2023 · Backend Development

Comparing RabbitMQ, Kafka, and Redis for Asynchronous Microservice Communication

This article examines synchronous versus asynchronous microservice communication, outlines the benefits of async messaging, and compares three popular message brokers—RabbitMQ, Kafka, and Redis—by evaluating their scale, persistence, consumer models, and ideal use cases to help developers choose the right solution.

KafkaMessage BrokerRedis
0 likes · 12 min read
Comparing RabbitMQ, Kafka, and Redis for Asynchronous Microservice Communication
Sanyou's Java Diary
Sanyou's Java Diary
Jun 1, 2023 · Databases

Mastering Redis 6 Client‑Side Caching: Modes, Benefits, and Practical Demo

This article explains Redis 6 client‑side caching, compares its default and broadcast tracking modes, outlines performance advantages, clarifies common misconceptions, and provides step‑by‑step telnet demos—including code snippets and image illustrations—to help developers implement the feature in real projects.

Client Side CachingRedisRedis6
0 likes · 13 min read
Mastering Redis 6 Client‑Side Caching: Modes, Benefits, and Practical Demo
MaGe Linux Operations
MaGe Linux Operations
May 31, 2023 · Operations

How We Achieved 20k TPS High‑Availability for a Billion‑User Membership System

This article details the design and implementation of a highly available, high‑performance membership system that serves over a billion users, covering Elasticsearch dual‑center HA, traffic‑isolated clusters, Redis caching, MySQL dual‑center partitioning, seamless migration, and refined flow‑control and degradation strategies.

ElasticsearchMySQLRedis
0 likes · 19 min read
How We Achieved 20k TPS High‑Availability for a Billion‑User Membership System
The Dominant Programmer
The Dominant Programmer
May 31, 2023 · Backend Development

SpringBoot Essentials: AES Encryption, Netty TCP Client, Redis Integration, and More

This article compiles a series of practical SpringBoot implementations—including AES encryption with Vue, a Netty‑based TCP client that parses hex data into MySQL, multiple Redis integration patterns, strategy‑factory designs, custom annotations for rate limiting, global exception handling, and scheduled tasks—each linked to detailed examples.

AESNettyRedis
0 likes · 5 min read
SpringBoot Essentials: AES Encryption, Netty TCP Client, Redis Integration, and More
MaGe Linux Operations
MaGe Linux Operations
May 30, 2023 · Databases

Explore a Lightweight Redis GUI: Features, Setup, and Future Plans

This article introduces a lightweight Redis graphical management tool, outlines its backend (Spring Boot) and frontend (Vue) architecture, provides step‑by‑step installation instructions including Docker usage, describes current features like multi‑user management and permission control, and shares future development plans with screenshots and the project repository link.

Admin ToolDatabase ManagementGUI
0 likes · 4 min read
Explore a Lightweight Redis GUI: Features, Setup, and Future Plans
Architecture Digest
Architecture Digest
May 30, 2023 · Backend Development

Lightweight Redis Admin Tool – Overview, Architecture, Installation, and Future Plans

This document introduces a lightweight Redis graphical management tool, outlines its Spring Boot backend and Vue frontend architecture, provides step‑by‑step installation instructions including Docker deployment, details recent feature enhancements such as multi‑user support and permission control, and mentions future plans for clustering and sentinel modes.

DatabaseRedisSpring Boot
0 likes · 3 min read
Lightweight Redis Admin Tool – Overview, Architecture, Installation, and Future Plans
Liangxu Linux
Liangxu Linux
May 28, 2023 · Backend Development

Preventing Redis Cache Penetration, Avalanche, and Thundering Herd

This article explains the causes of Redis cache penetration, avalanche, and thundering herd, and provides practical mitigation strategies such as caching null values, using white‑lists, Bloom filters, pre‑warming hot keys, staggered expirations, multi‑level caching, and lock mechanisms.

CacheCaching StrategiesPerformance
0 likes · 7 min read
Preventing Redis Cache Penetration, Avalanche, and Thundering Herd
php Courses
php Courses
May 28, 2023 · Backend Development

Implementing Single Sign-On (SSO) with PHP: A Step-by-Step Guide

This tutorial explains how to build a PHP-based single sign‑on system using a main login application, a shared authentication service backed by MySQL and Redis, and multiple external applications, providing complete code examples for database setup, login handling, session sharing, and logout.

AuthenticationMySQLPHP
0 likes · 8 min read
Implementing Single Sign-On (SSO) with PHP: A Step-by-Step Guide
ITPUB
ITPUB
May 26, 2023 · Databases

Mastering Redis Transactions: Commands, CAS Locks, and Common Pitfalls

This article explains why Redis offers transactions, introduces the five core transaction commands, demonstrates practical examples including WATCH and CAS optimistic locking, and discusses error handling and the reasons Redis does not support rollback.

CASDatabaseRedis
0 likes · 9 min read
Mastering Redis Transactions: Commands, CAS Locks, and Common Pitfalls
Su San Talks Tech
Su San Talks Tech
May 25, 2023 · Databases

Why MySQL Uses B+ Trees Instead of Skip Lists for Indexing

This article compares B+ trees and skip lists, explaining their structures, insertion and search complexities, and why MySQL chooses B+ trees for disk‑based indexing while Redis prefers skip lists for in‑memory sorted sets, highlighting trade‑offs in read/write performance and I/O costs.

B+TreeDatabaseIndexing
0 likes · 12 min read
Why MySQL Uses B+ Trees Instead of Skip Lists for Indexing
Top Architect
Top Architect
May 24, 2023 · Backend Development

Implementing Business Rate Limiting with Redis, Lua, and Kotlin Annotations

This article explains why a custom business rate‑limiting component is needed, outlines the required rules, chooses Redis + Lua for counting, and provides complete Kotlin/Spring code—including a Detect annotation, Lua scripts, and usage examples—to enforce daily, hourly, and combined limits with real‑time adjustments.

KotlinLuaRedis
0 likes · 10 min read
Implementing Business Rate Limiting with Redis, Lua, and Kotlin Annotations
Architecture Digest
Architecture Digest
May 23, 2023 · Databases

Redis Data Types: Overview, Use Cases, and Internal Implementations

This article provides a comprehensive English guide to Redis’s ten core data types—including strings, hashes, lists, sets, sorted sets, streams, hyperloglog, bitmap, and bitfield—detailing their definitions, typical application scenarios, underlying storage mechanisms, conversion rules, and sample Redis commands with code examples.

Data TypesDatabaseRedis
0 likes · 31 min read
Redis Data Types: Overview, Use Cases, and Internal Implementations
MaGe Linux Operations
MaGe Linux Operations
May 22, 2023 · Backend Development

How to Stop Redis Cache Penetration, Avalanche, and Breakdown

This article explains the three major Redis cache issues—penetration, avalanche, and breakdown—detailing their causes, real‑world examples, and practical mitigation strategies such as caching null values, using Bloom filters, staggering TTLs, multi‑level caching, and lock mechanisms to protect database stability.

CacheCache AvalancheCache Breakdown
0 likes · 6 min read
How to Stop Redis Cache Penetration, Avalanche, and Breakdown
Bilibili Tech
Bilibili Tech
May 19, 2023 · Backend Development

Local Cache Optimization for Outbox Redis in a High‑Traffic Feed Stream Service

To protect the outbox Redis cluster from extreme read amplification during hot events, the service adds a resident local cache for hot creators’ latest posts, using a threshold‑based list, change‑broadcast updates, and checksum verification, which achieved over 55% cache hits and cut peak Redis load by roughly 44% and CPU usage by 37%.

Cache OptimizationPerformance ScalingRedis
0 likes · 10 min read
Local Cache Optimization for Outbox Redis in a High‑Traffic Feed Stream Service
Laravel Tech Community
Laravel Tech Community
May 17, 2023 · Databases

Dragonfly vs Redis: Performance Claims, Benchmark Debate, and Architectural Insights

Dragonfly, an open‑source C/C++ memory cache system released by a former Google and Amazon engineer, claims superior speed and lower memory usage than Redis, but Redis’s team counters with benchmark results showing higher throughput and discusses architectural differences, scaling strategies, and future feature considerations.

DragonflyIn-Memory CacheRedis
0 likes · 10 min read
Dragonfly vs Redis: Performance Claims, Benchmark Debate, and Architectural Insights
Selected Java Interview Questions
Selected Java Interview Questions
May 17, 2023 · Backend Development

Effective Cache Strategies for Large Distributed Systems

This article explains how to design and use various client‑side, CDN, and server‑side caching techniques—including HTTP Cache‑Control, Redis data structures, cache consistency patterns, and mitigation of cache penetration, breakdown, and avalanche—to improve performance and reliability of high‑traffic distributed applications.

CDNCache ConsistencyRedis
0 likes · 23 min read
Effective Cache Strategies for Large Distributed Systems
NiuNiu MaTe
NiuNiu MaTe
May 17, 2023 · Databases

Mastering Redis HSET: Basics, Commands, and Internal Encoding

This article introduces Redis HSET, covering its definition, suitable use cases, common commands for creating, reading, updating, and deleting hash fields, as well as the underlying encoding mechanisms (ziplist vs hashtable) and best practices, including the deprecation of HMSET.

CacheDatabaseHSET
0 likes · 7 min read
Mastering Redis HSET: Basics, Commands, and Internal Encoding
Architecture Digest
Architecture Digest
May 16, 2023 · Backend Development

High‑Availability Architecture for a Membership System: Dual‑Center ES Cluster, Redis Caching, MySQL Migration, and Fine‑Grained Flow Control

This article presents a comprehensive engineering case study of a high‑traffic membership system, detailing the dual‑center Elasticsearch high‑availability design, traffic‑isolated three‑cluster ES architecture, Redis caching strategy, dual‑center MySQL partitioning and migration plan, abnormal member relationship governance, and future fine‑grained flow‑control and downgrade policies.

Data MigrationElasticsearchMySQL
0 likes · 19 min read
High‑Availability Architecture for a Membership System: Dual‑Center ES Cluster, Redis Caching, MySQL Migration, and Fine‑Grained Flow Control
Practical DevOps Architecture
Practical DevOps Architecture
May 16, 2023 · Databases

Redis Course Curriculum Overview: Distributed Locks, High Availability, Clustering, Persistence, and Advanced Projects

This article outlines a comprehensive Redis training program covering fundamentals, distributed lock implementation, high‑availability mechanisms, clustering, persistence strategies, and practical projects such as Bloom filter integration and flash‑sale systems, providing learners with the knowledge to master advanced Redis usage.

Bloom filterClusteringPersistence
0 likes · 5 min read
Redis Course Curriculum Overview: Distributed Locks, High Availability, Clustering, Persistence, and Advanced Projects
Selected Java Interview Questions
Selected Java Interview Questions
May 15, 2023 · Backend Development

Spring Boot Integration with Redis for Search History, Hot Search, and Sensitive Word Filtering

This guide demonstrates how to integrate Spring Boot with Redis to implement personal search history, hot search ranking, and sensitive word filtering using a DFA algorithm, including Maven dependencies, YAML configuration, utility classes, service implementations, and controller endpoints with full Java code examples.

DFA AlgorithmJavaRedis
0 likes · 19 min read
Spring Boot Integration with Redis for Search History, Hot Search, and Sensitive Word Filtering
Programmer DD
Programmer DD
May 15, 2023 · Backend Development

Choosing the Right Distributed ID Strategy: UUID, Snowflake, Segment, Redis, and More

This article examines various distributed ID generation techniques—including UUID, database auto‑increment, segment mode, Redis INCR, Snowflake, Meituan Leaf, Baidu UidGenerator, and Didi TinyID—detailing their principles, advantages, drawbacks, and code examples to help developers select the most suitable solution for their systems.

RedisSegmentdistributed ID
0 likes · 16 min read
Choosing the Right Distributed ID Strategy: UUID, Snowflake, Segment, Redis, and More
Ops Development Stories
Ops Development Stories
May 15, 2023 · Databases

Unlocking Redis: Deep Dive into Data Structures, Persistence, and High Availability

This comprehensive guide explains Redis fundamentals, covering NoSQL basics, the five core data types and their internal storage mechanisms, persistence options (RDB and AOF), replication, Sentinel failover, publish/subscribe patterns, and common cache pitfalls such as penetration, breakdown, and avalanche, providing practical insights for developers and architects.

CacheData StructuresNoSQL
0 likes · 54 min read
Unlocking Redis: Deep Dive into Data Structures, Persistence, and High Availability
Su San Talks Tech
Su San Talks Tech
May 14, 2023 · Backend Development

How We Boosted a Classification Tree API 10× Faster with 5 Smart Optimizations

In this article we walk through five successive optimizations—adding Redis caching, scheduling asynchronous jobs, introducing local Caffeine cache, enabling Nginx GZip compression, and slimming Redis data—to dramatically improve the performance of a SpringBoot‑Thymeleaf classification‑tree query, reducing response size from 1 MB to 100 KB and raising QPS from 100 to over 500.

CaffeineRedisSpringBoot
0 likes · 10 min read
How We Boosted a Classification Tree API 10× Faster with 5 Smart Optimizations
政采云技术
政采云技术
May 11, 2023 · Databases

Redis Persistence: RDB Snapshots, AOF Write‑Ahead Log, and Hybrid Persistence

Redis provides two primary persistence mechanisms—RDB snapshots that capture the dataset at specific moments and AOF write‑ahead logs that record every write command—along with a hybrid model combining both, each with distinct strategies, advantages, drawbacks, and configuration options to ensure data durability and fast recovery.

AOFDatabasePersistence
0 likes · 15 min read
Redis Persistence: RDB Snapshots, AOF Write‑Ahead Log, and Hybrid Persistence
dbaplus Community
dbaplus Community
May 9, 2023 · Backend Development

How to Build a Scalable Discount System with Real‑Time Crowd Sync

This article explains a three‑step architecture for describing, storing, and calculating fan‑based discounts, introduces a crowd‑based abstraction to accelerate high‑traffic queries, and details a hybrid offline‑plus‑real‑time data‑sync strategy that ensures consistency and millisecond‑level response times.

Redisbackendcrowd-abstraction
0 likes · 10 min read
How to Build a Scalable Discount System with Real‑Time Crowd Sync
Java High-Performance Architecture
Java High-Performance Architecture
May 7, 2023 · Backend Development

How We Built a Billion‑User High‑Availability Membership System with Dual‑Center ES, Redis, and MySQL

This article details the design and implementation of a high‑performance, highly available membership platform serving billions of users, covering dual‑center Elasticsearch clusters, traffic‑isolated three‑cluster ES architecture, Redis caching strategies, MySQL dual‑center partitioning, seamless migration, and fine‑grained flow‑control and degradation mechanisms.

ElasticsearchMySQLRedis
0 likes · 21 min read
How We Built a Billion‑User High‑Availability Membership System with Dual‑Center ES, Redis, and MySQL
Top Architect
Top Architect
May 5, 2023 · Backend Development

Using Redis Sentinel for High Availability: Design and Implementation

This article introduces Redis Sentinel as the official high‑availability solution for Redis, explains its core functions, provides configuration examples, compares three ways to receive failover notifications (script, client subscription, and indirect service), and offers design recommendations for robust production deployments.

DevOpsFailoverRedis
0 likes · 10 min read
Using Redis Sentinel for High Availability: Design and Implementation
Laravel Tech Community
Laravel Tech Community
May 4, 2023 · Databases

Redis Development Guidelines: Key Design, Command Usage, and Best Practices

This article outlines comprehensive Redis development standards, covering key naming conventions, value design, lifecycle management, command usage guidelines, prohibited commands, batch operations, transaction considerations, and Lua scripting constraints, aiming to reduce common pitfalls and improve performance and maintainability.

Command Best PracticesDatabaseKey Design
0 likes · 6 min read
Redis Development Guidelines: Key Design, Command Usage, and Best Practices
IT Architects Alliance
IT Architects Alliance
May 4, 2023 · Backend Development

Designing Redis High Availability with Sentinel

This article explains how to use Redis Sentinel for high‑availability deployments, covering its core features, configuration files, startup commands, monitoring behavior, three methods of receiving failover notifications, and recommended architectural patterns for robust backend systems.

ConfigurationRedisSentinel
0 likes · 9 min read
Designing Redis High Availability with Sentinel
Su San Talks Tech
Su San Talks Tech
May 2, 2023 · Databases

Master Redis Interview Questions: Performance, Persistence, High Availability & More

This comprehensive guide covers why Redis is fast, its underlying data structures, single‑threaded and epoll models, cache eviction policies, persistence mechanisms, high‑availability architecture, performance bottlenecks, distributed locking, cache avalanche/penetration strategies, data skew handling, and bitmap applications, providing essential knowledge for interview preparation.

DatabaseRediscaching
0 likes · 23 min read
Master Redis Interview Questions: Performance, Persistence, High Availability & More
Top Architect
Top Architect
Apr 30, 2023 · Backend Development

Design and Implementation of a Coupon System for a Rental Platform

This article details the end‑to‑end design of a coupon system for a rental listing platform, covering business flow, database schema, state management, caching strategies, distributed locking, and optimization techniques using design patterns, Redis, MySQL, and message queues.

Redisbackend architecturecaching
0 likes · 20 min read
Design and Implementation of a Coupon System for a Rental Platform
ITPUB
ITPUB
Apr 30, 2023 · Databases

Inside Redis: Unveiling Its Core Architecture and Data Storage Mechanics

This article provides a detailed walkthrough of Redis's internal architecture, covering the client module, event‑driven networking, command processing, memory management, persistence strategies, high‑availability features, and the low‑level data structures such as redisServer, redisDb, dict, dictEntry, and redisObject that power its fast key‑value storage.

C languageData StructuresDatabase Internals
0 likes · 12 min read
Inside Redis: Unveiling Its Core Architecture and Data Storage Mechanics
Architect's Guide
Architect's Guide
Apr 30, 2023 · Backend Development

Evolution of Distributed Locks with Redis and Redisson

This article explains the step‑by‑step evolution of Redis‑based distributed lock implementations—from a simple SETNX approach to a robust solution using UUIDs, expiration, atomic Lua scripts, and finally Redisson’s high‑level lock API—illustrating common pitfalls and their fixes.

JavaRedisRedisson
0 likes · 8 min read
Evolution of Distributed Locks with Redis and Redisson
php Courses
php Courses
Apr 29, 2023 · Backend Development

Implementing Distributed Locks with Redis in PHP to Prevent Overselling

This article explains how to prevent overselling in high‑concurrency scenarios by using Redis‑based distributed locks in PHP, detailing initialization, lock acquisition with setnx, unlocking with del, and providing complete sample code along with best‑practice considerations.

PHPRedisdistributed lock
0 likes · 4 min read
Implementing Distributed Locks with Redis in PHP to Prevent Overselling
php Courses
php Courses
Apr 28, 2023 · Backend Development

Implementing Lock and Unlock Operations with PHP and Redis

This article explains how to use PHP and Redis to create a blocking lock for a game room, safely add users while preventing dirty reads, and release the lock atomically with a Lua script, providing complete code examples and practical tips.

LuaPHPRedis
0 likes · 4 min read
Implementing Lock and Unlock Operations with PHP and Redis
vivo Internet Technology
vivo Internet Technology
Apr 26, 2023 · Operations

Disaster Recovery Design and Practices for Vivo Push System

Vivo’s push platform achieves high‑availability disaster recovery by deploying multi‑region broker clusters, implementing dual‑active logic nodes across two data centers, adding a Kafka‑backed buffering layer for traffic spikes, and using a hybrid Redis‑plus‑disk KV storage scheme to ensure durable, real‑time message delivery.

KafkaPush SystemRedis
0 likes · 11 min read
Disaster Recovery Design and Practices for Vivo Push System
Java High-Performance Architecture
Java High-Performance Architecture
Apr 26, 2023 · Backend Development

How to Build a Robust Redis Distributed Lock with Spring AOP

This article explains why time‑consuming business operations need a distributed lock, walks through using Redis as a lock with Spring AOP, details the lock‑acquire, timeout, and renewal mechanisms, provides full code examples, testing steps, and best‑practice recommendations for reliable concurrency control in Java back‑end services.

JavaRedisScheduledExecutorService
0 likes · 12 min read
How to Build a Robust Redis Distributed Lock with Spring AOP
Zhuanzhuan Tech
Zhuanzhuan Tech
Apr 26, 2023 · Backend Development

Design and Implementation of an Automated Payment Channel Management System

This article describes the design, technology choices, architecture, and implementation details of an automated payment channel management system that uses Redis‑based time‑series storage, custom circuit‑breaker logic, and monitoring to achieve fast fault detection, accurate alerting, and future automated failover.

Redisbackendcircuit breaker
0 likes · 10 min read
Design and Implementation of an Automated Payment Channel Management System
MaGe Linux Operations
MaGe Linux Operations
Apr 25, 2023 · Backend Development

Choosing JWT vs Session: A Practical Guide to Secure Backend Authentication

This article compares JWT and session authentication, explains their differences, security and performance trade‑offs, and provides a complete Java implementation with Redis integration, guiding developers on selecting and implementing the most suitable authentication method for distributed backend systems.

AuthenticationJWTRedis
0 likes · 14 min read
Choosing JWT vs Session: A Practical Guide to Secure Backend Authentication
Selected Java Interview Questions
Selected Java Interview Questions
Apr 23, 2023 · Backend Development

Implementing Interface Rate Limiting with Spring Interceptor and Redis (Demo)

This article demonstrates a step‑by‑step implementation of API request throttling in a Spring backend using an Interceptor and Redis, covering the underlying principle, configurable limits, custom annotations, reflection‑based flexibility, and practical considerations such as path parameters and real‑IP handling.

AnnotationInterceptorJava
0 likes · 16 min read
Implementing Interface Rate Limiting with Spring Interceptor and Redis (Demo)
MaGe Linux Operations
MaGe Linux Operations
Apr 21, 2023 · Databases

What Is Redis? A Deep Dive into Its Architecture and Persistence

Redis is an open‑source, in‑memory key‑value data‑structure server that serves as a fast cache and primary database, offering various deployment options—including single instances, high‑availability setups, Sentinel, and clustering—along with flexible persistence mechanisms such as RDB snapshots and AOF logging.

ClusterIn-Memory DatabasePersistence
0 likes · 18 min read
What Is Redis? A Deep Dive into Its Architecture and Persistence
Java Interview Crash Guide
Java Interview Crash Guide
Apr 21, 2023 · Databases

Mastering Redis: Core Uses, Data Types, Persistence, and Performance Tricks

This article explains Redis’s primary roles as a high‑speed cache, in‑memory database, and analytics engine, compares it with relational databases, details its data structures, single‑threaded performance, persistence options, expiration and eviction policies, distributed lock implementation, and strategies for cache penetration, breakdown, and avalanche.

In-Memory DatabaseRedisdistributed lock
0 likes · 21 min read
Mastering Redis: Core Uses, Data Types, Persistence, and Performance Tricks
Architecture Digest
Architecture Digest
Apr 21, 2023 · Backend Development

Implementing a Distributed Redis Lock with Spring AOP and Automatic Renewal

This article explains how to protect time‑consuming business operations by using Redis as a distributed lock, designing a custom @RedisLock annotation, applying Spring AOP to intercept methods, handling lock acquisition, expiration, renewal via a ScheduledExecutorService, and releasing the lock safely after execution.

AOPJavaRedis
0 likes · 12 min read
Implementing a Distributed Redis Lock with Spring AOP and Automatic Renewal
ITPUB
ITPUB
Apr 20, 2023 · Databases

Understanding Redis Blocking: Commands, Persistence, and Big Key Pitfalls

This article explains why certain Redis commands, persistence mechanisms, and large keys can block the single‑threaded server, detailing the underlying causes, how to detect big keys, and practical ways to mitigate blocking in production environments.

AOFBig KeyDatabase Performance
0 likes · 8 min read
Understanding Redis Blocking: Commands, Persistence, and Big Key Pitfalls
58 Tech
58 Tech
Apr 20, 2023 · Big Data

Design and Implementation of a Data Application Platform for Business Opportunity Selection, Tagging, and Scheduling

The article describes a data application platform that enables business users to configure custom data selection rules for opportunities, create scheduled tasks, perform large‑scale data comparison, handle task dispatch with Redis queues, and implement rate‑limiting using sliding windows to ensure reliable processing.

RedisSparkTask Scheduling
0 likes · 9 min read
Design and Implementation of a Data Application Platform for Business Opportunity Selection, Tagging, and Scheduling
Architecture Digest
Architecture Digest
Apr 19, 2023 · Backend Development

Technical Selection and Implementation of Authentication Using JWT and Session in a Java Backend

This article compares session‑based and JWT‑based authentication, discusses their advantages, disadvantages, security and performance considerations, and provides a complete Java Spring Boot implementation—including dependency configuration, utility classes, login/logout/password update logic, and interceptor handling—using Redis for token management.

JWTJavaRedis
0 likes · 13 min read
Technical Selection and Implementation of Authentication Using JWT and Session in a Java Backend
DeWu Technology
DeWu Technology
Apr 14, 2023 · Backend Development

Async-fork: Mitigating Query Latency Spikes Incurred by the Fork-based Snapshot Mechanism from the OS Level

Async‑fork shifts the costly page‑table copying from Redis’s parent process to its child, allowing the parent to resume handling queries instantly and cutting snapshot‑induced latency spikes by over 98%, thereby dramatically improving tail latency during AOF rewrites, RDB backups, and master‑slave synchronizations.

Async-forkPage TableRedis
0 likes · 21 min read
Async-fork: Mitigating Query Latency Spikes Incurred by the Fork-based Snapshot Mechanism from the OS Level
政采云技术
政采云技术
Apr 13, 2023 · Backend Development

Understanding the AKF Scale Cube: X, Y, Z Axes for System Scalability and Their Application to Kafka and Redis

The article explains the AKF Scale Cube model—horizontal replication (X axis), functional decomposition (Y axis), and data/service partitioning (Z axis)—and demonstrates how these three scaling dimensions can be applied to backend systems such as Kafka and Redis to achieve high availability, performance, and fault isolation.

AKF Scale CubeKafkaRedis
0 likes · 19 min read
Understanding the AKF Scale Cube: X, Y, Z Axes for System Scalability and Their Application to Kafka and Redis
Java Architect Essentials
Java Architect Essentials
Apr 12, 2023 · Operations

High‑Availability Architecture for a Billion‑Scale Membership System

This article details the design and implementation of a high‑availability, billion‑scale membership system, covering Elasticsearch dual‑center clusters, traffic‑isolated architectures, deep ES optimizations, Redis caching strategies, MySQL migration with dual‑center partitioning, abnormal member relationship handling, and future fine‑grained flow‑control and degradation plans.

ElasticsearchFlow ControlMySQL
0 likes · 20 min read
High‑Availability Architecture for a Billion‑Scale Membership System
Su San Talks Tech
Su San Talks Tech
Apr 12, 2023 · Backend Development

Build a Switchable SpringBoot Rate Limiter with Guava and Redis

This tutorial walks through creating a reusable SpringBoot starter that combines Guava's local token‑bucket limiter and Redis's distributed limiter, allowing developers to toggle between them via a simple configuration property and integrate the solution seamlessly with AOP and conditional beans.

AOPGuavaJava
0 likes · 9 min read
Build a Switchable SpringBoot Rate Limiter with Guava and Redis
Top Architect
Top Architect
Apr 11, 2023 · Backend Development

Designing a High‑Concurrency Flash‑Sale System: Architecture, Strategies, and Implementation Details

This article presents a comprehensive, seven‑dimensional design for a flash‑sale (秒杀) system, covering business characteristics, overall architecture, peak‑limiting, Nginx configuration, page optimization, Redis clustering, message‑queue throttling, database design, captcha mechanisms, and key precautions for achieving high throughput and reliability.

Redisbackend architecturedatabase-design
0 likes · 13 min read
Designing a High‑Concurrency Flash‑Sale System: Architecture, Strategies, and Implementation Details
NiuNiu MaTe
NiuNiu MaTe
Apr 11, 2023 · Databases

Mastering Redis Sets: From Basics to Advanced Operations

This article introduces Redis Sets as unordered unique string collections, explains their ideal use cases, and provides detailed walkthroughs of creation, query, update, and deletion commands—including SADD, SREM, SISMEMBER, SCARD, SMEMBERS, SSCAN, SINTER, SUNION, and SDIFF—along with underlying encoding mechanisms.

Data StructuresDatabaseRedis
0 likes · 8 min read
Mastering Redis Sets: From Basics to Advanced Operations
IT Architects Alliance
IT Architects Alliance
Apr 11, 2023 · Backend Development

How to Build a High‑Performance Flash‑Sale System: Architecture & Best Practices

This article outlines a comprehensive flash‑sale system architecture covering front‑end separation, Nginx static handling, traffic shaping, Redis caching and locking, message‑queue throttling, database sharding, and captcha mechanisms to achieve high concurrency while ensuring security and reliability.

Message QueueRedisSystem Architecture
0 likes · 11 min read
How to Build a High‑Performance Flash‑Sale System: Architecture & Best Practices
macrozheng
macrozheng
Apr 6, 2023 · Information Security

How to Secure Public APIs: Prevent Tampering and Replay Attacks with Java

This article explains why exposed web APIs are vulnerable, introduces anti‑tampering and anti‑replay techniques, and provides a complete Spring Boot implementation—including request signing, timestamp and nonce validation, and Redis storage—to protect API endpoints from malicious reuse.

API securityAnti-replayJava
0 likes · 15 min read
How to Secure Public APIs: Prevent Tampering and Replay Attacks with Java
Architect
Architect
Apr 4, 2023 · Backend Development

Evolution of Distributed Locks with Redis and Redisson

This article walks through the step‑by‑step evolution of Redis‑based distributed lock implementations—from simple SETNX locking to atomic expiration, UUID‑based ownership, Lua‑scripted safe release, and finally using Redisson’s high‑level lock API—illustrating common pitfalls and robust solutions.

JavaRedisRedisson
0 likes · 8 min read
Evolution of Distributed Locks with Redis and Redisson
DeWu Technology
DeWu Technology
Mar 29, 2023 · Backend Development

Practical Guide to API Automation and Platform Usage

This guide explains how to integrate the DeWu API automation platform, detailing usage scenarios for developers, testers and data generators, optimal timing for case creation, maintenance‑reducing templates, reusable components, test‑plan execution, and common pitfalls with solutions, ultimately streamlining test management and boosting efficiency.

Redisapi-automationtesting
0 likes · 17 min read
Practical Guide to API Automation and Platform Usage
DataFunSummit
DataFunSummit
Mar 29, 2023 · Backend Development

Analysis of the Redis‑py Bug that Caused a ChatGPT Data Leak

A recent Redis‑py library vulnerability caused ChatGPT to expose personal data of about 1.2% of Plus users, prompting an OpenAI apology, a detailed post‑mortem, and a series of backend and security fixes to prevent similar incidents.

ChatGPTDataLeakRedis
0 likes · 5 min read
Analysis of the Redis‑py Bug that Caused a ChatGPT Data Leak
Snowball Engineer Team
Snowball Engineer Team
Mar 29, 2023 · Databases

Mastering Redis: Architecture, Use Cases, Testing Pitfalls & Solutions

This article provides a comprehensive overview of Redis—including its architecture, common data structures, real‑world usage scenarios such as caching, counters, and distributed locks—followed by detailed QA test cases, common pitfalls like cache penetration, and practical mitigation strategies.

DatabasePerformanceRedis
0 likes · 16 min read
Mastering Redis: Architecture, Use Cases, Testing Pitfalls & Solutions
dbaplus Community
dbaplus Community
Mar 28, 2023 · Information Security

How a Redis Client Bug Exposed ChatGPT User Data and What OpenAI Fixed

A recent bug in the open‑source redis‑py library caused ChatGPT to leak personal data of about 1.2 % of Plus users, allowing some users to see others' names, emails, and partial credit‑card details; OpenAI issued an apology, published a post‑mortem, and deployed a patch to fix the Redis Cluster async client issue.

ChatGPTOpenAIRedis
0 likes · 6 min read
How a Redis Client Bug Exposed ChatGPT User Data and What OpenAI Fixed
Top Architect
Top Architect
Mar 27, 2023 · Backend Development

Designing Multi‑Level Cache Architecture for Microservice Systems

This article explains how to design an effective multi‑level cache architecture for microservice systems, covering client‑side static resource caching, application‑layer CDN and Nginx caching, service‑layer in‑process and distributed caches, consistency challenges, and practical scenarios for using each layer.

CDNRediscaching
0 likes · 17 min read
Designing Multi‑Level Cache Architecture for Microservice Systems
Top Architect
Top Architect
Mar 26, 2023 · Backend Development

Comprehensive Guide to Rate Limiting: Concepts, Algorithms, and Implementation Strategies

This article provides a thorough overview of rate limiting, covering its basic concepts, common algorithms such as token bucket, leaky bucket and sliding window, and practical implementation methods across Nginx, Tomcat, Guava, Redis, Sentinel and other middleware for both single‑machine and distributed systems.

MiddlewareRedisrate limiting
0 likes · 17 min read
Comprehensive Guide to Rate Limiting: Concepts, Algorithms, and Implementation Strategies