Tagged articles

Redis

3508 articles · Page 26 of 36
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.

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

ClusterFailoverRedis
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 DesignPerformance
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.

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

Message QueueRedisconsistency
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.

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

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

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

MySQLQuartzRedis
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 multiplexingRedisSELECT
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.

Redisdistributed systemsglobal ID
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.

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

FailoverMaster‑SlaveRedis
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 multiplexingRedis
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 SyncRedisReplication
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.

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

DatabaseI/O ThreadLazy Free
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.

CacheCache AsideMessage Queue
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.

DatabaseJavaRedis
0 likes · 33 min read
Mastering Redis: From Basics to High Availability in Java Backend
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.

Master‑SlavePartial SyncRedis
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.

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

PerformanceRediscaching
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 StructuresHash TableIO Multiplexing
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.

ClickHouseReal-Time AnalyticsRedis
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.

Redisdatabase shardingdistributed ID
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.

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

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

Key DesignRedisbackend
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.

RedisZookeeperconcurrency
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 StructuresHash TableI/O multiplexing
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.

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

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

Redisbackend architectureflash sale
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.

Cache ConsistencyKafkaMySQL
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.

Hash TableI/O multiplexingIn-Memory Database
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.

DjangoRedisSSO
0 likes · 15 min read
How to Build a Simple Django SSO with Shared Sessions and Redis
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.

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

Redisbackenddistributed lock
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?
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Mar 11, 2021 · Databases

Understanding Redis Master‑Slave Replication: Architecture, Setup, and Mechanisms

This article provides a comprehensive guide to Redis high‑availability through master‑slave replication, covering the underlying architecture, step‑by‑step setup, full and partial synchronization processes, buffer management, practical pitfalls, and how the mechanism fits into broader Redis HA solutions.

BufferMaster‑SlavePartial Sync
0 likes · 18 min read
Understanding Redis Master‑Slave Replication: Architecture, Setup, and Mechanisms
macrozheng
macrozheng
Mar 11, 2021 · Backend Development

How to Design Scalable Leaderboards with MySQL and Redis: Interview Tips

This article walks through designing a ranking system for interview scenarios, comparing MySQL and Redis implementations, covering sorted‑set operations, handling daily, weekly, and multi‑day leaderboards, scaling to billions of users, and addressing practical considerations beyond pure API usage.

InterviewLeaderboardRedis
0 likes · 19 min read
How to Design Scalable Leaderboards with MySQL and Redis: Interview Tips
Top Architect
Top Architect
Mar 10, 2021 · Backend Development

Implementing QR Code Login for Web Applications Using Redis

This article explains how to build a QR code login feature for web applications by coordinating mobile and web servers, generating UUIDs, storing temporary data in Redis, and polling for authentication, providing a practical step‑by‑step guide with diagrams.

QR Code LoginRedisWeChat
0 likes · 5 min read
Implementing QR Code Login for Web Applications Using Redis
dbaplus Community
dbaplus Community
Mar 8, 2021 · Databases

Why Is My Redis Slowing Down? A Complete Guide to Diagnose and Fix Latency Issues

This comprehensive article walks you through the entire process of identifying why Redis latency spikes, from confirming the slowdown and measuring baseline performance to analyzing slow logs, big keys, expiration patterns, memory limits, fork overhead, AOF settings, CPU binding, swap usage, memory fragmentation, network bandwidth, and finally applying practical optimization techniques.

Redislatencytroubleshooting
0 likes · 40 min read
Why Is My Redis Slowing Down? A Complete Guide to Diagnose and Fix Latency Issues
Selected Java Interview Questions
Selected Java Interview Questions
Mar 8, 2021 · Databases

Understanding Redis Lazy Free and Multi‑Threaded I/O: Architecture and Implementation

This article explains how Redis evolves from a single‑threaded event‑driven cache to using Lazy Free for asynchronous key deletion and multi‑threaded I/O for improved performance, detailing the underlying mechanisms, code implementations, limitations, and comparisons with Tair's threading model.

