Tagged articles
3240 articles
Page 18 of 33
Java Captain
Java Captain
Mar 31, 2022 · Databases

Installing and Using RedisInsight for Redis Management

This guide explains what RedisInsight is, outlines its key features, and provides step‑by‑step instructions for installing it on a physical server or via Kubernetes, configuring environment variables, launching the service, and using the GUI to monitor and manage Redis instances.

Database ManagementGUIInstallation
0 likes · 6 min read
Installing and Using RedisInsight for Redis Management
ITPUB
ITPUB
Mar 31, 2022 · Databases

Understanding Redis: Core Data Types, Persistence, Replication, and Common Pitfalls

This comprehensive guide explores Redis fundamentals, including NoSQL concepts, its five primary data structures, internal storage mechanisms, persistence options, replication, sentinel failover, and strategies to prevent cache penetration, breakdown, and avalanche, providing developers with deep insights for building robust, high‑performance applications.

CacheData StructuresNoSQL
0 likes · 53 min read
Understanding Redis: Core Data Types, Persistence, Replication, and Common Pitfalls
Java Interview Crash Guide
Java Interview Crash Guide
Mar 31, 2022 · Backend Development

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

This article details the design and implementation of a highly available, high‑performance membership system serving billions of users, covering Elasticsearch dual‑center clusters, traffic‑isolated architectures, deep ES optimizations, Redis caching with distributed locks, dual‑center MySQL partitioning, migration strategies, abnormal account handling, and future fine‑grained flow‑control and degradation policies.

Distributed SystemsElasticsearchScalability
0 likes · 20 min read
How We Achieved 20k TPS High‑Availability for a Billion‑User Membership System
Senior Brother's Insights
Senior Brother's Insights
Mar 29, 2022 · Backend Development

Dual‑Center Elasticsearch & Multi‑Cluster Redis Power 20k+ TPS for Billion‑User Membership

This article explains how a large‑scale membership system serving over a billion users achieved high performance and availability by deploying dual‑center Elasticsearch clusters, traffic‑isolated ES clusters, deep ES optimizations, a Redis caching layer with dual‑center replication, and a seamless migration from SQL Server to sharded MySQL, while also outlining future fine‑grained flow‑control and degradation strategies.

Backend Architecturehigh availabilityredis
0 likes · 20 min read
Dual‑Center Elasticsearch & Multi‑Cluster Redis Power 20k+ TPS for Billion‑User Membership
Youzan Coder
Youzan Coder
Mar 29, 2022 · Databases

Redis Internals: Data Structures, Skip Lists, Dictionaries, Streams, and Thread Model

The article details Redis’s internal architecture, explaining how strings use SDS structures, sorted sets rely on skip‑lists, integers are stored in compact intsets, hash tables employ incremental rehashing, ziplist and listpack provide memory‑efficient encodings, the RAX radix tree underpins key lookup and streams, and the threading model has evolved from a single‑threaded event loop to multithreaded I/O for improved concurrency.

Skip ListStreamThread Model
0 likes · 35 min read
Redis Internals: Data Structures, Skip Lists, Dictionaries, Streams, and Thread Model
Top Architect
Top Architect
Mar 29, 2022 · Backend Development

Various Implementations of Delayed Tasks in Java: Quartz, DelayQueue, HashedWheelTimer, Redis, and RabbitMQ

This article compares several approaches to implementing delayed tasks in Java, including Quartz polling, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted sets and keyspace notifications, and RabbitMQ delayed queues, analyzing their principles, code examples, advantages, and drawbacks for order timeout handling.

BackendDelayQueueHashedWheelTimer
0 likes · 16 min read
Various Implementations of Delayed Tasks in Java: Quartz, DelayQueue, HashedWheelTimer, Redis, and RabbitMQ
Java Backend Technology
Java Backend Technology
Mar 27, 2022 · Databases

How to Install and Use RedisInsight on Linux and Kubernetes

RedisInsight is a powerful GUI for Redis that offers cluster support, SSL/TLS connections, and memory analysis; this guide walks you through downloading, installing on Linux, configuring environment variables, running the service, deploying via Kubernetes, and basic usage for monitoring and managing Redis instances.

Database ManagementGUIInstallation
0 likes · 7 min read
How to Install and Use RedisInsight on Linux and Kubernetes
Programmer DD
Programmer DD
Mar 24, 2022 · Databases

Master RedisInsight: Install, Configure, and Use the Ultimate Redis GUI

Learn how to install, configure, and operate RedisInsight—an intuitive Redis GUI—on Linux and Kubernetes, covering package download, environment setup, service deployment, basic usage, memory analysis, and key management, with step‑by‑step commands and visual screenshots.

Database GUIInstallationKubernetes
0 likes · 8 min read
Master RedisInsight: Install, Configure, and Use the Ultimate Redis GUI
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 23, 2022 · Information Security

Design and Implementation of the Cleaner Anti‑Crawler System for Real‑Time Threat Mitigation

The article presents a comprehensive design of the Cleaner anti‑crawler system, detailing its background, current challenges, related research, system architecture—including data processing, ban center, and ban store modules built on Flink, MQ, and Redis—implementation details, effectiveness evaluation, and concluding insights on achieving real‑time accuracy in protecting platform data.

BackendReal-Timeanti‑crawler
0 likes · 17 min read
Design and Implementation of the Cleaner Anti‑Crawler System for Real‑Time Threat Mitigation
IT Architects Alliance
IT Architects Alliance
Mar 22, 2022 · Backend Development

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

This article details the design and implementation of a high‑availability membership system, covering Elasticsearch dual‑center master‑slave clusters, traffic‑isolated three‑cluster ES architecture, Redis multi‑center caching, MySQL dual‑center partitioning, data migration strategies, and refined flow‑control and degradation mechanisms to ensure stable, low‑latency service under massive concurrent load.

