Tagged articles

Redis

3508 articles · Page 21 of 36
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 monitoringDatabase MigrationFrontend Optimization
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.

Bloom filterCache EvictionRedis
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.

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

CacheCache invalidationData Consistency
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.

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

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

C++Redisbackend development
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.

JavaRedisRedisson
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 languageRedisSingle‑threaded
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.

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

DatabasePerformanceRedis
0 likes · 20 min read
Diagnosing and Solving Redis Performance Issues
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.

RedisRocketMQRocksDB
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 KeyPerformanceRedis
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 QueueRedis
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.

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

Instant MessagingMessage QueueNetty
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.

JavaRedisbackend development
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.

Bloom filterCache EvictionPerformance
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.

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

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

JavaMessage QueueRedis
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.

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

Redisbackendreading guide
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 StructuresDatabase
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.

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

AOFCacheInterview
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 PenetrationRedis
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.

RedisRedlockSafety
0 likes · 32 min read
Is Redis Redlock Really Safe? Uncovering the Truth Behind Distributed Locks
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 MitigationPerformance OptimizationRedis
0 likes · 15 min read
Redis Optimization for Vivo Push Platform: Architecture, Bottlenecks, and Solutions
Hacker Afternoon Tea
Hacker Afternoon Tea
Feb 7, 2022 · Backend Development

How to Configure a Memory Broker Replica in Undermoon

This guide shows how to build Undermoon, run a master and replica Memory Broker, verify data replication, and manually switch to the replica via the coordinator API when the master fails, ensuring continued service operation.

Coordinator APIMemory BrokerRedis
0 likes · 4 min read
How to Configure a Memory Broker Replica in Undermoon
Hacker Afternoon Tea
Hacker Afternoon Tea
Feb 6, 2022 · Databases

How Undermoon Enables Simple, Fast Redis Cluster Slot Migration

Undermoon migrates Redis Cluster slots quickly and simply by orchestrating SCAN, DUMP, PTTL, RESTORE and DEL commands through migrating and importing proxies, balancing CPU load, handling delete‑prone keys, and achieving sub‑minute migration of 1 GB with throughput recovery.

Cluster MigrationDUMPRedis
0 likes · 7 min read
How Undermoon Enables Simple, Fast Redis Cluster Slot Migration
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 testingPipelineRedis
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.

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

Delayed QueueKafkaNetty
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.

GoRedishigh-concurrency
0 likes · 19 min read
Designing a High‑Concurrency Ticket Spike System with Load Balancing, Nginx, and Go
Hacker Afternoon Tea
Hacker Afternoon Tea
Jan 30, 2022 · Databases

How to Manually Set Up an Undermoon Redis Cluster

This step‑by‑step tutorial shows how to build Undermoon from source, deploy a memory broker, coordinator, two server proxies and four Redis nodes on a single machine, register them via JSON APIs, create a named cluster, and verify its operation with redis‑cli.

ClusterMemory BrokerRedis
0 likes · 6 min read
How to Manually Set Up an Undermoon Redis Cluster
Hacker Afternoon Tea
Hacker Afternoon Tea
Jan 29, 2022 · Cloud Native

Running an Undermoon Redis Cluster with Docker Compose

This guide walks through setting up an Undermoon Redis cluster using Docker Compose, covering prerequisites, building images, registering proxies, creating and scaling the cluster, and demonstrating automatic failover with concrete command‑line examples.

ClusterDockerDocker Compose
0 likes · 7 min read
Running an Undermoon Redis Cluster with Docker Compose
政采云技术
政采云技术
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
Hacker Afternoon Tea
Hacker Afternoon Tea
Jan 27, 2022 · Databases

Undermoon: Self‑Managing Redis Cluster Built on the Redis Cluster Protocol

Undermoon is an open‑source system that implements a self‑managing Redis cluster using the Redis Cluster protocol, offering horizontal scalability, high availability, HTTP‑API management, automatic master‑replica failover, and rapid expansion, with its architecture detailed across metadata storage, coordinator, storage cluster, and chunk components.

ChunkCoordinatorMetadata Storage
0 likes · 4 min read
Undermoon: Self‑Managing Redis Cluster Built on the Redis Cluster Protocol
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.

