Tagged articles
3240 articles
Page 23 of 33
Programmer DD
Programmer DD
May 25, 2021 · Backend Development

How to Prevent Lost Orders in Payment Systems: Proven Backend Strategies

This article explains the typical order‑payment flow, identifies common causes of lost orders—both external and internal—and provides concrete backend techniques such as intermediate payment states, timeout queries, idempotent notifications, and Redis‑based duplicate‑submission prevention to ensure reliable order processing.

IdempotencyTimeoutWeChat Pay
0 likes · 5 min read
How to Prevent Lost Orders in Payment Systems: Proven Backend Strategies
Baidu Geek Talk
Baidu Geek Talk
May 24, 2021 · Big Data

Real-Time Quantile Computation Using TDigest: Architecture and Solutions

The article presents a real‑time quantile solution using the TDigest data structure, which clusters data into centroids and stores digests in Redis or Doris, pre‑computes quantiles for all dimension combinations, and provides a reusable API that delivers fast, accurate, low‑memory quantile statistics for diverse business scenarios.

data aggregationdorisreal-time quantile
0 likes · 11 min read
Real-Time Quantile Computation Using TDigest: Architecture and Solutions
dbaplus Community
dbaplus Community
May 23, 2021 · Databases

Hidden Redis Pitfalls That Can Crash Your System

This article enumerates common Redis pitfalls—including unexpected key expiration loss, command‑induced blocking, memory‑intensive bitmap operations, AOF and RDB persistence issues, and master‑slave replication quirks—explaining their causes, real‑world impact, and practical mitigation steps.

CommandPersistencePitfalls
0 likes · 29 min read
Hidden Redis Pitfalls That Can Crash Your System
Wukong Talks Architecture
Wukong Talks Architecture
May 21, 2021 · Backend Development

Using Redisson for Distributed Locks in Spring Boot

This article explains how to integrate Redisson into a Spring Boot application to implement various Redis‑based distributed synchronization primitives—including re‑entrant locks, read‑write locks, and semaphores—while covering configuration, code examples, the watchdog mechanism, and practical testing procedures.

Spring Bootconcurrencyjava
0 likes · 12 min read
Using Redisson for Distributed Locks in Spring Boot
21CTO
21CTO
May 20, 2021 · Backend Development

From Monolith to Scalable Order System: Lessons from Ele.me’s 4‑Year Evolution

Over four years at Ele.me, the author chronicles the transformation of the order platform from a single‑machine Python monolith to a distributed, sharded, message‑driven architecture, detailing challenges in scaling, performance testing, fault injection, Redis usage, and service separation that shaped today’s robust backend.

MessagingMicroservicesPerformance Testing
0 likes · 49 min read
From Monolith to Scalable Order System: Lessons from Ele.me’s 4‑Year Evolution
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 20, 2021 · Backend Development

Designing a High‑Concurrency Flash‑Sale (秒杀) System: From Naïve Implementation to Optimized Solutions

This article walks through the design of a flash‑sale system, starting with a simple SpringBoot‑MyBatis implementation, then addressing overselling with pessimistic and optimistic locks, applying rate‑limiting algorithms, time‑window controls, interface hiding, frequency limits, and a suite of production‑grade optimizations such as CDN, Nginx load balancing, Redis caching, message queues, and short‑URL handling.

SpringBootflash saleoptimistic lock
0 likes · 14 min read
Designing a High‑Concurrency Flash‑Sale (秒杀) System: From Naïve Implementation to Optimized Solutions
vivo Internet Technology
vivo Internet Technology
May 19, 2021 · Backend Development

Design and Evolution of Vivo Live‑Streaming IM Message System

Vivo’s live‑streaming IM system combines short‑polling and long‑connection techniques, Redis SortedSet storage, priority‑based routing, protobuf compression, and discard strategies to deliver a fault‑tolerant, high‑concurrency messaging backbone that scales with growing traffic and diverse message types.

Backend ArchitectureInstant Messaginglive streaming
0 likes · 20 min read
Design and Evolution of Vivo Live‑Streaming IM Message System
Su San Talks Tech
Su San Talks Tech
May 16, 2021 · Backend Development

Mastering Distributed Locks with Redis: From Bronze to Diamond Solutions

This article examines why local locks fail in distributed systems, introduces Redis‑based distributed locking, and walks through five progressive solutions—from a simple SETNX implementation to atomic Lua scripts—highlighting each approach's drawbacks and how to mitigate them.

Backendredissetnx
0 likes · 16 min read
Mastering Distributed Locks with Redis: From Bronze to Diamond Solutions
DeWu Technology
DeWu Technology
May 14, 2021 · Backend Development

Local and Distributed Caching: Concepts and Implementations