Distributed SystemsElasticsearchScalability
0 likes · 20 min read
High‑Availability Architecture for a Membership System: Elasticsearch Dual‑Center, Redis Caching, MySQL Migration and Fine‑Grained Flow Control
Code Ape Tech Column
Code Ape Tech Column
Mar 22, 2022 · Backend Development

Common Pitfalls and Solutions for Distributed Caching with Redis and Memcached

This article examines the characteristics of Redis and Memcached, identifies typical design mistakes such as consistency, cache avalanche, hot‑key, penetration and breakdown issues, and presents practical mitigation strategies—including consistent hashing, binlog‑driven cache invalidation, distributed locking, and multi‑node replication—to help backend engineers build reliable high‑concurrency cache layers.

BackendCache ConsistencyDistributed Systems
0 likes · 20 min read
Common Pitfalls and Solutions for Distributed Caching with Redis and Memcached
IEG Growth Platform Technology Team
IEG Growth Platform Technology Team
Mar 21, 2022 · Backend Development

Optimization of Local Vector Retrieval: Filtering, Storage, and Sorting Strategies

This article presents a comprehensive study of local vector retrieval optimization, covering memory‑based filtering techniques, Redis‑backed vector storage designs, and various sorting algorithms—including radix and heap‑based approaches—to achieve lower latency and higher throughput for large‑scale ad recommendation systems.

GolangSortingVector Search
0 likes · 13 min read
Optimization of Local Vector Retrieval: Filtering, Storage, and Sorting Strategies
Architect
Architect
Mar 21, 2022 · Databases

Comprehensive Redis Guide: Introduction, Installation, Data Types, Persistence, Transactions, and Caching Strategies

This article provides a detailed overview of Redis, covering its core concepts, high‑performance features, common use cases, installation steps, memory‑management policies, supported data structures, persistence mechanisms, transaction model, and best practices for cache consistency and failure handling.

Data TypesIn-Memory DatabasePersistence
0 likes · 32 min read
Comprehensive Redis Guide: Introduction, Installation, Data Types, Persistence, Transactions, and Caching Strategies
Java High-Performance Architecture
Java High-Performance Architecture
Mar 21, 2022 · Backend Development

Boost Spring Cache Performance with Custom Annotations and a SCAN‑Based RedisCacheWriter

This article explains how to enhance Spring Cache by creating custom cache annotations, replacing the costly KEYS command with SCAN in a rewritten DefaultRedisCacheWriter, and dynamically registering RedisCacheManager beans to support per‑module TTL and transaction‑aware caching, all illustrated with full Java code examples.

BackendCacheannotations
0 likes · 28 min read
Boost Spring Cache Performance with Custom Annotations and a SCAN‑Based RedisCacheWriter
Top Architect
Top Architect
Mar 20, 2022 · Backend Development

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

The article details a comprehensive high‑availability solution for a large‑scale membership system, covering Elasticsearch dual‑center master‑slave clusters, traffic‑isolated three‑cluster designs, deep ES optimizations, Redis caching with consistency safeguards, MySQL partitioned migration, and fine‑grained flow‑control and degradation mechanisms.

ElasticsearchFlow Controlhigh availability
0 likes · 19 min read
High‑Availability Architecture for a Membership System: Elasticsearch Dual‑Center Cluster, Redis Caching, MySQL Migration, and Flow‑Control Strategies
Top Architect
Top Architect
Mar 18, 2022 · Backend Development

Cache Usage Techniques and Design Solutions: Benefits, Costs, Update Strategies, Granularity, and Optimizations

This article provides a comprehensive guide to cache usage, covering its performance benefits and costs, various update strategies, granularity control, and detailed optimizations for issues such as penetration, avalanche, hot key reconstruction, and distributed batch operations.

BackendCache StrategiesDistributed Systems
0 likes · 14 min read
Cache Usage Techniques and Design Solutions: Benefits, Costs, Update Strategies, Granularity, and Optimizations
Architecture Digest
Architecture Digest
Mar 18, 2022 · Backend Development

High‑Availability Architecture for a Membership System: Elasticsearch Dual‑Center Cluster, Redis Caching, and MySQL Migration

This article details the design and implementation of a high‑performance, highly available membership system, covering Elasticsearch dual‑center master‑slave clusters, traffic‑isolated three‑cluster ES architecture, Redis cache strategies, MySQL dual‑center partitioning, seamless migration, abnormal member handling, and fine‑grained flow‑control and degradation policies.

ElasticsearchFlow ControlSystem Architecture
0 likes · 20 min read
High‑Availability Architecture for a Membership System: Elasticsearch Dual‑Center Cluster, Redis Caching, and MySQL Migration
Su San Talks Tech
Su San Talks Tech
Mar 18, 2022 · Databases

Unlock 16 Powerful Redis Patterns for Scalable Backend Systems

This article presents sixteen practical Redis use cases—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, queues, lotteries, likes, tags, filtering, follow models, and ranking—illustrating how to leverage Redis data structures for high‑performance, scalable backend applications.

BitmapsDistributed SystemsLocks
0 likes · 9 min read
Unlock 16 Powerful Redis Patterns for Scalable Backend Systems
Shopee Tech Team
Shopee Tech Team
Mar 17, 2022 · Backend Development

Real-time Checking System for Data Consistency in Microservices

Shopee’s Real‑time Checking System provides configurable, non‑intrusive data consistency verification for micro‑services by capturing change events via CDC, streaming them through Kafka, applying flexible rules and expressions, and instantly alerting mismatches, delivering second‑level detection while scaling to tens of thousands of checks per second.

