Tagged articles

Redis

3508 articles · Page 16 of 36
21CTO
21CTO
Mar 24, 2023 · Backend Development

How to Build a High‑Concurrency Ticket‑Spiking System Like 12306 with Go and Redis

This article dissects the architecture of a 12306‑style ticket‑spiking service, explaining load‑balancing strategies, weighted Nginx routing, local and remote stock deduction using Go and Redis, and demonstrates performance testing that achieves thousands of requests per second while preventing oversell and undersell.

GoRedisbackend
0 likes · 20 min read
How to Build a High‑Concurrency Ticket‑Spiking System Like 12306 with Go and Redis
Java High-Performance Architecture
Java High-Performance Architecture
Mar 24, 2023 · Backend Development

Explore Echo: Open-Source Java Community Platform & Deployment Guide

Echo is a full‑stack open‑source Java community system built with Spring Boot, MyBatis, MySQL, Redis, Kafka and Elasticsearch, offering modules like posts, comments and notifications, and the article provides its core tech stack, development environment, local setup steps, deployment architecture, demo screenshots and source code access.

ElasticsearchJavaKafka
0 likes · 5 min read
Explore Echo: Open-Source Java Community Platform & Deployment Guide
360 Quality & Efficiency
360 Quality & Efficiency
Mar 24, 2023 · Operations

Performance Testing and Optimization of a Web Application Using JMeter and BlazeMeter

This article details a comprehensive performance testing workflow—including requirement analysis, script recording with BlazeMeter, data construction, iterative optimization, and final results—targeting a web application that must handle over 5,000 TPS with 2 million database records, highlighting bottlenecks in Redis, MySQL, and code logic.

BlazeMeterJMeterMySQL
0 likes · 7 min read
Performance Testing and Optimization of a Web Application Using JMeter and BlazeMeter
政采云技术
政采云技术
Mar 23, 2023 · Backend Development

Distributed Locks: Concepts, Characteristics, and Common Implementation Strategies

This article explains the need for distributed locks in multi‑node systems, describes their core characteristics, and compares popular implementation approaches such as database‑based optimistic and pessimistic locks, Redis atomic locks, and ZooKeeper sequential node locks, highlighting their principles and trade‑offs.

Redisoptimistic-lockpessimistic lock
0 likes · 8 min read
Distributed Locks: Concepts, Characteristics, and Common Implementation Strategies
Laravel Tech Community
Laravel Tech Community
Mar 22, 2023 · Databases

Redis 7.0.10 Released with Security Fixes and Bug Corrections

Redis version 7.0.10 has been released, addressing a critical security vulnerability (CVE‑2023‑28425) in the MSETNX command, fixing several bugs including memory‑usage issues with large stream nodes and client reply handling, and providing updated release notes on GitHub.

Bug FixesDatabaseRedis
0 likes · 2 min read
Redis 7.0.10 Released with Security Fixes and Bug Corrections
Selected Java Interview Questions
Selected Java Interview Questions
Mar 22, 2023 · Backend Development

Netty TCP Demo: Architecture, Code Walkthrough, and Usage Guide

This article presents a comprehensive Netty TCP demo project, covering its architecture, module layout, business flow, detailed Java code for message queuing, client execution, handler implementation, testing endpoints, and deployment considerations, providing a practical learning resource for backend developers.

JavaNettyRedis
0 likes · 21 min read
Netty TCP Demo: Architecture, Code Walkthrough, and Usage Guide
Java High-Performance Architecture
Java High-Performance Architecture
Mar 19, 2023 · Databases

Mastering Distributed ID Generation: From UUID to Snowflake and Beyond

This article explores various distributed ID generation strategies—including UUID, database auto‑increment, segment mode, Redis INCR, Snowflake, Meituan Leaf, Baidu UidGenerator, and Didi TinyID—detailing their principles, advantages, drawbacks, and Java code examples to help developers choose the right solution for high‑scale systems.

JavaRedisdistributed ID
0 likes · 16 min read
Mastering Distributed ID Generation: From UUID to Snowflake and Beyond
ITPUB
ITPUB
Mar 19, 2023 · Databases

Master Redis Persistence, Transactions, and Pipelines: A Practical Guide

This article explains Redis's in‑memory database persistence mechanisms—including RDB snapshots and AOF logging—detailing configuration, automatic and manual triggers, advantages and drawbacks, as well as Redis transaction commands and pipeline usage, providing practical code examples to help developers master data durability and performance.

AOFPersistencePipelines
0 likes · 12 min read
Master Redis Persistence, Transactions, and Pipelines: A Practical Guide
Top Architect
Top Architect
Mar 19, 2023 · Backend Development

Distributed Global Unique ID Generation: Requirements, Common Solutions, and Snowflake Implementation

The article explains why distributed systems need globally unique identifiers, outlines strict generation rules and availability requirements, compares common approaches such as UUID, database auto‑increment and Redis, and provides a detailed overview and Java implementation of Twitter's Snowflake algorithm.

Redisdistributed IDsnowflake
0 likes · 14 min read
Distributed Global Unique ID Generation: Requirements, Common Solutions, and Snowflake Implementation
Programmer DD
Programmer DD
Mar 16, 2023 · Backend Development