In high‑traffic e‑commerce systems, caching—ranging from simple in‑JVM HashMap caches to Guava, Caffeine, and Redis distributed stores—reduces latency by applying eviction policies such as FIFO, LRU, LFU, or W‑TinyLFU, while employing consistency strategies like expiration, write‑through, and cache‑aside to mitigate breakdown, avalanche, and penetration issues.

CaffeineGuavacaching
0 likes · 20 min read
Local and Distributed Caching: Concepts and Implementations
Practical DevOps Architecture
Practical DevOps Architecture
May 14, 2021 · Databases

Redis Basic Commands and Key Operations Tutorial

This article provides a concise tutorial on essential Redis commands, covering basic operations, database selection, key management, expiration settings, and practical examples demonstrated through the Redis CLI, including how to list keys with patterns, check existence, and clear databases.

TTLcommandsdatabase
0 likes · 7 min read
Redis Basic Commands and Key Operations Tutorial
Efficient Ops
Efficient Ops
May 11, 2021 · Big Data

How to Store Billions of Keys in Redis: Cut Memory, Reduce Fragmentation, and Scale Real‑Time DMP

This article examines the challenges of storing massive DMP data in Redis, analyzes memory fragmentation, key‑size issues, and latency constraints, and presents practical strategies such as TTL eviction, bucket‑hashing, custom key compression, and fragmentation‑reduction techniques to enable scalable, real‑time querying.

BucketIdDMPHashing
0 likes · 11 min read
How to Store Billions of Keys in Redis: Cut Memory, Reduce Fragmentation, and Scale Real‑Time DMP
Practical DevOps Architecture
Practical DevOps Architecture
May 10, 2021 · Databases

Redis Advantages, Disadvantages, Use Cases, Shutdown Methods, and Configuration Guide

This article outlines Redis's key advantages such as high performance and flexible data types, discusses its limitations like lack of relational features, describes ideal in‑memory use cases, compares it with Memcached, and provides detailed instructions for shutting down, configuring, and connecting to Redis using command‑line and graphical clients.

ConfigurationIn-MemoryPersistence
0 likes · 4 min read
Redis Advantages, Disadvantages, Use Cases, Shutdown Methods, and Configuration Guide
Code Ape Tech Column
Code Ape Tech Column
May 10, 2021 · Industry Insights

Why Kafka Beats Redis List: A Deep Dive into Modern Messaging Middleware

This article compares Redis list, Kafka, and Pulsar as messaging middleware, explaining their architectures, strengths, and weaknesses—including queue fundamentals, partitioning, cursor management, consumer groups, high‑availability mechanisms, storage strategies, and consumption models—to help readers choose the right solution for large‑scale systems.

Distributed SystemsKafkaMessaging
0 likes · 30 min read
Why Kafka Beats Redis List: A Deep Dive into Modern Messaging Middleware
Architect
Architect
May 9, 2021 · Databases

Redis Read/Write Separation Architecture: Star vs. Chain Replication

Redis read/write separation introduces read‑only replicas to offload read traffic, offering two replication models—star replication with direct master‑replica sync and chain replication forming a replication chain—each with distinct performance, scalability, and latency trade‑offs, while maintaining high availability and transparent compatibility.

Database ArchitectureRead-Write Separationredis
0 likes · 7 min read
Redis Read/Write Separation Architecture: Star vs. Chain Replication
Java Interview Crash Guide
Java Interview Crash Guide
May 9, 2021 · Databases

Choosing the Right Cache Consistency Strategy for Redis‑MySQL Integration

This article examines why database caching is needed, outlines the consistency challenges of using Redis as a MySQL cache, and compares four practical solutions—from simple TTL expiration to binlog subscription—helping developers select the most suitable approach for their latency and reliability requirements.

Cache ConsistencyDatabase Cachingconsistency strategies
0 likes · 7 min read
Choosing the Right Cache Consistency Strategy for Redis‑MySQL Integration
Selected Java Interview Questions
Selected Java Interview Questions
May 8, 2021 · Databases

Cache Consistency Strategies for MySQL Using Redis

This article examines why caching is needed for MySQL, discusses consistency challenges, and compares four Redis‑based solutions—including expiration, synchronous updates, Kafka‑mediated async updates, and binlog replication—offering guidance on selecting the appropriate approach based on latency and reliability requirements.

BackendCache ConsistencyDatabase Caching
0 likes · 9 min read
Cache Consistency Strategies for MySQL Using Redis
Java Architect Essentials
Java Architect Essentials
May 7, 2021 · Backend Development

Comprehensive Spring Boot Integration Guide: Swagger, Redis, MyBatis, Druid, Mail, CORS, AOP and More

This article provides a step‑by‑step tutorial on building a Spring Boot project, covering project generation, core starters, automatic Redis configuration, common annotations like @SpringBootApplication and @ControllerAdvice, web container and HTTPS settings, profile management, CORS, MVC interceptors, AOP, MyBatis‑Druid integration, mail sending, and Swagger API documentation.