CDCData ConsistencyDistributed Systems
0 likes · 20 min read
Real-time Checking System for Data Consistency in Microservices
Su San Talks Tech
Su San Talks Tech
Mar 16, 2022 · Databases

Mastering Redis: 16 Essential Interview Questions and Answers

This article provides a comprehensive overview of Redis, covering its definition, data structures, performance characteristics, persistence mechanisms, expiration strategies, memory eviction policies, hot key handling, cache pitfalls, deployment modes, Sentinel and Cluster features, and replication details, all framed as interview questions.

ClusterIn-Memory DatabasePersistence
0 likes · 17 min read
Mastering Redis: 16 Essential Interview Questions and Answers
Sanyou's Java Diary
Sanyou's Java Diary
Mar 14, 2022 · Databases

Why Is My Redis Slowing Down? Comprehensive Diagnosis & Optimization Guide

This article provides a thorough step‑by‑step guide to identify why Redis latency spikes, covering baseline performance testing, slowlog analysis, big‑key handling, expiration patterns, memory limits, fork overhead, huge pages, AOF settings, CPU binding, swap usage, memory fragmentation, network bandwidth, and practical optimization techniques.

Latencydatabaseoptimization
0 likes · 39 min read
Why Is My Redis Slowing Down? Comprehensive Diagnosis & Optimization Guide
Java Backend Technology
Java Backend Technology
Mar 13, 2022 · Backend Development

Why Native Java Locks Fail in Distributed Systems and How Redis & Zookeeper Solve It

This article explains the inventory oversell problem caused by Java's JVM‑local locks in multi‑machine deployments, introduces distributed locks as a solution, and compares practical implementations using Redis (including RedLock and Redisson) and Zookeeper (with Curator), providing code snippets, deployment considerations, and a pros‑cons analysis to guide technology selection.

ZooKeeperdistributed-lockredis
0 likes · 19 min read
Why Native Java Locks Fail in Distributed Systems and How Redis & Zookeeper Solve It
IT Architects Alliance
IT Architects Alliance
Mar 13, 2022 · Databases

Understanding Redis Persistence Mechanisms: RDB and AOF

This article explains Redis's persistence mechanisms, detailing the snapshot-based RDB approach and the append‑only file (AOF) method, their configuration commands, advantages, disadvantages, and how to choose between them for reliable data durability.

AOFConfigurationPersistence
0 likes · 14 min read
Understanding Redis Persistence Mechanisms: RDB and AOF
MaGe Linux Operations
MaGe Linux Operations
Mar 12, 2022 · Databases

Mastering Redis Persistence: RDB vs AOF Explained

Redis stores data in memory, risking loss on shutdown, so it offers two persistence methods—RDB snapshots and AOF append‑only logs—each with distinct commands, configuration options, advantages, and trade‑offs, helping developers choose the right strategy for data durability and performance.

AOFData DurabilityPersistence
0 likes · 13 min read
Mastering Redis Persistence: RDB vs AOF Explained
Top Architect
Top Architect
Mar 12, 2022 · Databases

Understanding Redis Eviction Policies and Memory Management

This article explains Redis's in‑memory database architecture, detailing data locality, various eviction policies such as LRU, LFU, random and TTL, their configuration via maxmemory settings, and provides code examples of the eviction process and memory‑freeing functions.

LFULRUMemory Management
0 likes · 17 min read
Understanding Redis Eviction Policies and Memory Management
IT Architects Alliance
IT Architects Alliance
Mar 12, 2022 · Databases

Redis Data Persistence: AOF and RDB Mechanisms Explained

This article explains how Redis ensures data durability through two persistence methods—Append‑Only File (AOF) and Redis Database (RDB) snapshots—covering their principles, configuration options, risks, rewrite processes, recovery procedures, handling of expired keys, and the hybrid approach introduced in Redis 4.0.

AOFPersistenceRDB
0 likes · 15 min read
Redis Data Persistence: AOF and RDB Mechanisms Explained
Top Architect
Top Architect
Mar 11, 2022 · Databases

Understanding Redis Set and Sorted Set Internal Encodings: intset, hashtable, skiplist, and ziplist

This article explains how Redis stores Set and Sorted Set objects using dual internal representations—intset and hashtable for sets, skiplist and ziplist for sorted sets—detailing their structures, encoding selection criteria, upgrade processes, command usage, and the reasons behind combining dictionaries with skiplists for optimal performance.

BackendData Structureshashtable
0 likes · 15 min read
Understanding Redis Set and Sorted Set Internal Encodings: intset, hashtable, skiplist, and ziplist
Open Source Linux
Open Source Linux
Mar 11, 2022 · Backend Development

How to Build a Dynamic IP Blacklist with Nginx, Lua, and Redis

Learn to protect your server from malicious crawlers by creating a dynamic IP blacklist using Nginx, Lua, and Redis, covering architecture choices, installation steps, configuration snippets, and how to share and update the blacklist across multiple machines.

BackendLuaNginx
0 likes · 4 min read
How to Build a Dynamic IP Blacklist with Nginx, Lua, and Redis
Sanyou's Java Diary
Sanyou's Java Diary
Mar 10, 2022 · Backend Development

Choosing the Right Distributed ID Strategy for Microservices

This article reviews common distributed ID generation methods—including UUID, database auto‑increment, segment mode, Redis, Snowflake, Baidu UidGenerator, Meituan Leaf, and Zookeeper—detailing their principles, advantages, drawbacks, and suitable scenarios to help developers select the most appropriate solution for their microservice architecture.

BackendMicroservicesdistributed-id
0 likes · 9 min read
Choosing the Right Distributed ID Strategy for Microservices
Open Source Linux
Open Source Linux
Mar 9, 2022 · Databases