Mastering Rate Limiting with Redis: 3 Practical Implementations

This article explains three Redis‑based rate‑limiting techniques—using SETNX, sorted sets, and a token‑bucket with lists—providing code examples, discussing their advantages and drawbacks, and showing how to integrate them into Java Spring applications to protect high‑concurrency services.

JavaRedisSliding Window
0 likes · 7 min read
Mastering Rate Limiting with Redis: 3 Practical Implementations
ITPUB
ITPUB
Mar 15, 2023 · Databases

Why Is Redis So Fast? Deep Dive into Its History, Architecture, and Performance

This article explores Redis’s evolution from its 2009 inception, outlines major version releases, examines its in‑memory design, efficient data structures, encoding schemes, single‑threaded event loop with epoll, and benchmark results, illustrating why Redis achieves exceptionally high throughput and low latency in real‑world deployments.

PerformanceRedisThread Model
0 likes · 15 min read
Why Is Redis So Fast? Deep Dive into Its History, Architecture, and Performance
HomeTech
HomeTech
Mar 15, 2023 · Backend Development

Design and Implementation of a Modular Coupon System for E‑commerce Operations

This article details the architecture, component‑based design, dynamic template generation, batch processing, activity management, and technical challenges such as custom component rendering, condition‑expression creation, and high‑concurrency coupon issuance for a scalable e‑commerce coupon platform.

Dynamic TemplatesRedisbackend architecture
0 likes · 19 min read
Design and Implementation of a Modular Coupon System for E‑commerce Operations
Selected Java Interview Questions
Selected Java Interview Questions
Mar 14, 2023 · Databases

16 Common Redis Use Cases and How to Implement Them

This article outlines sixteen practical Redis usage scenarios—including caching, distributed sessions, locks, ID generation, counters, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, tags, filtering, follow relationships, and leaderboards—explaining each concept and providing example code snippets for implementation.

BitmapsLeaderboardRedis
0 likes · 9 min read
16 Common Redis Use Cases and How to Implement Them
Java Architect Essentials
Java Architect Essentials
Mar 13, 2023 · Databases

Two Approaches to Synchronize MySQL Data with Redis Cache

This article explains two technical solutions for keeping MySQL data in sync with Redis cache—using a MySQL trigger with a UDF function and parsing MySQL binlog events—while also reviewing the Canal open‑source tool and discussing their trade‑offs and implementation details.

CanalDatabase ReplicationMySQL
0 likes · 6 min read
Two Approaches to Synchronize MySQL Data with Redis Cache
Architect's Guide
Architect's Guide
Mar 12, 2023 · Backend Development

Redis Interview Questions: Solving Cache Penetration, Cache Breakdown, and Cache Avalanche

This article explains the concepts of cache penetration, cache breakdown (stampede), and cache avalanche in Redis, and provides practical solutions such as parameter validation, null‑value caching, Bloom filters, mutex locks, hot‑data non‑expiration, and randomizing expiration times, accompanied by Java code examples.

CacheCache BreakdownJava
0 likes · 9 min read
Redis Interview Questions: Solving Cache Penetration, Cache Breakdown, and Cache Avalanche
Laravel Tech Community
Laravel Tech Community
Mar 9, 2023 · Databases

Understanding Redis Persistence: AOF and RDB Mechanisms

This article explains how Redis ensures data durability by using two persistence strategies—Append Only File (AOF) and Redis Database (RDB) snapshots—detailing their operation, configuration options, trade‑offs, rewrite processes, and how they handle expired keys and recovery.

AOFData RecoveryDatabase
0 likes · 13 min read
Understanding Redis Persistence: AOF and RDB Mechanisms
dbaplus Community
dbaplus Community
Mar 9, 2023 · Backend Development

Mastering Redis: A 7‑Step Strategy to Read Its Source Code Efficiently

This article shares a practical, seven‑step methodology for tackling large open‑source projects like Redis, covering project mapping, prerequisite knowledge, starting with core modules, following the main execution path, handling complex functions, branching into secondary features, and finally filling knowledge gaps.

Code navigationRedisbackend development
0 likes · 13 min read
Mastering Redis: A 7‑Step Strategy to Read Its Source Code Efficiently
NiuNiu MaTe
NiuNiu MaTe
Mar 9, 2023 · Databases

Understanding Redis Ziplist and Listpack: Memory‑Efficient List Implementations

This article explains Redis's compressed list structures—ZIPLIST and its successor LISTPACK—detailing their layouts, encoding schemes, query and update complexities, and how LISTPACK resolves ZIPLIST's chain‑update performance issues to provide a more memory‑efficient list implementation.

Data StructuresListpackRedis
0 likes · 10 min read
Understanding Redis Ziplist and Listpack: Memory‑Efficient List Implementations
ITPUB
ITPUB
Mar 8, 2023 · Databases

Mastering Redis Cluster: Deep Dive into Sharding, Failover, and Scaling