Database PerformanceLazy FreeMultithreaded I/O
0 likes · 16 min read
Understanding Redis Lazy Free and Multi‑Threaded I/O: Architecture and Implementation
phodal
phodal
Mar 7, 2021 · R&D Management

Can You Gauge a Codebase’s Architecture Health Through Physical Design Metrics?

This article explores how physical design analysis—monitoring file‑system changes, commit frequency, and module size—can reveal the stability, coupling, and learning cost of a large‑scale software project, using Redis as a concrete case study and the open‑source tool Coco for measurement.

Git analysisR&D managementRedis
0 likes · 9 min read
Can You Gauge a Codebase’s Architecture Health Through Physical Design Metrics?
Java Backend Technology
Java Backend Technology
Mar 4, 2021 · Backend Development

How to Guarantee RabbitMQ Message Delivery: Persistence, Confirm, and Idempotency

This article explores common pitfalls in RabbitMQ message delivery, explains persistence settings and the confirm mechanism, and why they alone can't ensure 100% reliability, then proposes a robust solution combining pre‑persisting messages to Redis, confirm callbacks, scheduled retries, and idempotent consumer design to achieve near‑zero loss.

Confirm MechanismMessage QueueRedis
0 likes · 11 min read
How to Guarantee RabbitMQ Message Delivery: Persistence, Confirm, and Idempotency
Selected Java Interview Questions
Selected Java Interview Questions
Mar 2, 2021 · Databases

Understanding Redis Data Types, Internal Representation, and Real‑World Use Cases

This article explains that Redis stores all data primarily in memory, describes its seven core data types (String, Hash, List, Set, Sorted Set, Pub/Sub, Transactions), shows how each type is implemented internally, and provides practical examples such as caching, ranking, queues, and real‑time analytics.

Data TypesIn-Memory DatabaseLeaderboards
0 likes · 20 min read
Understanding Redis Data Types, Internal Representation, and Real‑World Use Cases
NiuNiu MaTe
NiuNiu MaTe
Mar 2, 2021 · Databases

How to Keep Redis and MySQL Consistent: 4 Proven Strategies for Interviews

This article explains why caching MySQL with Redis is essential, outlines the consistency challenges that arise, and presents four practical solutions—expiration, delete‑then‑repopulate, message‑queue updates, and binlog subscription—along with their pros, cons, and guidance for choosing the right approach in interviews.

Data synchronizationDatabaseMySQL
0 likes · 8 min read
How to Keep Redis and MySQL Consistent: 4 Proven Strategies for Interviews
php Courses
php Courses
Mar 1, 2021 · Backend Development

Implementing API Rate Limiting with Redis in PHP

This article explains how to implement API request frequency control in PHP using Redis, detailing a function that tracks per‑user request counts within a configurable time window, removes outdated entries, and returns appropriate responses when the limit is exceeded.

APIPHPRedis
0 likes · 3 min read
Implementing API Rate Limiting with Redis in PHP
Architecture Digest
Architecture Digest
Feb 28, 2021 · Databases

Understanding Redis Memory Limits and Eviction Policies

This article explains how to configure Redis's maximum memory, describes the various eviction policies—including noeviction, allkeys‑lru, volatile‑lru, random and ttl strategies—covers how to query and set these policies, and details the LRU and LFU algorithms used by Redis for cache management.

LFULRUMemory
0 likes · 9 min read
Understanding Redis Memory Limits and Eviction Policies
Java Architect Essentials
Java Architect Essentials
Feb 26, 2021 · Backend Development

How to Gracefully Prevent Duplicate Requests on the Server Side

This article explains why duplicate requests—especially write operations—can cause serious issues, outlines common causes such as replay attacks and client retries, and provides a comprehensive server‑side solution using unique request IDs, Redis, and MD5‑based parameter deduplication with Java code examples.

JavaMD5Redis
0 likes · 9 min read
How to Gracefully Prevent Duplicate Requests on the Server Side
Java Backend Technology
Java Backend Technology
Feb 26, 2021 · Databases

Redis Memory Limits & Eviction: LRU, LFU, and Config Guide