Mastering Redis Persistence: RDB vs AOF Explained

This article explains Redis's two persistence mechanisms—RDB snapshots and AOF append‑only logs—detailing how they work, how to enable them via commands or configuration, their advantages and drawbacks, and guidance on choosing the right method for your workload.

AOFNoSQLPersistence
0 likes · 13 min read
Mastering Redis Persistence: RDB vs AOF Explained
dbaplus Community
dbaplus Community
Mar 8, 2022 · Operations

How We Built a 20k TPS Highly Available Membership System with ES, Redis, and MySQL

This article explains how a large‑scale membership platform achieved over 20,000 TPS with high performance and zero downtime by deploying dual‑center Elasticsearch clusters, traffic‑isolated three‑cluster ES architecture, Redis caching with distributed locks, and a seamless MySQL migration and HA strategy.

ElasticsearchSystem Architecturemysql
0 likes · 20 min read
How We Built a 20k TPS Highly Available Membership System with ES, Redis, and MySQL
Java Backend Technology
Java Backend Technology
Mar 8, 2022 · Operations

Avoid Common Redis Distributed‑Lock Pitfalls and Fix Them

This article explains why naive Redis lock usage can cause non‑atomic operations, forgotten releases, lock‑stealing, re‑entrancy, read‑write contention, segmentation, timeout, master‑slave failures, and offers practical Java/Redisson/Lua solutions to make distributed locks reliable.

Luaconcurrencydistributed-lock
0 likes · 20 min read
Avoid Common Redis Distributed‑Lock Pitfalls and Fix Them
NiuNiu MaTe
NiuNiu MaTe
Mar 8, 2022 · Backend Development

How a Junior Engineer Landed a Tencent Backend Offer: Interview Experience & Tips

This article shares a junior engineer's detailed journey of securing a backend engineering offer at Tencent, covering three interview rounds, key technical topics like Spring, HashMap, Elasticsearch, Redis, and personal reflections on strengths, weaknesses, and preparation strategies.

ElasticsearchTencentbackend-development
0 likes · 5 min read
How a Junior Engineer Landed a Tencent Backend Offer: Interview Experience & Tips
macrozheng
macrozheng
Mar 7, 2022 · Databases

Mastering RedisOM: Elegant ORM for Spring Boot with Full-Text Search

RedisOM, the official Redis ORM for Java, lets Spring Boot developers replace RedisTemplate with object‑oriented data handling and built‑in full‑text search, covering JDK 11 setup, Maven dependencies, configuration, entity annotations, repository interfaces, and REST controller examples for managing product data.

Full‑Text SearchORMRedisOM
0 likes · 11 min read
Mastering RedisOM: Elegant ORM for Spring Boot with Full-Text Search
Efficient Ops
Efficient Ops
Mar 6, 2022 · Operations

Mastering Redis Sentinel: Build High‑Availability Clusters Step‑by‑Step

This article explains Redis Sentinel’s role in achieving high availability, details its core functions, underlying Raft‑based algorithm, configuration parameters, practical setup steps, fault‑tolerance mechanisms, quorum and majority calculations, and demonstrates failover and recovery scenarios with real command‑line examples.

failoverhigh availabilityredis
0 likes · 20 min read
Mastering Redis Sentinel: Build High‑Availability Clusters Step‑by‑Step
dbaplus Community
dbaplus Community
Mar 6, 2022 · Backend Development

Why Is Redis So Fast? Unveiling Its Core Data Structures

This article explains how Redis achieves high performance by using specialized in‑memory data structures such as SDS, quicklist, listpack, hash tables, skip‑lists and integer sets, detailing their design, evolution across versions, memory‑efficiency tricks, and the trade‑offs that make Redis a lightning‑fast key‑value store.

Data StructuresListpackQuicklist
0 likes · 43 min read
Why Is Redis So Fast? Unveiling Its Core Data Structures
Top Architect
Top Architect
Mar 5, 2022 · Fundamentals

Understanding Skip Lists and Their Implementation in Redis

This article explains the concept of skip lists as an ordered random data structure, illustrates how Redis uses skip lists for sorted sets, and provides a complete Java implementation with detailed code examples and analysis of their performance characteristics.

Data StructureSkip Listalgorithm
0 likes · 13 min read
Understanding Skip Lists and Their Implementation in Redis
Top Architect
Top Architect
Mar 5, 2022 · Databases

Understanding Redis’s Single‑Threaded Model and File Event Handler (FEH)

The article explains how Redis implements a high‑performance single‑threaded architecture by using a Reactor‑style file‑event handler (FEH) built on I/O multiplexing, detailing socket events, the I/O multiplexing program, dispatcher, handler mapping, and the overall client‑server communication flow.

Event-drivenI/O MultiplexingSingle‑threaded
0 likes · 9 min read
Understanding Redis’s Single‑Threaded Model and File Event Handler (FEH)
Top Architect
Top Architect
Mar 4, 2022 · Databases

Why Redis Is So Fast: Architecture, Single‑Thread Model, and Multithreading in Redis 6.0

This article explains why Redis achieves high throughput—up to 100,000 QPS—by leveraging in‑memory storage, simple data structures, a single‑threaded event loop with I/O multiplexing, and the optional multithreaded I/O model introduced in Redis 6.0, including configuration details and safety considerations.

Single Threaddatabasesmultithreading
0 likes · 8 min read
Why Redis Is So Fast: Architecture, Single‑Thread Model, and Multithreading in Redis 6.0
Baidu Geek Talk
Baidu Geek Talk
Mar 2, 2022 · Backend Development

Evolution of Baidu Aifanfan Lead List: From Rapid Delivery to High-Performance Architecture