This article provides a comprehensive guide to Redis Cluster, covering its sharding mechanism, hash slot mapping, replication and automatic failover, client data location, slot reassignment, MOVED/ASK redirection, communication overhead, and practical tuning tips for large‑scale deployments.

ClusterFailoverRedis
0 likes · 20 min read
Mastering Redis Cluster: Deep Dive into Sharding, Failover, and Scaling
Architecture Digest
Architecture Digest
Mar 8, 2023 · Backend Development

Cache Consistency Strategies Between MySQL and Redis

The article explains the classic cache consistency problem between MySQL and Redis, analyzes how inconsistencies arise, and details four cache‑update design patterns—delete‑then‑update, cache‑aside, read/write‑through, and write‑behind—highlighting their workflows, advantages, and drawbacks.

Cache ConsistencyDesign PatternsMySQL
0 likes · 8 min read
Cache Consistency Strategies Between MySQL and Redis
Java Architect Essentials
Java Architect Essentials
Mar 7, 2023 · Databases

16 Common Redis Application Scenarios with Code Examples

This article presents sixteen typical Redis use cases—including caching, distributed locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, product tags, filtering, follow relationships, and ranking—each explained with practical code snippets and command examples.

CacheDatabaseDistributedLock
0 likes · 9 min read
16 Common Redis Application Scenarios with Code Examples
MaGe Linux Operations
MaGe Linux Operations
Mar 3, 2023 · Databases

How Redis Manages Memory Exhaustion: Expiration, Eviction, LRU & LFU

Redis uses key expiration commands, periodic scanning, and a combination of lazy and active deletion strategies, and when memory is full it applies one of eight eviction policies—including refined LRU and LFU algorithms with sampling and decay mechanisms—to decide which keys to discard.

Key ExpirationLFULRU
0 likes · 13 min read
How Redis Manages Memory Exhaustion: Expiration, Eviction, LRU & LFU
NiuNiu MaTe
NiuNiu MaTe
Mar 2, 2023 · Databases

Master Redis Lists: Commands, Encoding, and QUICKLIST Explained

This article introduces Redis List as a linked collection of strings, explains its size limits, common CRUD commands, read operations, and dives into the underlying encodings—ZIPLIST, LINKEDLIST, and the hybrid QUICKLIST—highlighting when each is used.

Rediscommandsdata structure
0 likes · 8 min read
Master Redis Lists: Commands, Encoding, and QUICKLIST Explained
MaGe Linux Operations
MaGe Linux Operations
Mar 1, 2023 · Backend Development

How to Prevent Redis Cache Avalanche, Penetration, and Breakdown

This article explains the concepts of Redis cache avalanche, penetration, and breakdown, illustrates real‑world incidents, and provides pre‑, during‑, and post‑failure strategies such as high‑availability setups, local caches with rate limiting, and defensive caching of empty values.

Cache AvalancheCache BreakdownCache Penetration
0 likes · 7 min read
How to Prevent Redis Cache Avalanche, Penetration, and Breakdown
Selected Java Interview Questions
Selected Java Interview Questions
Mar 1, 2023 · Databases

Redis Interview Questions and Core Concepts Explained

This article provides a comprehensive overview of Redis, covering why it is used as a cache, its single‑threaded efficiency, multithreading in version 6.0, common data structures and their use cases, pipeline advantages, persistence mechanisms, transactions, Bloom filter for massive URL checks, internal data organization, and incremental rehashing.

Bloom filterData StructuresPersistence
0 likes · 16 min read
Redis Interview Questions and Core Concepts Explained
DevOps Operations Practice
DevOps Operations Practice
Feb 28, 2023 · Databases

Understanding Redis: NoSQL Basics, Data Types, Persistence, Replication, Sentinel and Cache Issues

This article provides a comprehensive overview of Redis as a NoSQL in‑memory database, covering its core data structures, special types, transaction model, RDB and AOF persistence, publish/subscribe, master‑slave replication, Sentinel failover, and common cache pitfalls such as penetration, breakdown and avalanche, with practical mitigation strategies.

NoSQLPersistenceRedis
0 likes · 45 min read
Understanding Redis: NoSQL Basics, Data Types, Persistence, Replication, Sentinel and Cache Issues
Su San Talks Tech
Su San Talks Tech
Feb 28, 2023 · Backend Development

11 Ways to Implement Delayed Tasks in Java: From DelayQueue to Quartz

This article surveys eleven Java techniques for delayed task execution—including DelayQueue, Timer, ScheduledThreadPoolExecutor, RocketMQ, RabbitMQ, Redis key‑expiration, Redisson, Netty, Hutool, Quartz and simple polling—explaining their core principles, code examples, and when each approach is appropriate.

DelayQueueJavaMessageQueue
0 likes · 25 min read
11 Ways to Implement Delayed Tasks in Java: From DelayQueue to Quartz
Sanyou's Java Diary
Sanyou's Java Diary
Feb 27, 2023 · Backend Development

11 Ways to Implement Delayed Tasks in Java – From DelayQueue to Redis and MQ