IntegrationMailMyBatis
0 likes · 18 min read
Comprehensive Spring Boot Integration Guide: Swagger, Redis, MyBatis, Druid, Mail, CORS, AOP and More
macrozheng
macrozheng
May 6, 2021 · Operations

How I Built an Automated Redis Sentinel System to Handle Failover

An operations engineer narrates how he monitors a four‑node Redis cluster, detects master failure with continuous PINGs, promotes a slave to master, reconfigures replicas, and automates the entire process with a sentinel program and a sentinel cluster for high availability.

automationfailovermonitoring
0 likes · 11 min read
How I Built an Automated Redis Sentinel System to Handle Failover
Architecture Digest
Architecture Digest
May 2, 2021 · Backend Development

Preventing Order Loss and Duplicate Submissions in Payment Systems

This article explains the typical payment flow, identifies causes of external and internal order loss, and provides concrete backend strategies—including intermediate payment states, timeout queries, idempotent handling, retry mechanisms, and Redis‑based duplicate‑submission protection—to ensure reliable order processing.

IdempotencyOrder ManagementRetry
0 likes · 4 min read
Preventing Order Loss and Duplicate Submissions in Payment Systems
Architect
Architect
Apr 30, 2021 · Backend Development

Designing a Scalable Real‑Time Data Warehouse with Redis: Challenges and Solutions

The article analyzes the massive storage and performance challenges of a real‑time DMP cache built on Redis, outlines data characteristics and technical obstacles, and proposes eviction policies, bucket‑based hashing, and fragmentation‑reduction techniques with Java code examples to achieve billion‑scale in‑memory key‑value storage.

Memory Optimizationjavakey-value store
0 likes · 10 min read
Designing a Scalable Real‑Time Data Warehouse with Redis: Challenges and Solutions
Top Architect
Top Architect
Apr 30, 2021 · Backend Development

Redis Distributed Lock Failure Causing Overselling and Safer Lock Solutions

This article analyzes a real‑world flash‑sale incident where a Redis distributed lock expired under high concurrency, leading to massive overselling, and presents safer lock implementations, atomic stock checks, and architectural improvements to prevent similar failures.

concurrencyjavaoverselling
0 likes · 11 min read
Redis Distributed Lock Failure Causing Overselling and Safer Lock Solutions
Wukong Talks Architecture
Wukong Talks Architecture
Apr 29, 2021 · Backend Development

Distributed Lock Implementations with Redis: From Local Locks to Bronze, Silver, Gold, Platinum, and Diamond Solutions

This article explains why local in‑memory locks fail in distributed environments, introduces the concept of distributed locks, and walks through five progressive Redis‑based lock implementations—bronze, silver, gold, platinum, and diamond—detailing their principles, code examples, advantages, and shortcomings.

Backendconcurrencyjava
0 likes · 16 min read
Distributed Lock Implementations with Redis: From Local Locks to Bronze, Silver, Gold, Platinum, and Diamond Solutions
Architect's Tech Stack
Architect's Tech Stack
Apr 29, 2021 · Databases

Analyzing Redis Latency Issues and How to Diagnose Them

This article explains common causes of Redis latency spikes—including slow commands, large keys, concentrated expirations, memory limits, fork overhead, CPU binding, AOF settings, swap usage, and network saturation—and provides step‑by‑step diagnostic commands and practical mitigation techniques.

Database operationsLatencyMemory Management
0 likes · 18 min read
Analyzing Redis Latency Issues and How to Diagnose Them
Architect
Architect
Apr 27, 2021 · Fundamentals

Understanding Message Queue Architectures: Redis List, Kafka, and Pulsar

This article compares the fundamentals and design trade‑offs of popular message‑queue middleware—Redis list, Kafka, and Pulsar—explaining their data structures, partitioning, persistence, consumer models, high‑availability mechanisms, and scalability challenges for developers and architects.

KafkaPulsarredis
0 likes · 28 min read
Understanding Message Queue Architectures: Redis List, Kafka, and Pulsar
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 24, 2021 · Databases

Deep Dive into Redis Cluster Architecture and Principles

This article provides a comprehensive analysis of Redis Cluster, covering node and slot assignment, command execution, resharding, redirection, fault‑tolerance, gossip communication, scaling strategies, configuration limits, and practical code examples for building and operating a high‑availability sharded Redis deployment.

ClusterGossip Protocolfailover
0 likes · 21 min read
Deep Dive into Redis Cluster Architecture and Principles
DataFunTalk
DataFunTalk
Apr 23, 2021 · Big Data

Building and Evolving Zhihu’s Flink‑Based Data Integration Platform

This article details Zhihu’s transition from a Sqoop‑driven data integration system to a Flink‑centric platform, covering business scenarios, historical architecture, design goals, technology choices, performance optimizations, and future plans for unified streaming‑batch processing across diverse storage systems.