The Baidu Aifanfan lead list page evolved through six versions—from rapid MySQL‑based delivery to a metadata‑driven, ES‑backed architecture with Redis synchronization—culminating in a high‑availability, high‑performance system that slashed server latency from 25 seconds to under one second and cut frontend load times and static asset sizes dramatically.

APM monitoringFrontend OptimizationMicroservices
0 likes · 21 min read
Evolution of Baidu Aifanfan Lead List: From Rapid Delivery to High-Performance Architecture
Top Architect
Top Architect
Mar 2, 2022 · Backend Development

Cache Design and Optimization Strategies in High‑Concurrency Distributed Systems

The article explains why caching is essential for high‑concurrency distributed systems, analyzes its benefits and costs, and then details various cache‑update, penetration‑prevention, bottom‑hole, avalanche, and hot‑key‑rebuild optimization techniques, offering practical guidance for reliable and performant backend architectures.

Cache EvictionDistributed Systemsbloom-filter
0 likes · 15 min read
Cache Design and Optimization Strategies in High‑Concurrency Distributed Systems
macrozheng
macrozheng
Mar 2, 2022 · Backend Development

Boost Your Search Capabilities with RediSearch and RedisJSON – A Hands‑On Guide

This guide introduces RedisMod’s enhanced modules, shows how to install Redis with Docker, demonstrates native JSON storage using RedisJSON, walks through building and querying a full‑text search index with RediSearch—including Chinese support—and compares its performance against Elasticsearch.

DockerRediSearchRedisJSON
0 likes · 8 min read
Boost Your Search Capabilities with RediSearch and RedisJSON – A Hands‑On Guide
Selected Java Interview Questions
Selected Java Interview Questions
Mar 1, 2022 · Backend Development

Cache Consistency Strategies: From Simple Write‑Through to Binlog Subscription

This article explains why caching is essential for high‑concurrency systems, analyzes the challenges of keeping database and cache data consistent, and compares five practical cache‑invalidation strategies—including write‑after‑DB, delete‑before‑write, delayed double delete, queue‑based deletion, and binlog subscription—highlighting their trade‑offs and suitable scenarios.

BackendBinlogCache
0 likes · 10 min read
Cache Consistency Strategies: From Simple Write‑Through to Binlog Subscription
Efficient Ops
Efficient Ops
Feb 28, 2022 · Databases

Mastering Redis Persistence: RDB vs AOF Explained

This article explores Redis's persistence mechanisms, detailing how RDB snapshots and AOF logs work, how to configure and trigger them, their advantages and drawbacks, and guidance on choosing the appropriate method for reliable data storage.

AOFConfigurationPersistence
0 likes · 13 min read
Mastering Redis Persistence: RDB vs AOF Explained
Su San Talks Tech
Su San Talks Tech
Feb 28, 2022 · Databases

How to Detect and Fix Redis Performance Issues: A Complete Guide

This article explains why Redis latency spikes can cause system-wide outages, shows how to measure baseline performance, monitor slow commands, and address network, RDB, swap, AOF, expiration, and big‑key problems with practical solutions and a diagnostic checklist.

SlowlogSwapredis
0 likes · 18 min read
How to Detect and Fix Redis Performance Issues: A Complete Guide
IT Architects Alliance
IT Architects Alliance
Feb 27, 2022 · Backend Development

Inside Redis: How Its Single‑Threaded Event Loop Works

This article walks through Redis’s annotated source code to explain how its single‑threaded architecture initializes the server, loads configuration and data, and continuously processes file and time events within a while‑loop, revealing why Redis achieves high performance without spawning additional worker threads.

Single Threadbackend-developmentc++
0 likes · 9 min read
Inside Redis: How Its Single‑Threaded Event Loop Works
dbaplus Community
dbaplus Community
Feb 27, 2022 · Backend Development

Avoid Common Pitfalls When Using Redis Distributed Locks

This article examines the hidden dangers of Redis distributed locks—including non‑atomic operations, forgotten releases, accidental unlocking of others, massive request failures, re‑entrancy, lock competition, timeout handling, and master‑slave replication issues—while providing practical Java code examples and mitigation strategies.

best practicesjavaredis
0 likes · 22 min read
Avoid Common Pitfalls When Using Redis Distributed Locks
Top Architect
Top Architect
Feb 27, 2022 · Backend Development

Analyzing Redis' Single‑Threaded Model and Event Loop from Source Code

This article examines Redis's single‑threaded architecture by walking through its source code, detailing the main function initialization steps, the event‑loop implementation, and how file and time events are processed, while also noting the promotional messages interspersed throughout.

C languageSingle‑threadedbackend-development
0 likes · 12 min read
Analyzing Redis' Single‑Threaded Model and Event Loop from Source Code
Refining Core Development Skills
Refining Core Development Skills
Feb 25, 2022 · Databases

Comprehensive Guide to Diagnosing and Optimizing Redis Performance Issues

This article provides a step‑by‑step methodology for identifying why a Redis instance becomes slow, covering baseline latency testing, slow‑log analysis, big‑key detection, expiration patterns, memory limits, fork overhead, huge‑page effects, AOF configuration, CPU binding, swap usage, memory fragmentation, network saturation, and practical remediation techniques.

Backendoptimizationperformance
0 likes · 40 min read
Comprehensive Guide to Diagnosing and Optimizing Redis Performance Issues
IT Services Circle
IT Services Circle
Feb 24, 2022 · Databases

Diagnosing and Solving Redis Performance Issues

This article explains how to detect Redis latency problems, measure baseline performance, monitor slow commands, and address common causes such as network round‑trip delays, fork‑generated RDB snapshots, transparent huge pages, swap usage, AOF settings, key expiration, and big‑key handling, providing practical troubleshooting steps and solutions.