This article surveys eleven practical techniques for implementing delayed tasks in Java, covering JDK utilities like DelayQueue, Timer, and ScheduledThreadPoolExecutor, as well as message‑queue solutions such as RocketMQ, RabbitMQ, Redis key‑expiration, Redisson, Netty, Hutool, Quartz, and simple polling, with code demos and implementation principles.

Message QueueRedisdelayed tasks
0 likes · 26 min read
11 Ways to Implement Delayed Tasks in Java – From DelayQueue to Redis and MQ
dbaplus Community
dbaplus Community
Feb 26, 2023 · Backend Development

Why Redis Is More Than a Cache: Architecture, Persistence, and Scaling Explained

This article provides a comprehensive overview of Redis, covering its role as an in‑memory data‑structure server, various deployment topologies such as single instances, high‑availability, Sentinel, replication, and clustering, as well as its persistence mechanisms including RDB, AOF, and fork‑based snapshots.

ClusterIn-Memory DatabasePersistence
0 likes · 17 min read
Why Redis Is More Than a Cache: Architecture, Persistence, and Scaling Explained
Java Backend Technology
Java Backend Technology
Feb 24, 2023 · Databases

KeyDB vs Redis: Multithreaded Architecture, Fastlock & Active‑Replica Explained

KeyDB is a high‑performance, multithreaded fork of Redis that retains full protocol compatibility while offering double the query throughput, reduced latency, and features like Active‑Replication, fastlock spin‑locks, and advanced client‑connection management, making it a compelling drop‑in replacement for Redis deployments.

KeyDBRedisactive-replication
0 likes · 10 min read
KeyDB vs Redis: Multithreaded Architecture, Fastlock & Active‑Replica Explained
DataFunSummit
DataFunSummit
Feb 23, 2023 · Databases

Understanding Redis Persistence: AOF, RDB, and Hybrid Mechanisms

This article explains Redis's three persistence options—Append‑Only File (AOF), Redis DataBase snapshots (RDB), and the hybrid mode—detailing their inner workings, configuration strategies, performance trade‑offs, and how to choose the most reliable solution for a given workload.

AOFDatabasePersistence
0 likes · 23 min read
Understanding Redis Persistence: AOF, RDB, and Hybrid Mechanisms
NiuNiu MaTe
NiuNiu MaTe
Feb 22, 2023 · Databases

Master Redis String Internals: Common Interview Questions & Answers

This article reviews essential Redis string concepts, covering typical interview questions, encoding types, the EMBSTR threshold, SDS structure, and memory allocation details to help readers solidify their understanding of Redis string implementation.

InterviewMemory ManagementRedis
0 likes · 8 min read
Master Redis String Internals: Common Interview Questions & Answers
Top Architect
Top Architect
Feb 21, 2023 · Backend Development

Designing a High‑Concurrency Flash‑Sale Architecture: Nginx, Redis, MQ, and Safety Measures

This article presents a comprehensive backend architecture for flash‑sale systems, covering Nginx static‑dynamic separation, Redis‑based rate limiting and distributed locks, MQ buffering, database sharding, safety protections, page optimization, and detailed Nginx configuration examples to handle massive concurrent traffic.

MQRedisflash sale
0 likes · 12 min read
Designing a High‑Concurrency Flash‑Sale Architecture: Nginx, Redis, MQ, and Safety Measures
Code Ape Tech Column
Code Ape Tech Column
Feb 21, 2023 · Backend Development

Designing Multi-Level Cache Architecture for Microservices

This article explains how to design an effective multi-level caching system in a microservice environment, covering client‑side browser caching, application‑layer CDN and Nginx caching, and service‑layer in‑process and distributed caches, along with consistency strategies and practical deployment examples.

CDNRedisnginx
0 likes · 14 min read
Designing Multi-Level Cache Architecture for Microservices
Sanyou's Java Diary
Sanyou's Java Diary
Feb 20, 2023 · Backend Development

Mastering Spring Cache: From Hard‑Coded to Multi‑Level Redis Integration

This tutorial walks through the evolution from manual Redis calls to Spring Cache abstraction, explains AOP‑based proxying, details core annotations, demonstrates Caffeine and Redisson integration, explores list caching, and shows how to build a custom two‑level cache for high‑performance Java back‑ends.

CaffeineMulti-Level CacheRedis
0 likes · 18 min read
Mastering Spring Cache: From Hard‑Coded to Multi‑Level Redis Integration
Tencent Cloud Developer
Tencent Cloud Developer
Feb 15, 2023 · Databases

How to Build a Stable, High‑Performance Redis Cluster: Persistence, Replication, Sentinel and Sharding

This guide walks developers through transforming a single‑node Redis cache into a stable, high‑performance cluster by explaining data persistence options (RDB, AOF, hybrid), master‑slave replication, Sentinel‑driven automatic failover, and both client‑side and proxy‑based sharding for horizontal scalability.

ClusterPersistenceRedis
0 likes · 17 min read
How to Build a Stable, High‑Performance Redis Cluster: Persistence, Replication, Sentinel and Sharding
Sanyou's Java Diary
Sanyou's Java Diary
Feb 13, 2023 · Backend Development

Can Redis Replace MQ? Building a Reliable Delayed Queue with Keyspace Events and Redisson