Learn how to set Redis's maximum memory usage, understand its various eviction policies—including noeviction, allkeys‑lru, volatile‑lru, allkeys‑random, volatile‑random, volatile‑ttl, and the newer LFU strategies—plus see Java code examples and insights into approximate LRU implementation.

JavaLFULRU
0 likes · 13 min read
Redis Memory Limits & Eviction: LRU, LFU, and Config Guide
Architect
Architect
Feb 25, 2021 · Databases

Redis Expiration, Eviction Policies, and LRU/LFU Algorithms

This article explains how Redis handles key expiration, the commands for setting TTL, the three expiration strategies, the eight eviction policies, and the internal LRU and LFU algorithms, including their implementation details, sampling techniques, and configuration parameters for memory management.

LFULRUMemory Management
0 likes · 13 min read
Redis Expiration, Eviction Policies, and LRU/LFU Algorithms
Top Architect
Top Architect
Feb 24, 2021 · Databases

Understanding Redis Memory Limits and Eviction Policies (LRU, LFU)

This article explains how to set Redis's maximum memory usage, configure eviction policies such as noeviction, allkeys‑lru, volatile‑lru, allkeys‑random, and LFU, demonstrates command‑line and configuration‑file methods, and provides a Java implementation of an LRU cache.

JavaLFULRU
0 likes · 12 min read
Understanding Redis Memory Limits and Eviction Policies (LRU, LFU)
Open Source Linux
Open Source Linux
Feb 22, 2021 · Operations

How to Deploy and Use JumpServer for Secure Remote Access on Linux

This guide walks you through installing JumpServer—a secure bastion host—on CentOS, covering architecture overview, MariaDB and Redis setup, Docker configuration, container deployment, key generation, UI access, and essential administration tasks such as user, asset, and permission management.

DockerJumpServerMariaDB
0 likes · 15 min read
How to Deploy and Use JumpServer for Secure Remote Access on Linux
Top Architect
Top Architect
Feb 15, 2021 · Backend Development

Implementing API Idempotency in SpringBoot Using Redis Token Mechanism

This tutorial explains the concept of idempotency, why it is needed for reliable APIs, the impact on system design, and provides four implementation strategies—including a detailed SpringBoot example that uses Redis tokens, Lua scripts, and unit tests—to ensure that repeated requests produce the same result without side effects.

JavaRESTful APIRedis
0 likes · 18 min read
Implementing API Idempotency in SpringBoot Using Redis Token Mechanism
21CTO
21CTO
Feb 14, 2021 · Backend Development

How to Gracefully Prevent Duplicate Requests with Redis and Java

This article explains why duplicate requests—especially those that modify data—can be dangerous, outlines common causes, and provides a comprehensive server‑side solution using unique request IDs, parameter hashing, and a Java utility class with Redis to reliably deduplicate incoming calls.

JavaRedisRequest Handling
0 likes · 8 min read
How to Gracefully Prevent Duplicate Requests with Redis and Java
Architect
Architect
Feb 14, 2021 · Backend Development

Message Idempotency and Exactly‑Once Processing in RocketMQ

This article explains why message middleware like RocketMQ guarantees at‑least‑once delivery, the resulting duplicate‑delivery problem, and presents both transaction‑based and non‑transactional idempotency solutions—including select‑for‑update, optimistic locking, and a Redis‑backed deduplication table—to achieve exactly‑once semantics in distributed systems.

Message IdempotencyRedisRocketMQ
0 likes · 16 min read
Message Idempotency and Exactly‑Once Processing in RocketMQ
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 7, 2021 · Big Data

Building a Flink SQL Platform on Zeppelin: Installation, Configuration, and Advanced Use Cases

This guide walks through setting up Apache Zeppelin as a low‑cost, SQL‑centric development platform for Flink, covering environment preparation, installation, interpreter configuration, execution modes, verification, common pitfalls, dimension‑table joins, custom UDFs, Redis integration, and dual‑stream join techniques.

FlinkRedisSQL
0 likes · 24 min read
Building a Flink SQL Platform on Zeppelin: Installation, Configuration, and Advanced Use Cases