Latencydatabasemonitoring
0 likes · 20 min read
Diagnosing and Solving Redis Performance Issues
High Availability Architecture
High Availability Architecture
Feb 23, 2022 · Databases

Redis Master‑Slave Replication Memory Consumption and the Shared Replication Buffer Design

This article analyzes the excessive memory usage and blocking issues in Redis master‑slave replication, explains how the upcoming Redis 7.0 shared replication buffer solves these problems, and details the design, implementation, and key considerations of the shared buffer mechanism.

Database InternalsMemory OptimizationReplication
0 likes · 14 min read
Redis Master‑Slave Replication Memory Consumption and the Shared Replication Buffer Design
Code Ape Tech Column
Code Ape Tech Column
Feb 23, 2022 · Backend Development

Design and Implementation of Delayed Message Queues in Distributed Systems

This article examines various delayed‑message implementations in distributed message‑queue systems, comparing external‑storage approaches using databases, RocksDB and Redis, and reviewing built‑in solutions in open‑source MQs such as RocketMQ, Pulsar and QMQ, while discussing their advantages, drawbacks and design considerations.

PulsarRocketMQRocksDB
0 likes · 15 min read
Design and Implementation of Delayed Message Queues in Distributed Systems
Java Architect Essentials
Java Architect Essentials
Feb 22, 2022 · Backend Development

Common Redis Use Cases and Implementation Patterns

This article presents a comprehensive collection of Redis use cases—including caching, distributed locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, product tagging, filtering, follow relationships, and ranking—along with practical code snippets and command examples for backend developers.

Data Structuresredis
0 likes · 9 min read
Common Redis Use Cases and Implementation Patterns
ITPUB
ITPUB
Feb 22, 2022 · Databases

Understanding and Solving Redis Big‑Key Problems

This article explains what constitutes a Redis big key, why it harms performance, how to detect it with tools like bigkeys, redis‑rdb‑tools, and monitoring, and provides practical removal, compression, and sharding strategies to mitigate the issue.

Big KeySCANUNLINK
0 likes · 9 min read
Understanding and Solving Redis Big‑Key Problems
Java Backend Technology
Java Backend Technology
Feb 22, 2022 · Backend Development

Mastering Redis: 16 Real-World Patterns for Caching, Locks, Queues, and More

This article presents 16 practical Redis use cases—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, product tags, filtering, follow relationships, and ranking—detailing data types, commands, and implementation tips for building scalable backend services.

BitmapsMessage Queuebackend-development
0 likes · 10 min read
Mastering Redis: 16 Real-World Patterns for Caching, Locks, Queues, and More
Top Architect
Top Architect
Feb 21, 2022 · Databases

Comprehensive Redis Technical Guide and Interview Q&A

This extensive guide covers Redis fundamentals, data structures, persistence mechanisms, clustering, sentinel high‑availability, performance tuning, common pitfalls, and practical use‑case implementations, providing detailed answers and code examples for interview preparation and real‑world development.

MessageQueuePersistencecaching
0 likes · 66 min read
Comprehensive Redis Technical Guide and Interview Q&A
Yang Money Pot Technology Team
Yang Money Pot Technology Team
Feb 21, 2022 · Backend Development

Design and Implementation of an Online Customer Service Instant Messaging System

This article details the design and implementation of an online customer service instant messaging system, covering requirements analysis, client‑server network model, HTTP and WebSocket protocols, distributed architecture choices such as routing rules, Redis shared memory, server‑master sync, and message‑queue broadcasting, and explains why Netty was selected as the development framework.

Distributed SystemsInstant MessagingMessage Queue
0 likes · 17 min read
Design and Implementation of an Online Customer Service Instant Messaging System
Programmer DD
Programmer DD
Feb 21, 2022 · Backend Development

Mastering Redis Rate Limiting: 3 Practical Techniques for High‑Concurrency Backends

This article explains three Redis‑based rate‑limiting techniques—setnx with expiration, a sliding‑window implementation using sorted sets, and a token‑bucket algorithm with lists—complete with Java code examples and discussion of their advantages and limitations for high‑concurrency backend services.

Distributed Systemsbackend-developmentjava
0 likes · 7 min read
Mastering Redis Rate Limiting: 3 Practical Techniques for High‑Concurrency Backends
Architecture Digest
Architecture Digest
Feb 21, 2022 · Backend Development

Cache Design and Optimization Strategies in Distributed Systems

This article explains the benefits, costs, and various update, penetration, bottom‑hole, avalanche, and hot‑key rebuilding strategies for caches in high‑concurrency distributed systems, offering practical guidance on choosing eviction algorithms, using Bloom filters, and improving overall system performance and reliability.

Cache EvictionDistributed Systemsbloom-filter
0 likes · 13 min read
Cache Design and Optimization Strategies in Distributed Systems
IT Architects Alliance
IT Architects Alliance
Feb 20, 2022 · Backend Development

Cache Consistency Strategies for Database and Redis: Tiered Storage and Synchronization Techniques

The article examines tiered data storage and evaluates four cache‑synchronization strategies—updating the database before the cache, deleting the cache before updating the database, updating the cache before the database, and deleting the cache after a database update—highlighting their trade‑offs and practical solutions such as delayed double deletion, message‑queue retries, and binlog‑driven cache updates.

Backendcachingdatabase-consistency
0 likes · 8 min read
Cache Consistency Strategies for Database and Redis: Tiered Storage and Synchronization Techniques
Sanyou's Java Diary
Sanyou's Java Diary
Feb 19, 2022 · Databases

Redis Persistence Explained: RDB vs AOF and Hybrid Strategies