This article compares two Redis‑based delayed‑queue approaches—listening to key‑space expiration events and using Redisson’s built‑in delayed queue—detailing their principles, Spring Boot demos, pitfalls, and why Redisson offers a more reliable solution for distributed applications.

Delayed QueueKeyspace NotificationsRedis
0 likes · 18 min read
Can Redis Replace MQ? Building a Reliable Delayed Queue with Keyspace Events and Redisson
Top Architect
Top Architect
Feb 11, 2023 · Backend Development

Comprehensive Guide to User Login Flow, Token Management, and Anonymous Access in Backend Systems

This article explains the complete user login process, including mobile verification, token generation, token expiration policies, request‑rate limiting with Redis, anonymous request handling, blacklist management, and provides full Java Spring code examples for implementing these backend authentication mechanisms.

API securityAuthenticationRedis
0 likes · 11 min read
Comprehensive Guide to User Login Flow, Token Management, and Anonymous Access in Backend Systems
The Dominant Programmer
The Dominant Programmer
Feb 9, 2023 · Cloud Native

Step-by-Step Docker‑Compose Guide to Deploy a SpringBoot‑Vue‑Redis‑MySQL Stack

This article walks through installing Docker and Docker‑Compose, creating a project directory, writing a docker‑compose.yml that defines Redis, MySQL, Nginx, Java, and a file‑preview service, configuring each container, and using docker‑compose commands to build, start, monitor, and manage the full SpringBoot‑Vue application stack.

Container OrchestrationDocker ComposeMySQL
0 likes · 12 min read
Step-by-Step Docker‑Compose Guide to Deploy a SpringBoot‑Vue‑Redis‑MySQL Stack
Tencent Cloud Developer
Tencent Cloud Developer
Feb 8, 2023 · Backend Development

Design and Implementation of QQ Reminder Subscription Push System

Tencent’s QQ reminder subscription push system combines push‑pull prefetching, heterogeneous MySQL/Redis storage, delayed‑queue triggers, Redis‑based rate‑limiting, task scattering, message‑queue decoupling, at‑least‑once delivery, and dual‑replica disaster recovery within a dispatcher‑worker architecture to ensure reliable, controllable, low‑latency mass notifications.

At-Least-OncePush NotificationQQ
0 likes · 13 min read
Design and Implementation of QQ Reminder Subscription Push System
ITPUB
ITPUB
Feb 7, 2023 · Backend Development

How Redis Enables Ultra‑Fast Flash Sale Handling

This article explains why Redis is essential for flash‑sale (秒杀) systems, detailing the load characteristics, the three sale phases, stock‑checking and decrement strategies, atomic operations, distributed locks, data modeling, and practical deployment recommendations for high‑concurrency back‑end services.

Redisatomic-operationsdistributed lock
0 likes · 11 min read
How Redis Enables Ultra‑Fast Flash Sale Handling
Architecture Digest
Architecture Digest
Feb 5, 2023 · Databases

Redis Memory Management and Optimization Practices

This article explains Redis's internal memory architecture, details the various memory components such as used_memory, object memory, client buffers, and fragmentation, and provides practical optimization techniques and real‑world case studies to reduce memory usage and improve performance.

Memory ManagementPerformanceRedis
0 likes · 22 min read
Redis Memory Management and Optimization Practices
Sohu Tech Products
Sohu Tech Products
Feb 1, 2023 · Databases

How to Track Redis Key Changes Using MONITOR, Keyspace Events, and AOF Files

This article explains various methods to monitor Redis key changes—including using the MONITOR command, configuring keyspace event notifications, and parsing AOF files with optional timestamps—detailing their setup, advantages, limitations, and practical code examples for accurate change tracking in production environments.

AOFKey MonitoringKeyspace Events
0 likes · 13 min read
How to Track Redis Key Changes Using MONITOR, Keyspace Events, and AOF Files
Java Architect Essentials
Java Architect Essentials
Jan 31, 2023 · Big Data

Optimizing Large-Scale Data Retrieval: ClickHouse Pagination, Elasticsearch Scroll Scan, ES+HBase, and RediSearch + RedisJSON Solutions

This article examines a business requirement to filter and rank up to 100,000 records from a pool of tens of millions, presenting and evaluating four technical solutions—multithreaded ClickHouse pagination, Elasticsearch scroll‑scan deep paging, an ES‑HBase combined query, and a RediSearch + RedisJSON approach—along with performance data and code examples.

ClickHouseElasticsearchHBase
0 likes · 12 min read
Optimizing Large-Scale Data Retrieval: ClickHouse Pagination, Elasticsearch Scroll Scan, ES+HBase, and RediSearch + RedisJSON Solutions
Laravel Tech Community
Laravel Tech Community
Jan 31, 2023 · Databases

Redis 7.0.8 Released with Security and Bug Fixes

Redis version 7.0.8 has been released, addressing critical security vulnerabilities (CVE-2022-35977 and CVE-2023-22458) and fixing several bugs related to command handling, incremental rehashing, timeout blocking, and sentinel IP changes, with a full changelog available on GitHub.