GoIMRedis
0 likes · 12 min read
Performance Optimization of Beike IM: Scaling Group Chat to Over 300 QPS
IT Architects Alliance
IT Architects Alliance
Jan 27, 2022 · Backend Development

Implementing a Delayed Queue with Redis Zset in Java Spring Boot

This article explains the concept of delayed queues, outlines typical use cases, compares implementation options, and provides a complete Java Spring Boot example that uses Redis Zset to create, manage, and execute delayed tasks with accompanying code snippets and test results.

DelayQueueJavaRedis
0 likes · 8 min read
Implementing a Delayed Queue with Redis Zset in Java Spring Boot
Java Interview Crash Guide
Java Interview Crash Guide
Jan 26, 2022 · Backend Development

How to Build a High‑Performance Redis Delay Queue with SpringBoot

This article explains the design, implementation, and optimization of a Redis‑based delay queue using SpringBoot, Redisson, and distributed locks, covering use cases, architecture, data structures, job lifecycle, core code snippets, and future improvements for reliability and scalability.

Message QueueRedisRedisson
0 likes · 15 min read
How to Build a High‑Performance Redis Delay Queue with SpringBoot
Architect
Architect
Jan 25, 2022 · Databases

Designing a High‑Availability Redis Service with Sentinel

This article explains why Redis needs high availability, defines failure scenarios, compares several HA architectures—including single‑instance, master‑slave with one or multiple Sentinel processes, and a three‑node solution with a virtual IP—and provides practical guidance for building a reliable Redis service.

OperationsRedisSentinel
0 likes · 12 min read
Designing a High‑Availability Redis Service with Sentinel
Architecture Digest
Architecture Digest
Jan 25, 2022 · Backend Development

Distributed Lock Implementation Approaches in Java: Database, Redis, and Zookeeper

This article explains the concept of distributed locks, compares three implementation methods—database unique indexes, Redis (using SETNX), and Zookeeper—provides detailed SQL table design and Java code examples for acquiring and releasing locks, and discusses reentrancy, lock release timing, and single‑point failure considerations.

DatabaseJavaRedis
0 likes · 14 min read
Distributed Lock Implementation Approaches in Java: Database, Redis, and Zookeeper
Java Backend Technology
Java Backend Technology
Jan 23, 2022 · Backend Development

Build a High‑Performance Lottery System with Spring Boot, MyBatis‑Plus & Redis

This tutorial walks through creating a Spring Boot lottery application that caches activity, prize, and record data in Redis, covering project setup, Maven dependencies, YML configuration, MyBatis‑Plus code generation, Redis key management, lottery API, event‑driven data loading, stock handling, and asynchronous record saving.

JavaLottery SystemRedis
0 likes · 24 min read
Build a High‑Performance Lottery System with Spring Boot, MyBatis‑Plus & Redis
Top Architect
Top Architect
Jan 22, 2022 · Databases

Differences Among Jedis, Redisson, and Lettuce and Their Usage in Spring Boot

This article compares the Java Redis clients Jedis, Redisson, and Lettuce, explains their distinct features and thread‑safety models, and provides detailed Spring Boot configuration and code examples for using RedisTemplate, RedissonClient, and annotation‑based caching to implement distributed locks, hash operations, and cache management.

JavaLettuceRedis
0 likes · 13 min read
Differences Among Jedis, Redisson, and Lettuce and Their Usage in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jan 21, 2022 · Backend Development

Message Deduplication and Exactly-Once Semantics in RocketMQ: Strategies and Implementation

This article explains the challenges of at‑least‑once delivery in distributed message middleware like RocketMQ, examines simple and concurrent deduplication techniques, and presents both transaction‑based and non‑transactional exactly‑once solutions using database tables or Redis, along with practical Java code examples.

RedisRocketMQdeduplication
0 likes · 17 min read
Message Deduplication and Exactly-Once Semantics in RocketMQ: Strategies and Implementation
IT Architects Alliance
IT Architects Alliance
Jan 21, 2022 · Databases

How Redis Overcame Single‑Thread Limits with Lazy Free and Multithreaded I/O

This article explains Redis’s original single‑threaded event‑driven architecture, its performance bottlenecks, and how versions 4.0 and 6.0 introduced Lazy Free and multithreaded I/O mechanisms—including asynchronous key deletion, background freeing, and I/O thread pools—to improve scalability while outlining their implementation details, limitations, and comparisons with Tair.