This article explores Redis persistence mechanisms, detailing the purpose of data durability, the two primary methods—RDB snapshots and AOF logs—their operation, strategies, advantages, drawbacks, and the newer hybrid persistence mode, while also addressing common questions and best‑practice recommendations for reliable deployment.

AOFHybridPersistence
0 likes · 20 min read
Redis Persistence Explained: RDB vs AOF and Hybrid Strategies
Selected Java Interview Questions
Selected Java Interview Questions
Feb 19, 2022 · Backend Development

Implementing a Lightweight Redis‑Based Message Queue: Environment Setup, List, Pub/Sub, and Stream Solutions

This article details the research background, environment preparation, and three Redis‑based message‑queue implementations—using List structures, Pub/Sub, and Stream APIs—along with code examples, design considerations, testing strategies, and deployment tips for building a lightweight messaging component in Java Spring Boot.

BackendMessage QueueSpring Boot
0 likes · 17 min read
Implementing a Lightweight Redis‑Based Message Queue: Environment Setup, List, Pub/Sub, and Stream Solutions
ITPUB
ITPUB
Feb 18, 2022 · Backend Development

How Vivo Scaled Its Push Platform with Redis: Lessons in High‑Concurrency Optimization

This article details how Vivo's push notification platform leverages Redis for massive message throughput, identifies bottlenecks encountered during peak traffic, and outlines a series of capacity, clustering, hot‑key, and client‑side optimizations that reduced load by up to 15% and improved response times dramatically.

ScalabilitySystem optimizationpush notifications
0 likes · 17 min read
How Vivo Scaled Its Push Platform with Redis: Lessons in High‑Concurrency Optimization
ITPUB
ITPUB
Feb 17, 2022 · Backend Development

How to Efficiently Read Redis Source Code: 7 Proven Steps

This guide outlines a practical seven‑step methodology for mastering Redis source code, from mapping the project structure and preparing prerequisite knowledge to focusing on core execution paths, handling complex functions, exploring side modules, and iteratively filling knowledge gaps.

Backendreading guideredis
0 likes · 14 min read
How to Efficiently Read Redis Source Code: 7 Proven Steps
Efficient Ops
Efficient Ops
Feb 16, 2022 · Databases

Master Redis: Core Concepts, Commands, and Data Types Explained

Redis is an open‑source, in‑memory data‑structure store that serves as a database, cache, and message broker; this guide introduces its fundamentals, explains why NoSQL emerged, details its five primary data types, common commands, and advanced features like transactions and pipelines.

CacheData StructuresNoSQL
0 likes · 15 min read
Master Redis: Core Concepts, Commands, and Data Types Explained
Programmer DD
Programmer DD
Feb 16, 2022 · Backend Development

Master Tencent Interview: Deep Dive into HashMap, Redis, MySQL & System Design

This article compiles a comprehensive set of Tencent interview questions and detailed answers covering HashMap internals, thread safety, red‑black trees, Redis performance, MySQL indexing, TCP reliability, IO multiplexing, RPC, and system bottleneck analysis to help candidates prepare effectively.

BackendHashMapinterview
0 likes · 11 min read
Master Tencent Interview: Deep Dive into HashMap, Redis, MySQL & System Design
Architect's Journey
Architect's Journey
Feb 16, 2022 · Databases

How to Explain Redis Persistence Mechanisms in an Interview

The article walks through Redis’s two persistence options—RDB snapshots and AOF logs—detailing how each works, their advantages and drawbacks, and why interviewees should understand their differences, including AOF rewrite compression, to answer interview questions accurately.

AOFCachePersistence
0 likes · 8 min read
How to Explain Redis Persistence Mechanisms in an Interview
Code Ape Tech Column
Code Ape Tech Column
Feb 16, 2022 · Backend Development

Cache Design and Optimization Strategies for Distributed Systems

This article explains the benefits, costs, and various update, penetration, hole, avalanche, and hot‑key optimization techniques for caches in high‑concurrency distributed systems, providing practical guidance on choosing appropriate strategies such as LRU/LFU/FIFO, timeout eviction, proactive updates, Bloom filters, and concurrency‑aware batch operations.

Cache Evictioncache-penetrationcaching
0 likes · 15 min read
Cache Design and Optimization Strategies for Distributed Systems
QQ Music Frontend Team
QQ Music Frontend Team
Feb 15, 2022 · Databases

Mastering Redis: From Fundamentals to Advanced Features and Real‑World Use Cases

This comprehensive guide walks you through Redis basics, its data structures, commands, installation steps, high‑concurrency principles, persistence mechanisms, replication, caching strategies, Lua scripting, pipelines, distributed locks, and cluster concepts, providing practical examples and best‑practice recommendations for developers and operators.

Data StructuresLuaPersistence
0 likes · 70 min read
Mastering Redis: From Fundamentals to Advanced Features and Real‑World Use Cases
Sanyou's Java Diary
Sanyou's Java Diary
Feb 14, 2022 · Backend Development

Is Redis Redlock Really Safe? Uncovering the Truth Behind Distributed Locks

This article thoroughly examines the safety of Redis-based distributed locks, from basic SETNX implementations to advanced Redlock algorithms, compares them with Zookeeper locks, discusses common pitfalls like deadlocks, clock drift, and network delays, and presents expert debates and practical solutions for robust lock management.

RedlockSafetyconcurrency
0 likes · 32 min read
Is Redis Redlock Really Safe? Uncovering the Truth Behind Distributed Locks
IT Architects Alliance
IT Architects Alliance
Feb 14, 2022 · Databases

Ensuring Data Consistency Between MySQL and Redis in High‑Concurrency Scenarios