Batch ProcessingBig DataData Integration
0 likes · 14 min read
Building and Evolving Zhihu’s Flink‑Based Data Integration Platform
Top Architect
Top Architect
Apr 22, 2021 · Databases

Redis Lazy Free and Multi‑Threaded I/O: Architecture, Mechanisms, and Limitations

This article explains how Redis, originally a single‑threaded in‑memory cache, introduced Lazy Free in version 4.0 and multi‑threaded I/O in version 6.0 to mitigate blocking deletions and improve I/O throughput, detailing the underlying event model, code implementations, performance trade‑offs, and comparisons with Tair's threading design.

Database PerformanceLazy FreeMemory Management
0 likes · 16 min read
Redis Lazy Free and Multi‑Threaded I/O: Architecture, Mechanisms, and Limitations
dbaplus Community
dbaplus Community
Apr 21, 2021 · Backend Development

21 Essential Redis Practices: Key Design, Pipelines, Locks, and Performance Tips

This guide compiles 21 practical Redis usage guidelines covering key naming conventions, value size limits, expiration strategies, batch operations, risky commands, distributed lock patterns, cache consistency, capacity planning, and common pitfalls like cache penetration, snowball, and hot‑key issues, helping developers and operators build reliable, high‑performance Redis deployments.

Cache ConsistencyKey DesignPipeline
0 likes · 21 min read
21 Essential Redis Practices: Key Design, Pipelines, Locks, and Performance Tips
Open Source Linux
Open Source Linux
Apr 21, 2021 · Databases

Deploy a Redis Cluster on Kubernetes: Step‑by‑Step Guide

This article introduces Redis, explains why it is popular, describes the architecture of a Redis Cluster, and provides a complete step‑by‑step tutorial for deploying, initializing, validating, and testing a Redis Cluster on Kubernetes with sample code and a hit‑counter application.

ClusterDevOpsKubernetes
0 likes · 14 min read
Deploy a Redis Cluster on Kubernetes: Step‑by‑Step Guide
IT Architects Alliance
IT Architects Alliance
Apr 20, 2021 · Big Data

Real-time Log Processing System Based on Flink and Drools

This article describes a real-time log processing platform that integrates Kafka, Flink, Drools rule engine, Redis, and Elasticsearch to unify heterogeneous log formats, extract business metrics, and provide configurable, dynamic data processing for large‑scale logging scenarios.

DroolsElasticsearchFlink
0 likes · 6 min read
Real-time Log Processing System Based on Flink and Drools
Architect's Tech Stack
Architect's Tech Stack
Apr 20, 2021 · Backend Development

Redis Distributed Lock Failure Analysis and Safer Lock Implementation for High‑Concurrency Seckill

This article examines a real‑world incident where a Redis‑based distributed lock caused a 100‑bottle oversell of a scarce product, analyzes the root causes such as lock expiration and non‑atomic stock checks, and presents safer lock and stock‑validation solutions using Lua scripts and atomic Redis operations.

concurrencydistributed-lockjava
0 likes · 11 min read
Redis Distributed Lock Failure Analysis and Safer Lock Implementation for High‑Concurrency Seckill
Java Interview Crash Guide
Java Interview Crash Guide
Apr 19, 2021 · Fundamentals

What You Need to Know About Distributed Systems: Theory, Consistency, Transactions & Redis

This comprehensive guide covers the core concepts of distributed systems—including CAP theory, consistency models, transaction protocols like 2PC/3PC and TCC, Redis features, persistence options, expiration strategies, memory eviction policies, distributed locking with Redis and Zookeeper, as well as an overview of Kafka's architecture and reliability mechanisms.

ConsistencyDistributed SystemsMessage Queue
0 likes · 34 min read
What You Need to Know About Distributed Systems: Theory, Consistency, Transactions & Redis
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 19, 2021 · Backend Development

Mastering Distributed Systems: CAP, Redis, Zookeeper, Kafka and More

This comprehensive guide covers core distributed system theories, CAP consistency, transaction protocols, Redis features and persistence, Zookeeper coordination, message queue fundamentals, Kafka performance tricks, and practical solutions for caching, locking, and high‑concurrency scenarios.

Distributed SystemsKafkaZooKeeper
0 likes · 34 min read
Mastering Distributed Systems: CAP, Redis, Zookeeper, Kafka and More
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 17, 2021 · Databases

40 Essential Redis Interview Questions Every Candidate Should Know

This article compiles 40 common Redis interview questions covering fundamentals, data types, persistence, clustering, performance tuning, memory optimization, and practical usage patterns, providing concise answers that help candidates confidently tackle Redis topics and secure job offers during the competitive hiring season.

cachingdatabaseinterview
0 likes · 23 min read
40 Essential Redis Interview Questions Every Candidate Should Know
ITPUB
ITPUB
Apr 15, 2021 · Databases

Master Redis Memory Limits and Eviction: Configuring Maxmemory, LRU & LFU Explained