Database InternalsLazy FreeMultithreaded I/O
0 likes · 15 min read
How Redis Overcame Single‑Thread Limits with Lazy Free and Multithreaded I/O
Architect's Tech Stack
Architect's Tech Stack
Jan 19, 2022 · Backend Development

Implementing Chunked and Resumable File Upload with Fast Upload (秒传) in Java

This article explains how to implement fast (MD5‑based) upload, chunked upload, and resumable (break‑point) upload for large files in Java, detailing the Redis‑based status tracking, server‑side file handling with RandomAccessFile or MappedByteBuffer, and the required front‑end and back‑end coordination.

Chunked UploadJavaMappedByteBuffer
0 likes · 13 min read
Implementing Chunked and Resumable File Upload with Fast Upload (秒传) in Java
Java Interview Crash Guide
Java Interview Crash Guide
Jan 19, 2022 · Backend Development

Master the CCBank Online Interview: 30+ Must‑Know Backend Questions

This article outlines the first, second, and HR interview rounds for a CCBank online position, detailing over thirty technical and behavioral questions covering Elasticsearch, Redis, Spring Cloud, JVM, data structures, performance optimization, and candidate queries, followed by a concise summary.

ElasticsearchInterviewJava
0 likes · 3 min read
Master the CCBank Online Interview: 30+ Must‑Know Backend Questions
Code Ape Tech Column
Code Ape Tech Column
Jan 19, 2022 · Databases

Choosing Appropriate Redis Data Structures for Large‑Scale Statistics: Cardinality, Sorting, and Aggregation

This article explains how to select Redis data structures such as Bitmap, HyperLogLog, Set, List, Sorted Set, and Hash to efficiently handle massive statistical scenarios like user login status, UV counting, ranking, and set aggregation, while providing concrete command examples and best‑practice recommendations.

AggregationBitMapCardinality
0 likes · 11 min read
Choosing Appropriate Redis Data Structures for Large‑Scale Statistics: Cardinality, Sorting, and Aggregation
IT Architects Alliance
IT Architects Alliance
Jan 18, 2022 · Backend Development

Implementation Strategies for Delayed (Scheduled) Messages in Distributed Systems

This article examines common delayed (scheduled) message implementations in distributed systems, comparing external storage approaches using databases, RocksDB, and Redis, as well as built-in solutions in open-source MQs like RocketMQ, Pulsar, and QMQ, and discusses their advantages, drawbacks, and design considerations.

RedisRocketMQRocksDB
0 likes · 12 min read
Implementation Strategies for Delayed (Scheduled) Messages in Distributed Systems
Top Architect
Top Architect
Jan 15, 2022 · Backend Development

Distributed Lock Implementation Strategies: Database, Redis, and Zookeeper

This article explains why distributed locks are needed beyond Java's JVM‑level locks, compares three common implementation approaches—database unique indexes, Redis SETNX, and Zookeeper ephemeral sequential nodes—and provides concrete SQL and Java code examples with analysis of re‑entrancy, release timing, and single‑point risks.

DatabaseJavaRedis
0 likes · 15 min read
Distributed Lock Implementation Strategies: Database, Redis, and Zookeeper
Architect
Architect
Jan 14, 2022 · Backend Development

Design and Implementation of a Redis-Based Delayed Queue

This article explains the business scenarios that require delayed processing, compares several existing delayed‑queue solutions, and details a Redis‑backed delayed‑queue design—including its data structures, message format, multi‑node deployment, and runtime workflow—providing practical guidance for building scalable backend systems.

Delayed QueueJavaRedis
0 likes · 8 min read
Design and Implementation of a Redis-Based Delayed Queue
IT Xianyu
IT Xianyu
Jan 14, 2022 · Operations

Redis Monitoring, Data Migration, and Cluster Management Tools Overview

This article introduces essential Redis operational tools, covering the INFO command for monitoring, Prometheus‑based redis‑exporter visualization, the Redis‑shake data migration utility, Redis‑full‑check consistency verification, and the CacheCloud platform for comprehensive cluster management.

CacheCloudData MigrationOperations
0 likes · 10 min read
Redis Monitoring, Data Migration, and Cluster Management Tools Overview
Architecture Digest
Architecture Digest
Jan 11, 2022 · Backend Development

Implementing Distributed Locks with Redis and Redisson Watchdog Mechanism

