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

cachingdatabasehigh availability
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.

Backend ArchitectureCoupon Systemcaching
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.

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

PHPdistributed-lockoverselling
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.

LuaPHPlocking
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 Systemdisaster recovery
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.

ScheduledExecutorServiceconcurrencydistributed-lock
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.

Backendcircuit breakerfault tolerance
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.

AuthenticationJWTSession
0 likes · 14 min read
Choosing JWT vs Session: A Practical Guide to Secure Backend Authentication
Baidu Intelligent Cloud Tech Hub
Baidu Intelligent Cloud Tech Hub
Apr 25, 2023 · Databases

How Baidu’s PegaDB Redefines Redis with Low‑Cost, High‑Capacity Storage

This article details Baidu Cloud's PegaDB—a Redis‑compatible, high‑capacity, low‑cost distributed KV store—covering its design choices, architecture, performance and replication optimizations, multi‑region active‑active support, native JSON model, community contributions, and future roadmap.

Low-Cost StoragePegaDBdistributed database
0 likes · 16 min read
How Baidu’s PegaDB Redefines Redis with Low‑Cost, High‑Capacity Storage
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.

Interceptorannotationjava
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 Databasedistributed-lockeviction policy
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.

Spring Bootaopconcurrency
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 KeyBlocking
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.

Sparkrate limitingredis
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.

BackendJWTSession
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 Tablebackend-development
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 CubeDistributed SystemsKafka
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.

Distributed SystemsElasticsearchFlow Control
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.

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

Backend ArchitectureDatabase designdistributed-lock
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 StructuresSetcommands
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 QueueNginxSystem 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-replaySpring Boot
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.

Backendconcurrencydistributed-lock
0 likes · 8 min read
Evolution of Distributed Locks with Redis and Redisson
Java Architect Essentials
Java Architect Essentials
Apr 3, 2023 · Backend Development

Implementing Internal/External API Isolation with Gateway, Redis Whitelist, and AOP in Java Microservices

This article explains three practical approaches—separate microservices, gateway + Redis whitelist, and gateway + AOP—to restrict external access to internal APIs, and provides a detailed Spring Cloud Gateway and AOP code implementation for Java microservice architectures.

API SecurityMicroservicesSpring Cloud Gateway
0 likes · 7 min read
Implementing Internal/External API Isolation with Gateway, Redis Whitelist, and AOP in Java Microservices
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.

API automationredistesting
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.

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

cachingdatabasedistributed-lock
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.

ChatGPTInformation SecurityOpenAI
0 likes · 6 min read
How a Redis Client Bug Exposed ChatGPT User Data and What OpenAI Fixed
Programmer DD
Programmer DD
Mar 28, 2023 · Information Security

How a Redis Client Bug Exposed ChatGPT Users’ Data – Inside the Leak

Last Monday, a Redis client bug caused ChatGPT to leak user conversation histories and personal details of about 1.2% of Plus subscribers, prompting OpenAI to temporarily shut down the service, investigate, and release a patch fixing the underlying Redis‑py issue.

AIChatGPTdata leak
0 likes · 5 min read
How a Redis Client Bug Exposed ChatGPT Users’ Data – Inside the Leak
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.

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

Token Bucketmiddlewarerate limiting
0 likes · 17 min read
Comprehensive Guide to Rate Limiting: Concepts, Algorithms, and Implementation Strategies
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.

BackendGohigh-concurrency
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.

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

BlazeMeterJMeterPerformance Testing
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.

optimistic lockpessimistic-lockredis
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.

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

distributed-idjavaredis
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.

distributed-idredissnowflake
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.

BackendSliding WindowSpring Boot
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.

Thread Modelbenchmarkencoding
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.

Backend ArchitectureCoupon SystemMicroservices
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.

BitmapsID generationdistributed-lock
0 likes · 9 min read
16 Common Redis Use Cases and How to Implement Them
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 14, 2023 · Databases

Understanding Redis Master‑Slave Replication Storm and Mitigation Strategies

The article explains Redis master‑slave asynchronous replication, describes how repeated full‑sync requests from slaves can cause a replication storm that overloads CPU, memory and network, and offers practical solutions such as limiting data size, adjusting buffer limits, and redesigning deployment topology.

Master‑SlaveReplicationReplication Storm
0 likes · 6 min read
Understanding Redis Master‑Slave Replication Storm and Mitigation Strategies
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.

BinlogCanalDatabase Replication
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.

BackendCachecache-breakdown
0 likes · 9 min read
Redis Interview Questions: Solving Cache Penetration, Cache Breakdown, and Cache Avalanche
Architecture Digest
Architecture Digest
Mar 10, 2023 · Information Security

Microservice Permission Design with Shiro, Redis Session Sharing, and Dubbo

The article presents a detailed guide on designing and implementing fine-grained permission control for microservices using Apache Shiro, Spring Boot, Dubbo, and Redis to share session data across services, including code examples, configuration steps, and testing of role‑based access.

AuthorizationDubboMicroservices
0 likes · 21 min read
Microservice Permission Design with Shiro, Redis Session Sharing, and Dubbo
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 RecoveryPersistence
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 navigationbackend-developmentredis
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 StructuresListpackMemory Optimization
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.

ClusterGossip ProtocolReplication
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 Patternsbackend-development
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.

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

Eviction PoliciesKey ExpirationLFU
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.

Data StructureListcommands
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.

Data StructuresPersistencePipeline
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.

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

DelayQueueMessageQueueScheduledThreadPoolExecutor
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 QueueSchedulingdelayed 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.

KeyDBactive-replicationfastlock
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.

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

BackendMemory ManagementSDS
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.

MQflash salehigh concurrency
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.

CDNNginxredis
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 CacheSpring Cache
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.

ClusterPersistenceReplication
0 likes · 17 min read
How to Build a Stable, High‑Performance Redis Cluster: Persistence, Replication, Sentinel and Sharding