BugFixDatabaseRedis
0 likes · 2 min read
Redis 7.0.8 Released with Security and Bug Fixes
政采云技术
政采云技术
Jan 31, 2023 · Artificial Intelligence

Redis Object: The Bridge Between Two Data Structures

RedisObject serves as a bridge between Redis's external data structures and internal implementations, enabling efficient storage and retrieval of data types like strings, lists, hashes, sets, and sorted sets through a unified object model.

Data StructuresRedisinternal-implementation
0 likes · 24 min read
Redis Object: The Bridge Between Two Data Structures
Java High-Performance Architecture
Java High-Performance Architecture
Jan 29, 2023 · Information Security

Master Spring Security: From Quick Start to Advanced JWT Authentication and RBAC

This comprehensive guide walks you through Spring Security fundamentals, setting up a Spring Boot project, configuring authentication with JWT and Redis, implementing RBAC permission management, customizing error handling, enabling CORS, and addressing CSRF, providing complete code examples and detailed explanations for secure backend development.

AuthenticationJWTRBAC
0 likes · 45 min read
Master Spring Security: From Quick Start to Advanced JWT Authentication and RBAC
dbaplus Community
dbaplus Community
Jan 27, 2023 · Operations

Deploy and Use a Lightweight Redis Monitor for Real‑Time Metrics

This guide explains how to install, configure, and run a lightweight Redis Monitor that visualizes connection count, QPS, memory usage and replication delay, supports standalone, sentinel and cluster modes, and provides email and WeChat alerts via simple PHP scripts.

AutomationMySQLPHP
0 likes · 7 min read
Deploy and Use a Lightweight Redis Monitor for Real‑Time Metrics
IT Architects Alliance
IT Architects Alliance
Jan 27, 2023 · Backend Development

Mastering Session Management and SSO: From Cookies to CAS with Redis

This article analyzes the limitations of traditional HTTP session mechanisms in single‑server and clustered environments, explains why session sharing is essential for multi‑system products, and presents practical solutions such as session replication and centralized Redis storage, followed by a detailed walkthrough of CAS‑based single sign‑on implementation with Java Spring code examples and a comparison to OAuth2.

AuthenticationCASJava
0 likes · 15 min read
Mastering Session Management and SSO: From Cookies to CAS with Redis
JavaEdge
JavaEdge
Jan 25, 2023 · Backend Development

How Redis Powers High‑Concurrency Flash Sales (秒杀)

This article explains why Redis is essential for flash‑sale systems, detailing load characteristics, the three sale phases, Redis features such as high concurrency and atomic operations, and practical implementations using Lua scripts and distributed locks to ensure safe stock checking and deduction.

Redisatomic-operationsbackend development
0 likes · 12 min read
How Redis Powers High‑Concurrency Flash Sales (秒杀)
ITPUB
ITPUB
Jan 25, 2023 · Backend Development

Mastering Distributed Caching with Redis and Memcached in Spring Boot

This article explains the fundamentals, characteristics, and use‑cases of distributed caching, compares Memcached and Redis, and provides a step‑by‑step Spring Boot implementation with code samples, testing guidance, and solutions to common cache pitfalls such as hot keys, penetration, and avalanche.

Cache DesignPerformanceRedis
0 likes · 20 min read
Mastering Distributed Caching with Redis and Memcached in Spring Boot
Java High-Performance Architecture
Java High-Performance Architecture
Jan 23, 2023 · Databases

Unlock 16 Powerful Redis Use Cases to Supercharge Your Applications

This article explores sixteen practical Redis patterns—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, queues, lotteries, likes, tags, product filtering, follow relationships, and leaderboards—detailing their data types, commands, and code examples for building high‑performance systems.

Data StructuresRediscaching
0 likes · 9 min read
Unlock 16 Powerful Redis Use Cases to Supercharge Your Applications
Cognitive Technology Team
Cognitive Technology Team
Jan 19, 2023 · Databases

Implementation Principles of Redis Pub/Sub (Ordinary Subscription)

This article explains how Redis implements the Pub/Sub messaging pattern by storing subscription relationships in hash‑based dictionaries, detailing the processing flow of SUBSCRIBE and PUBLISH commands, cluster propagation, and key limitations such as lack of persistence and client buffer constraints.

Message QueueRedisdatabases
0 likes · 5 min read
Implementation Principles of Redis Pub/Sub (Ordinary Subscription)
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 17, 2023 · Databases

Understanding Redis Persistence: RDB and AOF Overview

This article provides a comprehensive overview of Redis persistence mechanisms, detailing the concepts, features, advantages, disadvantages, trigger strategies, operational processes, configuration options, and troubleshooting steps for both RDB (snapshot) and AOF (append‑only file) approaches.

AOFDatabasePersistence
0 likes · 10 min read
Understanding Redis Persistence: RDB and AOF Overview
Architect
Architect
Jan 16, 2023 · Databases

Redis Fundamentals: Pipelines, Pub/Sub, Expiration, Transactions, Persistence, Distributed Locks and Clustering