This article explains how to implement a distributed lock using Redis by setting a unique key-value pair, handling expiration, addressing lock timeout issues, and leveraging Redisson's watchdog mechanism with automatic renewal, including detailed code examples for tryLock, subscription, and renewal processes.

JavaRedisRedisson
0 likes · 9 min read
Implementing Distributed Locks with Redis and Redisson Watchdog Mechanism
Architect's Tech Stack
Architect's Tech Stack
Jan 11, 2022 · Backend Development

Diagnosing Redis Connection Pool Blocking in a Spring Boot Application

The article details a week‑long investigation of unresponsive APIs in a sandbox environment, tracing the root cause to Redis connection pool blocking in a Spring Boot service, and presents step‑by‑step debugging, code analysis, configuration fixes, and best‑practice recommendations for proper Redis usage.

ArthasDebuggingRedis
0 likes · 9 min read
Diagnosing Redis Connection Pool Blocking in a Spring Boot Application
Java High-Performance Architecture
Java High-Performance Architecture
Jan 6, 2022 · Backend Development

Mastering Redis Distributed Locks: Strategies, Pitfalls, and Redisson Watchdog

Redis distributed locks rely on a key-value marker with unique client IDs, expiration times, and careful release checks; the article explores lock timeout challenges, automatic renewal via watchdog mechanisms, Redisson's tryLock implementation, Lua‑based renewal scripts, and best practices to avoid deadlocks and resource waste.

JavaRedisRedisson
0 likes · 11 min read
Mastering Redis Distributed Locks: Strategies, Pitfalls, and Redisson Watchdog
Sohu Tech Products
Sohu Tech Products
Jan 5, 2022 · Backend Development

Implementing Distributed Locks with Redis and Redisson

This article explains how to implement a distributed lock using Redis, discusses challenges with lock expiration, describes automatic renewal techniques such as watchdog mechanisms, and provides detailed Java code examples of Redisson's tryLock and renewal processes.

JavaRedisRedisson
0 likes · 12 min read
Implementing Distributed Locks with Redis and Redisson
Tencent Cloud Developer
Tencent Cloud Developer
Jan 5, 2022 · Fundamentals

Understanding Skip Lists: Principles, Implementation in Go, and Redis Integration

The article explains skip list fundamentals, shows how probabilistic multi‑level indexing yields O(log n) search and O(n) space, provides a complete Go implementation with insertion, deletion and search functions, compares Redis’s enhanced skip list used in sorted sets, and answers common design questions.

Go ProgrammingIndex structureLinked List
0 likes · 17 min read
Understanding Skip Lists: Principles, Implementation in Go, and Redis Integration
Top Architect
Top Architect
Jan 5, 2022 · Backend Development

Implementation and Comparison of Delayed Task Solutions in Java

This article explains the concept of delayed tasks, compares them with scheduled tasks, and presents five implementation approaches—database polling, JDK DelayQueue, time‑wheel algorithm, Redis sorted sets, and message‑queue based delay queues—detailing their code, advantages, and drawbacks.

DelayQueueJavaMessage Queue
0 likes · 17 min read
Implementation and Comparison of Delayed Task Solutions in Java
DeWu Technology
DeWu Technology
Jan 4, 2022 · Backend Development

Best Practices for Redis Cache Consistency in Distributed Systems

In distributed e‑commerce systems, achieving Redis cache consistency requires invalidating stale entries via reliable DB change detection (e.g., binlog listeners) and optionally using versioned writes that only update when newer, combined with safeguards like TTLs, double deletes, and business‑specific designs to mitigate race conditions and ensure eventual consistency.

Cache ConsistencyRedisbackend development
0 likes · 9 min read
Best Practices for Redis Cache Consistency in Distributed Systems
Top Architect
Top Architect
Jan 2, 2022 · Backend Development

Debugging Redis Connection Pool Blocking Issues in a Spring Backend Application

The article details a step‑by‑step investigation of a Spring‑based backend where API requests hung due to Redis connection pool misconfiguration, showing how thread dumps, jstack, and Arthas were used to pinpoint blocking in Jedis pool acquisition, and provides corrected configuration and proper connection handling recommendations.

DebuggingRedisconnection-pool
0 likes · 9 min read
Debugging Redis Connection Pool Blocking Issues in a Spring Backend Application