This article explains how to set Redis's maximum memory usage via configuration files or runtime commands, details all built‑in eviction policies, demonstrates retrieving and changing these policies, and dives into the LRU and LFU algorithms—including Java sample code and Redis's approximate LRU implementation.

LFULRUdatabases
0 likes · 11 min read
Master Redis Memory Limits and Eviction: Configuring Maxmemory, LRU & LFU Explained
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 14, 2021 · Backend Development

How to Build a Scalable Like System with Spring Cloud, Redis, and Quartz

This tutorial walks through building a scalable like feature using Spring Cloud, Redis caching, MySQL persistence, and Quartz scheduling, covering Redis installation, Spring Boot integration, data modeling, service implementation, and periodic synchronization of high‑frequency like operations to the database.

Like SystemQuartzSpring Boot
0 likes · 17 min read
How to Build a Scalable Like System with Spring Cloud, Redis, and Quartz
Open Source Tech Hub
Open Source Tech Hub
Apr 14, 2021 · Backend Development

How Redis Implements Efficient I/O Multiplexing with select, epoll, and kqueue

This article explains Redis's clean and elegant I/O multiplexing implementation, covering blocking I/O limitations, the reactor pattern, abstraction of select/epoll/kqueue into a unified API, key source functions, and platform‑specific module selection to achieve high‑performance single‑threaded networking.

I/O Multiplexingepollevent loop
0 likes · 14 min read
How Redis Implements Efficient I/O Multiplexing with select, epoll, and kqueue
Java Interview Crash Guide
Java Interview Crash Guide
Apr 14, 2021 · Backend Development

Choosing the Right Globally Unique ID Strategy: From Auto‑Increment to Snowflake

This article compares common globally unique ID generation methods—including database auto‑increment, batch services, UUID/GUID, timestamp‑based IDs, Redis INCR, and Twitter’s Snowflake—detailing their advantages, drawbacks, and improvement options to help developers select the most suitable approach for scalability and ordering needs.

Distributed Systemsglobal IDredis
0 likes · 14 min read
Choosing the Right Globally Unique ID Strategy: From Auto‑Increment to Snowflake
Alibaba Cloud Developer
Alibaba Cloud Developer
Apr 14, 2021 · Backend Development

Building a Redis‑Based Distributed Queue to Cut HBase IO Bottlenecks

The article explores what makes code 'good'—emphasizing usability, readability, and maintainability—then details the design and implementation of a lightweight Redis‑based distributed consumption queue that alleviates HBase I/O pressure, describing its architecture, modules, logging, and performance gains.

BackendHBasedistributed queue
0 likes · 10 min read
Building a Redis‑Based Distributed Queue to Cut HBase IO Bottlenecks
Top Architect
Top Architect
Apr 12, 2021 · Databases

Designing a High‑Availability Redis Service with Sentinel

This article explains how to build a highly available Redis service by analyzing common failure scenarios, evaluating single‑instance, master‑slave with one or multiple Sentinel processes, and ultimately recommending a three‑Sentinel architecture combined with a virtual IP for seamless client usage.

Master‑Slavefailoverhigh availability
0 likes · 11 min read
Designing a High‑Availability Redis Service with Sentinel
dbaplus Community
dbaplus Community
Apr 11, 2021 · Databases

Why Redis Added Multithreading in 6.0: Myths, Benefits, and Design Choices

Redis, traditionally single‑threaded for network I/O and key‑value operations, introduced multithreading in version 6.0 to improve network I/O handling; this article explains the original single‑thread design, when multithreading is appropriate, its drawbacks, the role of I/O multiplexing, and why Redis still keeps most work single‑threaded.

Database PerformanceI/O MultiplexingVersion 6.0
0 likes · 12 min read
Why Redis Added Multithreading in 6.0: Myths, Benefits, and Design Choices
JavaEdge
JavaEdge
Apr 11, 2021 · Databases

Why Redis Replication Can Lose Data and How to Fix It

This article explains the causes of partial resynchronization failures, master‑slave data inconsistency, latency, dirty data, and data‑safety risks in Redis replication, and provides concrete configuration commands and mitigation strategies to ensure reliable data consistency.

Partial SyncReplicationredis
0 likes · 9 min read
Why Redis Replication Can Lose Data and How to Fix It
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Apr 9, 2021 · Databases

Redis Overview: Data Types, Persistence, High Availability, and Common Cache Issues

This article provides a comprehensive guide to Redis, covering its role as a non‑relational database, detailed data types and commands, persistence mechanisms (RDB and AOF), memory eviction strategies, high‑availability features such as replication, Sentinel and clustering, and solutions to typical cache problems like penetration, avalanche, and hot‑key handling.

NoSQLPersistencecaching
0 likes · 20 min read
Redis Overview: Data Types, Persistence, High Availability, and Common Cache Issues
Top Architect
Top Architect
Apr 8, 2021 · Databases