This article provides a comprehensive overview of Redis, covering basic concepts, pipeline optimization, publish/subscribe messaging, key expiration strategies, transaction behavior, persistence mechanisms (RDB, AOF, hybrid), distributed locking techniques, Redisson and Redlock algorithms, as well as high‑availability setups using replication, Sentinel and Cluster modes.

ClusteringDistributed LocksPersistence
0 likes · 32 min read
Redis Fundamentals: Pipelines, Pub/Sub, Expiration, Transactions, Persistence, Distributed Locks and Clustering
Code Ape Tech Column
Code Ape Tech Column
Jan 16, 2023 · Backend Development

Implementing Two-Level Caching with Spring Cache, Caffeine, and Redis

This article explains how to replace manual cache handling with Spring Cache annotations, introduces the concepts of L1 (Caffeine) and L2 (Redis) caches, discusses design considerations for consistency, null handling, eviction, and provides practical Maven and configuration examples for Java backend applications.

CacheCaffeineRedis
0 likes · 18 min read
Implementing Two-Level Caching with Spring Cache, Caffeine, and Redis
Su San Talks Tech
Su San Talks Tech
Jan 16, 2023 · Backend Development

Why Is Redis So Fast? Unveiling Its Core Data Structures

This article explains how Redis achieves high performance by storing data in memory and using a variety of specialized data structures—such as SDS, quicklist, listpack, hash tables, and skip lists—to implement its key‑value store, covering their designs, trade‑offs, and evolution across Redis versions.

Data StructuresHash TableListpack
0 likes · 49 min read
Why Is Redis So Fast? Unveiling Its Core Data Structures
Programmer DD
Programmer DD
Jan 15, 2023 · Databases

Why Caching and Redis Are Essential for High‑Performance Web Applications

This article explains why modern internet products need caching to handle massive real‑time data, introduces Redis as an in‑memory database with persistence, master‑slave replication, and clustering, and demonstrates how these techniques dramatically improve performance, scalability, and reliability of web services.

ClusterMaster‑SlaveRead-Write Separation
0 likes · 13 min read
Why Caching and Redis Are Essential for High‑Performance Web Applications
Selected Java Interview Questions
Selected Java Interview Questions
Jan 14, 2023 · Databases

Understanding Redis: Is It Truly Single-Threaded?

This article clarifies the common misconception that Redis is purely single‑threaded by detailing its single‑threaded network I/O model, the evolution of multithreading support across versions, the client‑server request flow, and the underlying Reactor patterns that enable efficient concurrency.

DatabaseReactor ModelRedis
0 likes · 14 min read
Understanding Redis: Is It Truly Single-Threaded?
Architecture Digest
Architecture Digest
Jan 14, 2023 · Backend Development

Design and Implementation of a Follow/Unfollow Microservice Using MySQL and Redis

This article details the requirements analysis, design approach, database schema, and step‑by‑step implementation of a follow/unfollow microservice using MySQL for persistence and Redis Sets for efficient set operations, including Maven dependencies, Spring Boot configuration, RedisTemplate setup, service, controller, and testing of common‑follow queries.

Follow ServiceJavaMySQL
0 likes · 17 min read
Design and Implementation of a Follow/Unfollow Microservice Using MySQL and Redis
Java Architect Essentials
Java Architect Essentials
Jan 13, 2023 · Backend Development

How to Build a Scalable Follow Service with MySQL, Redis, and Spring Cloud

This article walks through the complete design and implementation of a friend‑follow microservice, covering requirement analysis, MySQL table schema, Redis set operations, Spring Boot dependencies, configuration, service and controller code, gateway routing, and end‑to‑end testing with concrete examples and performance insights.

Follow ServiceJavaMySQL
0 likes · 12 min read
How to Build a Scalable Follow Service with MySQL, Redis, and Spring Cloud
macrozheng
macrozheng
Jan 12, 2023 · Databases

Choosing the Right Java Redis Client: Jedis vs Lettuce vs Redisson

This article compares three popular Java Redis clients—Jedis, Lettuce, and Redisson—detailing their advantages, drawbacks, and recommended usage scenarios, helping developers select the most suitable client based on performance, thread safety, and advanced Redis features such as clustering, sentinel, and distributed locks.

Client ComparisonJavaLettuce
0 likes · 9 min read
Choosing the Right Java Redis Client: Jedis vs Lettuce vs Redisson
Programmer DD
Programmer DD
Jan 11, 2023 · Databases

Redis Deep Dive: Pipelines, Pub/Sub, Persistence, Locks & Cluster

This comprehensive guide explores Redis fundamentals and advanced features, covering pipelines for reduced RTT, publish/subscribe messaging, key expiration strategies, transaction behavior, persistence mechanisms (RDB, AOF, hybrid), distributed locking techniques, sentinel high‑availability, and cluster sharding, with practical code examples and diagrams.

DatabaseRedisdistributed systems
0 likes · 47 min read
Redis Deep Dive: Pipelines, Pub/Sub, Persistence, Locks & Cluster
Java Architect Essentials
Java Architect Essentials
Jan 8, 2023 · Backend Development

Implementing Instant, Chunked, and Resumable File Uploads in Java