The article explains why data inconsistency occurs when MySQL and Redis are used together under heavy load, analyzes cache‑delete ordering issues, and presents two practical solutions—delayed double‑delete and asynchronous cache updates via MySQL binlog—along with their trade‑offs and implementation steps.

Async UpdateBinlogCache Consistency
0 likes · 8 min read
Ensuring Data Consistency Between MySQL and Redis in High‑Concurrency Scenarios
Architect
Architect
Feb 13, 2022 · Databases

Ensuring Data Consistency Between MySQL and Redis in High‑Concurrency Scenarios

This article analyzes why data inconsistencies arise when MySQL and Redis are used together under high load, compares cache‑delete ordering problems, and presents two practical solutions—delayed double‑delete and asynchronous binlog‑driven cache updates—along with implementation tips and trade‑offs.

Cache Consistencymysqlredis
0 likes · 8 min read
Ensuring Data Consistency Between MySQL and Redis in High‑Concurrency Scenarios
vivo Internet Technology
vivo Internet Technology
Feb 9, 2022 · Databases

Redis Optimization for Vivo Push Platform: Architecture, Bottlenecks, and Solutions

To sustain Vivo Push Platform’s massive real‑time traffic, engineers re‑architected two Redis clusters, trimmed capacity by 58 %, split clusters, randomized hotspot‑prone keys, and introduced three‑level caching, cutting peak CPU load by 15 %, halving response time and improving overall Redis efficiency during peak loads.

Hot Key Mitigationcluster scalingperformance optimization
0 likes · 15 min read
Redis Optimization for Vivo Push Platform: Architecture, Bottlenecks, and Solutions
IT Architects Alliance
IT Architects Alliance
Feb 4, 2022 · Backend Development

How Our Recommendation Engine Evolved from V1.0 to V3.0

This article details the three‑stage evolution of an e‑commerce recommendation framework—V1.0’s simple strategy‑factory design, V2.0’s vertical business split, and V3.0’s configurable pipeline with dynamic server‑client configuration, addressing scalability, isolation, and AB‑testing challenges.

AB testingBackend ArchitectureMicroservices
0 likes · 14 min read
How Our Recommendation Engine Evolved from V1.0 to V3.0
IT Services Circle
IT Services Circle
Feb 2, 2022 · Backend Development

Backend Engineer Interview Experience and Technical Q&A at Huanju (YY)

This article shares a detailed account of a backend engineer's multi‑stage interview process at Huanju (formerly YY), covering personal background, common Java and system design questions, database and caching strategies, distributed lock handling, and reflections on preparation and outcomes.

BackendThreadPoolinterview
0 likes · 16 min read
Backend Engineer Interview Experience and Technical Q&A at Huanju (YY)
Top Architect
Top Architect
Jan 31, 2022 · Backend Development

Delayed Queue Technology Research and Implementation Overview

This article surveys various delayed queue implementations—including Kafka, RocketMQ, Redis (Redisson), and Netty’s HashedWheelTimer—examining their design principles, advantages, drawbacks, and integration strategies, and proposes a unified micro‑service architecture leveraging Kafka topics, Redis ZSETs, and thread‑pool optimizations for reliable message scheduling.

KafkaMicroservicesNetty
0 likes · 15 min read
Delayed Queue Technology Research and Implementation Overview
Architect
Architect
Jan 30, 2022 · Backend Development

Designing a High‑Concurrency Ticket Spike System with Load Balancing, Nginx, and Go

This article explains how to design and implement a high‑concurrency ticket‑seckill system by analyzing the 12306 architecture, introducing multi‑layer load balancing, demonstrating Nginx weighted round‑robin configuration, and providing Go and Redis code to achieve stable, low‑latency ticket purchasing under massive simultaneous requests.

GoNginxhigh concurrency
0 likes · 19 min read
Designing a High‑Concurrency Ticket Spike System with Load Balancing, Nginx, and Go
政采云技术
政采云技术
Jan 28, 2022 · Databases

Redis Bitmaps Tutorial: Concepts, Commands, and Real‑World Applications

This tutorial explains Redis Bitmaps, covering their underlying concept, core commands such as SETBIT, GETBIT, BITCOUNT, BITOP, BITPOS, BITFIELD, and demonstrates practical uses like online‑status tracking, daily active‑user counting, Bloom filters, marketing segmentation, collaborative drawing, and handling non‑sequential IDs.

BitfieldBitmap OperationsBitmaps
0 likes · 21 min read
Redis Bitmaps Tutorial: Concepts, Commands, and Real‑World Applications
IT Architects Alliance
IT Architects Alliance
Jan 28, 2022 · Databases

Why Is Redis So Fast? A Deep Dive into Its Data Structures and Architecture

This article explains why Redis achieves high query performance by leveraging in‑memory storage, specialized data structures such as SDS, linked lists, dictionaries, ziplists and skiplists, a single‑threaded event loop with I/O multiplexing, and various optimization techniques that avoid common bottlenecks.

Data StructuresI/O MultiplexingIn-Memory Database
0 likes · 18 min read
Why Is Redis So Fast? A Deep Dive into Its Data Structures and Architecture
Beike Product & Technology
Beike Product & Technology
Jan 27, 2022 · Backend Development

Performance Optimization of Beike IM: Scaling Group Chat to Over 300 QPS

This article details how the Beike instant‑messaging system was analyzed, bottlenecks identified, and a series of backend optimizations—including business isolation, increased concurrency, computation reduction, and Redis connection‑pool redesign—were applied to boost 300‑person group‑chat throughput from 15 QPS to over 320 QPS, achieving more than a twenty‑fold performance gain.

GoIMMessaging
0 likes · 12 min read
Performance Optimization of Beike IM: Scaling Group Chat to Over 300 QPS