Redis Multi‑Threading Evolution: Lazy Free and I/O Thread Mechanisms

Redis, traditionally a single‑threaded in‑memory cache, introduces Lazy Free in version 4.0 and multi‑threaded I/O in version 6.0 to mitigate blocking during large key deletions and improve performance, with detailed explanations of event handling, code implementations, limitations, and comparisons to Tair’s threading model.

I/O ThreadLazy Freedatabase
0 likes · 16 min read
Redis Multi‑Threading Evolution: Lazy Free and I/O Thread Mechanisms
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 6, 2021 · Backend Development

Cache Consistency Strategies: TTL, Delayed Double Delete, Cache‑Aside, and Message‑Queue Approaches

This article examines cache consistency challenges in Redis-backed systems and compares several update strategies—including TTL, delayed double‑delete, cache‑aside, and message‑queue approaches—detailing their workflows, code examples, advantages, and drawbacks to guide backend developers toward reliable cache invalidation.

BackendCacheConsistency
0 likes · 7 min read
Cache Consistency Strategies: TTL, Delayed Double Delete, Cache‑Aside, and Message‑Queue Approaches
Java Interview Crash Guide
Java Interview Crash Guide
Apr 6, 2021 · Backend Development

Mastering Redis: From Basics to High Availability in Java Backend

This article walks through what Redis is, its data types, caching usage with Spring Boot, performance advantages, eviction policies, persistence mechanisms, master‑slave replication, Sentinel high‑availability, and practical interview‑style Q&A, providing a comprehensive guide for backend developers.

Spring Bootdatabasehigh availability
0 likes · 33 min read
Mastering Redis: From Basics to High Availability in Java Backend
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 2, 2021 · Operations

Understanding Redis Sentinel: High‑Availability Mechanism and Automatic Failover

This article explains how Redis Sentinel provides high‑availability for Redis by continuously monitoring master and replica nodes, detecting failures through subjective and objective down states, electing a new master via quorum‑based voting, and notifying clients of the failover using Pub/Sub events.

Replicationfailoverhigh availability
0 likes · 19 min read
Understanding Redis Sentinel: High‑Availability Mechanism and Automatic Failover
JavaEdge
JavaEdge
Apr 1, 2021 · Databases

Master‑Slave Replication in Redis: Mechanisms, Sync Types, and Configuration Guide

This article explains how Redis master‑slave replication operates, covering the underlying mechanisms such as update propagation, partial and full resynchronization, the characteristics and limitations of replication, common single‑node issues, and step‑by‑step instructions for configuring and executing replication commands.

BackendFull SyncMaster‑Slave
0 likes · 9 min read
Master‑Slave Replication in Redis: Mechanisms, Sync Types, and Configuration Guide
Volcano Engine Developer Services
Volcano Engine Developer Services
Apr 1, 2021 · Cloud Native

How to Run Redis Natively on Kubernetes: Architecture & Ops Guide

This article explains Redis fundamentals, its typical use cases, and presents a detailed cloud‑native deployment architecture on Kubernetes—including Server, Proxy, ConfigServer components, placement strategies, storage handling, scaling, and upgrade procedures—illustrated with diagrams and practical operator workflows.

KubernetesOperatorStatefulSet
0 likes · 17 min read
How to Run Redis Natively on Kubernetes: Architecture & Ops Guide
macrozheng
macrozheng
Apr 1, 2021 · Backend Development

21 Essential Redis Usage Tips to Avoid Common Pitfalls

This article compiles 21 practical Redis guidelines covering key naming, value sizing, expiration strategies, batch operations, risky commands, distributed lock patterns, cache consistency, capacity planning, and configuration tips, helping developers and operators build reliable, high‑performance Redis‑backed systems.

cachingdistributed-lockperformance
0 likes · 25 min read
21 Essential Redis Usage Tips to Avoid Common Pitfalls
Sohu Tech Products
Sohu Tech Products
Mar 31, 2021 · Databases

Why Redis Is Fast: Core Principles, Data Structures, and Architecture

This article explains why Redis achieves exceptionally high performance by combining pure in‑memory operations, a global hash table with O(1) lookups, efficient data structures such as SDS, ziplist, quicklist and skiplist, a single‑threaded event loop with non‑blocking I/O multiplexing, and adaptive encoding strategies.

Data StructuresIO MultiplexingIn-Memory Database
0 likes · 20 min read
Why Redis Is Fast: Core Principles, Data Structures, and Architecture
58 Tech
58 Tech
Mar 31, 2021 · Big Data

Design and Implementation of an Intelligent Security Monitoring and Alert System

This article presents a comprehensive design of a real‑time security monitoring and alert platform, detailing challenges in high‑concurrency risk control, an architecture that replaces OLAP polling with scalable compute services, event‑time processing, dynamic thresholding using fbprophet, and practical optimizations with Redis and ClickHouse.