The article explains how to improve large file upload experiences by using instant (MD5‑based) upload, chunked upload, and resumable upload techniques, and provides complete Java backend implementations with Redis tracking, RandomAccessFile and MappedByteBuffer, plus practical deployment recommendations.

Chunked UploadRedisResumable Upload
0 likes · 12 min read
Implementing Instant, Chunked, and Resumable File Uploads in Java
Architect's Guide
Architect's Guide
Jan 6, 2023 · Backend Development

Redis Interview Questions: Solving Cache Penetration, Cache Breakdown, and Cache Avalanche

This article explains common Redis caching issues—cache penetration, cache breakdown, and cache avalanche—detailing their causes and practical mitigation techniques such as parameter validation, null caching, Bloom filters, mutex locks, hot‑data strategies, and staggered expiration to ensure system stability.

CacheCache AvalancheCache Breakdown
0 likes · 9 min read
Redis Interview Questions: Solving Cache Penetration, Cache Breakdown, and Cache Avalanche
Top Architect
Top Architect
Jan 5, 2023 · Backend Development

Design and Architecture of a One‑to‑One Instant Messaging System

This article analyzes the functional decomposition, data structures, system architecture, push‑pull mode selection, and message flow of a one‑to‑one instant messaging service, providing practical design guidelines and example Redis/MySQL schemas for building a scalable chat backend.

Instant MessagingMessage QueueRedis
0 likes · 13 min read
Design and Architecture of a One‑to‑One Instant Messaging System
Java High-Performance Architecture
Java High-Performance Architecture
Dec 31, 2022 · Databases

Mastering Alibaba Cloud Redis: Key Design, Commands, and Client Best Practices

This guide details Alibaba Cloud Redis development standards, including readable key naming, value size limits, safe command usage, client connection pooling, eviction policies, useful tooling, and efficient big‑key deletion methods, helping engineers build high‑performance, reliable Redis services.

Alibaba CloudBigKey ManagementClient Pooling
0 likes · 11 min read
Mastering Alibaba Cloud Redis: Key Design, Commands, and Client Best Practices
Code Ape Tech Column
Code Ape Tech Column
Dec 28, 2022 · Big Data

Design and Optimization of Querying 100k Records from Tens of Millions Using ClickHouse, Elasticsearch, HBase, and Redis

This article presents a comprehensive analysis and multiple design alternatives—including multithreaded ClickHouse pagination, Elasticsearch scroll‑scan, ES+HBase hybrid, and RediSearch+RedisJSON—to efficiently filter, sort, and de‑duplicate up to 100,000 records from a pool of tens of millions, with detailed performance comparisons and code examples.

HBaseQuery OptimizationRedis
0 likes · 10 min read
Design and Optimization of Querying 100k Records from Tens of Millions Using ClickHouse, Elasticsearch, HBase, and Redis
Java Architect Essentials
Java Architect Essentials
Dec 27, 2022 · Backend Development

Building a Scalable Follow Service with MySQL, Redis Sets, and Spring Boot

This article walks through the design and implementation of a friend‑follow microservice using MySQL for persistence, Redis Sets for fast set operations, and Spring Boot, covering requirement analysis, data modeling, dependency setup, configuration, service logic, and testing with concrete code examples and performance insights.

Follow ServiceJavaMySQL
0 likes · 19 min read
Building a Scalable Follow Service with MySQL, Redis Sets, and Spring Boot
ITPUB
ITPUB
Dec 25, 2022 · Backend Development

10 Hidden Pitfalls of Using Redis Distributed Locks (and How to Avoid Them)

This article examines ten common traps when implementing Redis distributed locks—ranging from non‑atomic setnx/expire operations and missing expirations to lock release ordering, re‑entrancy, master‑slave replication issues, and the Redlock algorithm—providing concrete code examples, explanations, and best‑practice solutions.

JavaRedisRedisson
0 likes · 15 min read
10 Hidden Pitfalls of Using Redis Distributed Locks (and How to Avoid Them)
dbaplus Community
dbaplus Community
Dec 20, 2022 · Databases

Why Redis Cluster’s CLUSTER SLOTS Command Slows Down Large Deployments and How to Fix It

This article analyzes the latency spikes observed in large‑scale Redis clusters after node expansion, identifies the CLUSTER SLOTS command and slot‑migration handling in hiredis‑vip and Jedis as the root cause, proposes a slot‑traversal optimization, and demonstrates a ten‑fold performance improvement with detailed benchmarks.

ClusterDatabaseRedis
0 likes · 19 min read
Why Redis Cluster’s CLUSTER SLOTS Command Slows Down Large Deployments and How to Fix It
php Courses
php Courses
Dec 20, 2022 · Databases

Redis Memory Not Releasing Issue and Analysis of 20 Million Expiring Keys

This article describes a Redis 5.0 memory leak scenario where 20 million keys with expiration caused memory not to be released, details the investigation steps, findings about the activeExpireCycle, and concludes that memory will eventually be freed, followed by a promotional announcement for a PHP online live class.

Memory ManagementPHPPerformance
0 likes · 3 min read
Redis Memory Not Releasing Issue and Analysis of 20 Million Expiring Keys