Real-time analyticsclickhousedynamic thresholds
0 likes · 13 min read
Design and Implementation of an Intelligent Security Monitoring and Alert System
Programmer DD
Programmer DD
Mar 31, 2021 · Backend Development

How to Choose the Right Distributed ID Generation Strategy for Scalable Systems

This article examines common distributed ID generation methods—including UUID, MySQL auto‑increment, multi‑instance auto‑increment, Snowflake, and Redis—detailing their advantages, drawbacks, and practical use cases, and presents advanced designs such as database‑driven ID blocks, concurrency handling, and double‑buffer techniques for high‑traffic systems.

database shardingdistributed-idredis
0 likes · 13 min read
How to Choose the Right Distributed ID Generation Strategy for Scalable Systems
Java Architect Essentials
Java Architect Essentials
Mar 31, 2021 · Databases

40 Common Redis Interview Questions and Answers

This article compiles 40 frequently asked Redis interview questions, covering its definition, data types, advantages, comparison with Memcached, persistence mechanisms, performance considerations, eviction policies, clustering, client libraries, security commands, usage scenarios, and best‑practice tips for high‑traffic production environments.

Persistenceclusteringdatabase
0 likes · 19 min read
40 Common Redis Interview Questions and Answers
Top Architect
Top Architect
Mar 30, 2021 · Backend Development

Understanding Idempotency and Its Implementation in RESTful APIs

This article explains the concept of idempotency, why it is essential for HTTP interfaces, the impact on system design, and presents several practical implementation strategies—including unique primary keys, optimistic locking, anti‑repeat tokens, and downstream sequence numbers—accompanied by a complete Spring Boot example with Redis integration and test code.

IdempotencyREST APISpring Boot
0 likes · 21 min read
Understanding Idempotency and Its Implementation in RESTful APIs
JavaEdge
JavaEdge
Mar 29, 2021 · Backend Development

How to Mitigate Redis Performance Issues Caused by Large Keys

When a Redis key stores a very large value, it can block the single‑threaded server and waste memory, so this article explains practical techniques such as splitting keys, using hash structures, and bucket‑based hashing to reduce I/O pressure and memory consumption.

BackendKey Designredis
0 likes · 4 min read
How to Mitigate Redis Performance Issues Caused by Large Keys
Code Ape Tech Column
Code Ape Tech Column
Mar 29, 2021 · Backend Development

Understanding Distributed Locks and Their Implementation with Redis and Zookeeper

Distributed locks ensure exclusive access across multiple servers in high-concurrency scenarios, and this article explains their necessity, illustrates problems with simple locks, and details practical implementations using Redis and Zookeeper, including lock acquisition, release, expiration handling, and avoiding deadlocks.

ZooKeeperconcurrencydistributed-lock
0 likes · 13 min read
Understanding Distributed Locks and Their Implementation with Redis and Zookeeper
dbaplus Community
dbaplus Community
Mar 28, 2021 · Databases

Why Redis Is So Fast: Inside Its Core Architecture

This article explains why Redis achieves exceptional speed by examining its memory‑only architecture, single‑threaded event loop, and the specialized data structures—global hash tables, SDS strings, ziplist, quicklist, skiplist, and intset—that provide O(1) or O(log N) operations, along with non‑blocking I/O multiplexing.

Data StructuresI/O MultiplexingIn-Memory Database
0 likes · 20 min read
Why Redis Is So Fast: Inside Its Core Architecture
Java Captain
Java Captain
Mar 28, 2021 · Backend Development

Analysis and Solutions for Redis Distributed Lock Over‑selling in High‑Concurrency Seckill Scenario

This article examines a real‑world flash‑sale incident where Redis distributed locks failed, causing severe overselling, and presents root‑cause analysis, safer lock implementation with Lua scripts, atomic stock handling, refactored Java code, and deeper reflections on lock necessity and further optimizations.

LuaSeckillconcurrency
0 likes · 10 min read
Analysis and Solutions for Redis Distributed Lock Over‑selling in High‑Concurrency Seckill Scenario
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Mar 28, 2021 · Databases

Redis Multithreading: Why It Was Initially Single‑Threaded and What Changed in Redis 6.0

This article explains why Redis was originally designed as a single‑threaded in‑memory database, outlines the four main reasons for that design, describes the limitations of I/O multiplexing, and details how Redis 6.0 introduced multithreading for network request handling to improve performance under high QPS workloads.

IO Multiplexingperformanceredis
0 likes · 10 min read
Redis Multithreading: Why It Was Initially Single‑Threaded and What Changed in Redis 6.0
Top Architect
Top Architect
Mar 26, 2021 · Backend Development

High-Concurrency Ticket Booking System: Architecture, Load Balancing, and Go Implementation

This article explores the design and implementation of a high‑concurrency train ticket spike system, detailing load‑balancing strategies with Nginx, distributed inventory management using Redis, Go‑based services, and performance testing, while addressing challenges such as overselling, fault tolerance, and efficient resource utilization.

GoNginxhigh-concurrency
0 likes · 19 min read
High-Concurrency Ticket Booking System: Architecture, Load Balancing, and Go Implementation
Efficient Ops
Efficient Ops
Mar 25, 2021 · Backend Development

How to Build a Robust Flash‑Sale System that Handles Millions of Requests

This article explores the challenges of designing a flash‑sale (秒杀) system—such as overselling, high concurrency, request flooding, URL protection, and database bottlenecks—and presents a complete backend architecture using Redis, Nginx, rate‑limiting, asynchronous order processing, and service degradation to achieve a stable, high‑throughput solution.

Backend Architectureflash salehigh concurrency
0 likes · 14 min read
How to Build a Robust Flash‑Sale System that Handles Millions of Requests
Kuaishou Tech
Kuaishou Tech
Mar 25, 2021 · Backend Development

Designing a High‑Availability Cache Consistency Solution for the Creator Red Packet System

This article explains how the creator red‑packet feature was engineered to guarantee idempotent, fault‑tolerant, and high‑throughput red‑packet claims by using multi‑level caching, empty placeholders, binlog‑driven synchronization, active cache invalidation, ordered Kafka consumption, and fallback strategies to resolve cache‑DB consistency issues.

BinlogCache ConsistencyIdempotency
0 likes · 11 min read
Designing a High‑Availability Cache Consistency Solution for the Creator Red Packet System
Wukong Talks Architecture
Wukong Talks Architecture
Mar 22, 2021 · Databases

The Secrets Behind Redis’s Speed: Architecture, Data Structures, and Single‑Threaded Model

This article explains why Redis is exceptionally fast by detailing its in‑memory design, global hash table with O(1) lookups, incremental rehashing, specialized data structures such as SDS, ziplist, quicklist, skiplist and intset, as well as its single‑threaded event loop and epoll‑based I/O multiplexing.

I/O MultiplexingIn-Memory DatabaseSingle‑threaded
0 likes · 19 min read
The Secrets Behind Redis’s Speed: Architecture, Data Structures, and Single‑Threaded Model
MaGe Linux Operations
MaGe Linux Operations
Mar 21, 2021 · Backend Development

How to Build a Simple Django SSO with Shared Sessions and Redis

This tutorial walks through creating two Django projects, configuring a shared session store (either a common file or Redis) to achieve single sign‑on across them, and provides full code snippets, settings adjustments, and testing steps to demonstrate seamless login synchronization.

BackendDjangoSSO
0 likes · 15 min read
How to Build a Simple Django SSO with Shared Sessions and Redis
iQIYI Technical Product Team
iQIYI Technical Product Team
Mar 19, 2021 · Backend Development

Performance Optimization Practices for iQIYI International Site Backend

The iQIYI International backend team boosted global video delivery by introducing a web‑cache layer, Brotli compression, and a two‑level Caffeine‑Redis caching system with pub/sub synchronization, achieving up to 6% faster First Contentful Paint, near‑100% cache‑hit rates, and measurable revenue gains.

AB testingSSRWeb Performance
0 likes · 19 min read
Performance Optimization Practices for iQIYI International Site Backend
MaGe Linux Operations
MaGe Linux Operations
Mar 16, 2021 · Databases

Deploying a Scalable Redis Cluster on Kubernetes: Step‑by‑Step Guide

This article introduces Redis, explains its advantages, describes Redis Cluster architecture, and provides a detailed, hands‑on tutorial for deploying a Redis Cluster on Kubernetes using StatefulSets, PersistentVolumes, services, and a sample hit‑counter application, complete with configuration files and verification commands.

KubernetesRedis ClusterStatefulSet
0 likes · 15 min read
Deploying a Scalable Redis Cluster on Kubernetes: Step‑by‑Step Guide
360 Quality & Efficiency
360 Quality & Efficiency
Mar 12, 2021 · Backend Development

Distributed Lock Implementations with Redis, Etcd, and Zookeeper

This article explains the concept of distributed locks, outlines common application scenarios, and provides detailed Java implementations using Redis (including Redisson and RedLock), Etcd, and Zookeeper, complete with code examples and a comparative summary of their advantages and drawbacks.

Backenddistributed-locketcd
0 likes · 14 min read
Distributed Lock Implementations with Redis, Etcd, and Zookeeper
Open Source Linux
Open Source Linux
Mar 12, 2021 · Backend Development

Redis vs Memcached: Which In‑Memory Database Wins for Your Projects?

This article compares Redis and Memcached across thread model, data structures, eviction policies, pipelining, persistence, high availability, and clustering, helping developers choose the most suitable in‑memory database for their specific performance and feature requirements.

Data StructuresIn-Memory DatabaseMemcached
0 likes · 9 min read
Redis vs Memcached: Which In‑Memory Database Wins for Your Projects?