Tagged articles
3240 articles
Page 17 of 33
Tencent Cloud Developer
Tencent Cloud Developer
Jun 9, 2022 · Databases

Redis Cache Anomalies and Mitigation Strategies

Redis caching can suffer from avalanche, breakdown, and penetration anomalies, but using staggered expirations, mutex locks, double‑key backups, high‑availability clusters, rate limiting, empty‑value caching, Bloom filters, warm‑up and degradation strategies effectively mitigates these risks and protects database stability.

BackendCachecache-avalanche
0 likes · 9 min read
Redis Cache Anomalies and Mitigation Strategies
Sohu Tech Products
Sohu Tech Products
Jun 8, 2022 · Databases

Cache Working Mechanisms and Consistency Solutions Using Redis

This article explores Redis cache mechanisms, various caching patterns such as Cache‑Aside, Read‑Through, Write‑Through and Write‑Behind, analyzes consistency challenges in write operations, and presents solutions like delayed double deletion, retry mechanisms, and binlog‑based asynchronous cache invalidation to achieve eventual consistency.

Cache ConsistencyDistributed Systemscache-aside
0 likes · 18 min read
Cache Working Mechanisms and Consistency Solutions Using Redis
php Courses
php Courses
Jun 8, 2022 · Backend Development

Using Redis Bitmap for Online User Statistics in Laravel

This article explains how to efficiently count daily visits and online users in a Laravel application by leveraging Redis bitmap, detailing its memory‑saving advantages, providing complete PHP code for setting, counting, and checking online status, and comparing alternative methods such as tables, sorted sets, and HyperLogLog.

BitmapLaravelOnline Users
0 likes · 4 min read
Using Redis Bitmap for Online User Statistics in Laravel
ITPUB
ITPUB
Jun 7, 2022 · Backend Development

How Redis Achieves High Performance with a Single‑Threaded Event Loop

This article explains how Redis uses Linux epoll and a single‑threaded event‑driven architecture to handle tens of thousands of connections efficiently, detailing the initialization of the server, the event‑loop mechanics, and the processing of client commands from accept to reply.

Network programmingSingle‑threadedepoll
0 likes · 22 min read
How Redis Achieves High Performance with a Single‑Threaded Event Loop
DaTaobao Tech
DaTaobao Tech
Jun 7, 2022 · Databases

Inside Redis AOF Rewrite: How Forked Processes Manage Data Persistence

This article provides a detailed walkthrough of Redis's AOF rewrite mechanism, covering trigger conditions, parent‑child process forking, three communication pipes, key data structures, the child’s rewrite steps, the parent’s handling of concurrent writes, and the final hand‑over that swaps the new AOF file into production.

AOF RewriteData PersistenceFork Process
0 likes · 12 min read
Inside Redis AOF Rewrite: How Forked Processes Manage Data Persistence
Java Architecture Diary
Java Architecture Diary
Jun 6, 2022 · Information Security

Integrating Spring Authorization Server in PIG v3.5: Secure OAuth2 Migration Guide

This article explains how the PIG microservice platform v3.5 adds official Spring Authorization Server support, covering background, Java compatibility, Maven dependency configuration, extended grant types, Redis token storage, token formatting and enhancement, and customized resource server introspection for a seamless OAuth2 migration.

MicroserviceSpring Authorization ServerToken
0 likes · 5 min read
Integrating Spring Authorization Server in PIG v3.5: Secure OAuth2 Migration Guide
Java High-Performance Architecture
Java High-Performance Architecture
Jun 5, 2022 · Backend Development

Redis Cache Mastery: Real-World Scenarios & Distributed Lock Solutions for Java

This article examines common Redis caching challenges in Java high‑performance architectures—such as lock loss, cache hot‑spot rebuild, cache penetration, and avalanche—through eleven real‑world scenarios, and provides practical solutions including RedLock alternatives, Zookeeper, DCL, tryLock, multi‑level caching, and Lua‑based read‑write locks.

Cachedistributed-lockjava
0 likes · 19 min read
Redis Cache Mastery: Real-World Scenarios & Distributed Lock Solutions for Java
dbaplus Community
dbaplus Community
Jun 5, 2022 · Databases

Detecting and Resolving Redis Performance Bottlenecks

This guide explains how to identify when Redis is slow, measure baseline latency, monitor slow commands and latency, troubleshoot network, fork, huge pages, swap, AOF, expiration, and big keys, and provides a practical checklist of solutions.

databaseredistroubleshooting
0 likes · 18 min read
Detecting and Resolving Redis Performance Bottlenecks
IT Architects Alliance
IT Architects Alliance
Jun 3, 2022 · Backend Development

Which Delayed Task Strategy Wins? A Deep Dive into DB Polling, DelayQueue, Time Wheel, Redis, and RabbitMQ

The article compares five delayed‑task implementations—database polling, JDK DelayQueue, Netty time wheel, Redis sorted sets, and RabbitMQ dead‑letter queues—detailing their concepts, Java code examples, advantages, and drawbacks to help developers choose the most suitable approach for order‑timeout scenarios.

DelayQueueQuartzRabbitMQ
0 likes · 16 min read
Which Delayed Task Strategy Wins? A Deep Dive into DB Polling, DelayQueue, Time Wheel, Redis, and RabbitMQ
ITPUB
ITPUB
Jun 3, 2022 · Backend Development

Unlocking Redis Speed: A Deep Dive into Its Core Data Structures

This article explains why Redis is ultra‑fast by exploring its in‑memory design and the nine fundamental data structures—SDS, linked lists, ziplist, hash tables, skiplist, intset, quicklist, and listpack—that power keys, values, and internal objects, complete with code examples and version‑specific changes.

Data StructuresMemory OptimizationSDS
0 likes · 45 min read
Unlocking Redis Speed: A Deep Dive into Its Core Data Structures
Tencent Cloud Developer
Tencent Cloud Developer
Jun 1, 2022 · Backend Development

Implementing a Distributed Delayed Message Queue in Go Using Redis

Implementing a distributed delayed message queue in Go with Redis uses a List for ready jobs and a Sorted Set for delayed jobs, periodically migrating expired entries atomically via Lua or transactions, providing O(1) enqueue/dequeue performance, retry support, and scalable concurrency for multi‑instance systems.

Delayed MessagingGoLua Script
0 likes · 12 min read
Implementing a Distributed Delayed Message Queue in Go Using Redis
macrozheng
macrozheng
May 31, 2022 · Backend Development

Can Redis Streams Replace Kafka? A Practical Comparison

This article compares Redis Streams with Kafka, highlighting Redis's simplicity, performance, and built‑in features like consumer groups, while discussing when each solution is appropriate for different project scales and requirements.

KafkaStreambackend-development
0 likes · 7 min read
Can Redis Streams Replace Kafka? A Practical Comparison
Java Architect Essentials
Java Architect Essentials
May 30, 2022 · Backend Development

Implementing IP+URL Rate Limiting with Spring Boot Interceptor and Redis Distributed Lock

This article demonstrates how to protect a Spring Boot service from malicious requests by creating a custom interceptor that tracks URL‑IP request counts, uses Redis for distributed locking, and disables offending IPs after a configurable threshold, with full code examples and configuration steps.

InterceptorSpring Bootdistributed-lock
0 likes · 8 min read
Implementing IP+URL Rate Limiting with Spring Boot Interceptor and Redis Distributed Lock
21CTO
21CTO
May 30, 2022 · Backend Development

How Twitter Scaled Timelines: Fan‑Out, Redis, and Architecture Secrets

This article analyzes Twitter's early architectural choices for handling massive user growth, detailing how fan‑out, precomputed home timelines stored in Redis, and selective write strategies enabled the platform to serve hundreds of thousands of timeline requests per second while keeping latency low.

Backend ArchitectureFan-outTwitter
0 likes · 8 min read
How Twitter Scaled Timelines: Fan‑Out, Redis, and Architecture Secrets
Top Architect
Top Architect
May 28, 2022 · Backend Development

Various Approaches to Implementing Delayed Tasks in Java Backend Systems

The article compares delayed and scheduled tasks and presents five backend solutions—database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis ZSET, and RabbitMQ delayed queues—detailing their implementations, code examples, outputs, and pros and cons.

BackendDelayQueueQuartz
0 likes · 19 min read
Various Approaches to Implementing Delayed Tasks in Java Backend Systems
IT Services Circle
IT Services Circle
May 28, 2022 · Backend Development

Understanding Redis Eviction Policies and Implementing LRU Cache in Java

This article explains Redis memory eviction strategies, including volatile and allkeys policies, details the approximate LRU algorithm Redis uses, and provides Java implementations of an LRU cache using LinkedHashMap and a custom doubly‑linked list, complete with code examples and configuration settings.

Cache EvictionLRUbackend-development
0 likes · 7 min read
Understanding Redis Eviction Policies and Implementing LRU Cache in Java
Java Backend Technology
Java Backend Technology
May 27, 2022 · Backend Development

Why Redis Streams Can Replace Kafka for Your Message Queue Needs

The article explains how Redis Streams, a lightweight in‑memory data structure, can serve as a low‑cost, high‑performance alternative to Kafka for many projects, outlining its features, benefits, and practical usage scenarios while acknowledging when a dedicated MQ is still preferable.

Kafka AlternativeMessage QueueStream
0 likes · 6 min read
Why Redis Streams Can Replace Kafka for Your Message Queue Needs
dbaplus Community
dbaplus Community
May 25, 2022 · Backend Development

How to Ensure Concurrency Quality with Distributed Locks in E‑Commerce Systems

This article explains why concurrency issues like overselling occur in e‑commerce, introduces distributed lock concepts and mainstream implementations (MySQL, Redis, Zookeeper/etcd), and provides a three‑stage quality‑assurance framework with code‑review checklists, testing methods, and data‑reconciliation techniques.

BackendCode reviewconcurrency
0 likes · 12 min read
How to Ensure Concurrency Quality with Distributed Locks in E‑Commerce Systems
Top Architect
Top Architect
May 24, 2022 · Backend Development

Comprehensive Guide to Cache Optimization and Design Strategies

This article presents a comprehensive overview of cache optimization techniques, covering benefits and costs, update policies, granularity control, penetration and avalanche mitigation, hot‑key reconstruction, and distributed batch‑operation strategies, with practical examples using Redis and MySQL.

BackendDistributed Systemscache invalidation
0 likes · 14 min read
Comprehensive Guide to Cache Optimization and Design Strategies
Refining Core Development Skills
Refining Core Development Skills
May 24, 2022 · Backend Development

An In-Depth Analysis of Redis Multi-Threaded Architecture and I/O Event Processing

This article provides a comprehensive source-level analysis of Redis 6.0 and later multi-threaded architecture, detailing how the main event loop coordinates with dedicated I/O threads to efficiently distribute, parse, and process concurrent read and write requests while maintaining high throughput and low latency.

C ProgrammingI/O Multiplexingepoll
0 likes · 21 min read
An In-Depth Analysis of Redis Multi-Threaded Architecture and I/O Event Processing
IT Architects Alliance
IT Architects Alliance
May 23, 2022 · Backend Development

Server‑Side Request Deduplication Using Redis and MD5 in Java

The article explains how to prevent duplicate requests on the server side by using unique request IDs, business‑parameter hashing with MD5, exclusion of volatile fields, and atomic Redis SETNX operations, providing a complete Java implementation and testing logs.

IdempotencyMD5java
0 likes · 11 min read
Server‑Side Request Deduplication Using Redis and MD5 in Java
ByteFE
ByteFE
May 23, 2022 · Backend Development

Design and Implementation of ByteDance Wallet Asset Platform for the 2022 Spring Festival Activity Across Eight Apps

The article details the architecture, challenges, and solutions of ByteDance's wallet asset platform that unified reward issuance, display, and usage across eight applications during the 2022 Spring Festival, covering high‑traffic order processing, token‑based asynchronous settlement, budget control, stability mechanisms, and future evolution.

BackendDistributed SystemsMicroservices
0 likes · 29 min read
Design and Implementation of ByteDance Wallet Asset Platform for the 2022 Spring Festival Activity Across Eight Apps
IT Architects Alliance
IT Architects Alliance
May 21, 2022 · Backend Development

Cache Usage Techniques and Design Strategies

This article explains how caching can accelerate read/write performance and reduce backend load, analyzes its benefits and costs, and details practical design patterns such as update policies, granularity control, penetration, bottom‑hole, avalanche, and hot‑key optimizations for reliable high‑performance systems.

ConsistencyDistributed Systemsbackend optimization
0 likes · 13 min read
Cache Usage Techniques and Design Strategies
php Courses
php Courses
May 13, 2022 · Backend Development

Designing a High-Concurrency Ticketing System with Load Balancing, Redis, and Go

This article explores the architecture and implementation of a high‑concurrency train ticket flash‑sale system, detailing load‑balancing strategies, Nginx weighted round‑robin, Redis‑based inventory management, and Go code examples that demonstrate local and remote stock deduction, performance testing, and fault‑tolerant design.

BackendGohigh-concurrency
0 likes · 20 min read
Designing a High-Concurrency Ticketing System with Load Balancing, Redis, and Go
Top Architect
Top Architect
May 13, 2022 · Backend Development

Design and Implementation of Delayed Message Queues in Distributed Systems

This article surveys common delayed message implementations—including external storage, RocksDB, Redis, and open‑source MQs like RocketMQ, Pulsar, and QMQ—analyzing their architectures, advantages, drawbacks, and practical considerations for building reliable distributed asynchronous messaging systems.

Distributed SystemsPulsarQMQ
0 likes · 13 min read
Design and Implementation of Delayed Message Queues in Distributed Systems
HelloTech
HelloTech
May 13, 2022 · Backend Development

Redis Dual-Active Architecture: Hot-Standby, Dual-Write, and Bidirectional Synchronization Comparison

This article compares Redis dual‑active designs—hot‑standby, various dual‑write models, and bidirectional synchronization—showing hot‑standby’s high cost, dual‑write’s latency or consistency trade‑offs, and arguing that a middleware‑driven bidirectional sync, using replication protocols and fixed‑prefix keys to avoid loops, offers the most practical solution.

ClusterDual-Active ArchitectureReplication
0 likes · 14 min read
Redis Dual-Active Architecture: Hot-Standby, Dual-Write, and Bidirectional Synchronization Comparison
Programmer DD
Programmer DD
May 12, 2022 · Backend Development

Build a Simple Hot Search Feature with Java, Redis, and Sensitive Word Filtering

This guide demonstrates how to implement a simple hot‑search feature and personal search‑history management using Java and Redis, covering ZSet‑based ranking, timestamp handling, and a DFA‑based sensitive‑word filter with Spring‑Boot configuration and reusable service methods.

Hot SearchSensitive Word FilterSpring Boot
0 likes · 16 min read
Build a Simple Hot Search Feature with Java, Redis, and Sensitive Word Filtering
Code Ape Tech Column
Code Ape Tech Column
May 11, 2022 · Backend Development

Implementing Two-Level Cache with Caffeine and Redis in Spring Boot

This article explains the design and implementation of a two‑level caching architecture using local Caffeine cache as L1 and remote Redis as L2 in Spring Boot, covering manual cache handling, annotation‑based management with Spring Cache, and a custom annotation with AOP to minimize code intrusion.

Cache AnnotationCaffeineSpring Boot
0 likes · 17 min read
Implementing Two-Level Cache with Caffeine and Redis in Spring Boot
Refining Core Development Skills
Refining Core Development Skills
May 10, 2022 · Backend Development

Understanding Redis Core Network Module and Its High‑Performance Event Loop

This article explains how Redis achieves high‑performance single‑threaded networking by leveraging Linux epoll for I/O multiplexing, detailing the server initialization, event‑loop architecture, connection handling, command processing, and write‑back mechanisms with code examples, providing a deep dive for backend developers.

redis
0 likes · 21 min read
Understanding Redis Core Network Module and Its High‑Performance Event Loop
Programmer DD
Programmer DD
May 3, 2022 · Databases

Explore RedisInsight: A Lightweight, Feature-Rich Redis Visualization Tool

RedisInsight is a lightweight, cross‑platform visual tool for Redis that offers data browsing, filtering, real‑time command analysis, support for multiple modules like RedisJSON and RediSearch, and includes a Workbench CLI, with installation steps using Node.js and Yarn.

CLIDatabase VisualizationNode.js
0 likes · 3 min read
Explore RedisInsight: A Lightweight, Feature-Rich Redis Visualization Tool
Top Architect
Top Architect
Apr 29, 2022 · Backend Development

Server‑Side Request Deduplication Using Redis and Java

The article explains how to prevent duplicate user requests on the server by using unique request IDs, hashing request parameters, excluding volatile fields, and implementing an atomic Redis SETNX‑with‑expiration pattern with Java code examples and a reusable deduplication helper class.

BackendIdempotencyjava
0 likes · 10 min read
Server‑Side Request Deduplication Using Redis and Java
IT Services Circle
IT Services Circle
Apr 28, 2022 · Fundamentals

Using Bloom Filters with Redis and Redisson: Theory, Installation, and Practical Code Samples

This article explains the concept of Bloom filters, their probabilistic behavior and limitations, demonstrates how to integrate them into Redis via the RedisBloom module, and provides complete Java/Redisson examples for creating, populating, and querying Bloom filters to prevent cache penetration and duplicate processing.

Data Structuresbloom-filtercache-penetration
0 likes · 12 min read
Using Bloom Filters with Redis and Redisson: Theory, Installation, and Practical Code Samples
Su San Talks Tech
Su San Talks Tech
Apr 28, 2022 · Databases

Why MySQL Chooses B+ Trees Over Skip Lists for Indexing

This article explains the structures of B+ trees and skip lists, compares their insertion and search behaviors, and shows why MySQL prefers B+ trees for disk‑based indexing while Redis adopts skip lists for in‑memory operations.

B+Treedatabaseindexing
0 likes · 12 min read
Why MySQL Chooses B+ Trees Over Skip Lists for Indexing
Sohu Tech Products
Sohu Tech Products
Apr 27, 2022 · Databases

Designing Cache for Relational List Data with Redis

This article explains how to design Redis cache for relational list data such as user timelines or news feeds, covering fixed-length caching, consistency, resource utilization, using ZSET structures, handling additions, deletions, queries, and strategies like preloading, retry mechanisms, and asynchronous rebuilding.

BackendCache DesignRelational Data
0 likes · 8 min read
Designing Cache for Relational List Data with Redis
vivo Internet Technology
vivo Internet Technology
Apr 27, 2022 · Databases

Redis Memory Management and Optimization Practices

The article explains Redis’s in‑memory architecture, detailing memory components, object encodings, buffer limits, fragmentation, and forked‑process overhead, and offers practical optimization tips—such as using compact encodings, controlling client buffers, disabling THP, and enabling active defragmentation—illustrated by real‑world case studies.

Memory Managementoptimizationperformance
0 likes · 24 min read
Redis Memory Management and Optimization Practices
Zhuanzhuan Tech
Zhuanzhuan Tech
Apr 27, 2022 · Backend Development

Optimizing Product Service Performance through Data Reduction and Field Selection

This article examines performance bottlenecks in a high‑traffic e‑commerce product service and proposes data‑centric optimizations—including read‑only focus, field‑level selection via bit‑masking, and Redis hash storage—to reduce payload size, lower GC pressure, and improve latency while maintaining scalability.

Backenddata optimizationfield selection
0 likes · 14 min read
Optimizing Product Service Performance through Data Reduction and Field Selection
Top Architect
Top Architect
Apr 26, 2022 · Backend Development

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

The article describes how a large‑scale membership system achieves high performance and fault tolerance by deploying a dual‑center Elasticsearch cluster, isolating traffic with multiple ES clusters, adding a Redis cache with distributed locks, migrating the primary relational store from SQL Server to a partitioned MySQL cluster, and implementing fine‑grained flow‑control and degradation strategies.

Elasticsearchmysqlredis
0 likes · 20 min read
High‑Availability Architecture for a Membership System: Elasticsearch Dual‑Center Cluster, Redis Caching, and MySQL Migration
IT Services Circle
IT Services Circle
Apr 26, 2022 · Databases

How to Install, Integrate, and Use Redis with Spring Boot

This article introduces Redis, explains how to install it on various platforms, demonstrates integrating Redis with Spring Boot using Spring Cache annotations, configures connection pools for Lettuce and Jedis, and provides custom Redis service implementations for flexible cache operations.

Spring BootSpring Cachecaching
0 likes · 14 min read
How to Install, Integrate, and Use Redis with Spring Boot
IT Services Circle
IT Services Circle
Apr 25, 2022 · Databases

Understanding Redis Memory Eviction Strategies

This article explains how Redis handles memory pressure using configurable maxmemory limits and a variety of eviction policies—including noeviction, volatile‑lru, volatile‑lfu, allkeys‑lru, and allkeys‑random—while offering guidance on selecting appropriate policies and sizing cache capacity for optimal performance.

Eviction PoliciesLFULRU
0 likes · 7 min read
Understanding Redis Memory Eviction Strategies
IT Architects Alliance
IT Architects Alliance
Apr 24, 2022 · Backend Development

Distributed Locks and Idempotency: Principles, Implementations, and the Cerberus Solution

This article explains the challenges of mutual exclusion and idempotency in distributed systems, reviews Java concurrency primitives, compares common distributed lock implementations such as Zookeeper, Redis, and Tair, and introduces Cerberus and GTIS as robust solutions for high‑availability and repeatable operations.

CerberusDistributed SystemsGTIS
0 likes · 31 min read
Distributed Locks and Idempotency: Principles, Implementations, and the Cerberus Solution
Java Architect Essentials
Java Architect Essentials
Apr 23, 2022 · Backend Development

Server‑Side Request Deduplication Strategies in Java

The article explains how to prevent duplicate user requests on the server side by using unique request IDs with Redis, constructing business‑parameter keys, computing MD5 digests of sorted JSON payloads, and provides a complete Java utility class with code examples and testing logs.

MD5SpringBootredis
0 likes · 10 min read
Server‑Side Request Deduplication Strategies in Java
Top Architect
Top Architect
Apr 22, 2022 · Backend Development

Understanding Mutual Exclusion and Idempotency in Distributed Systems: Distributed Locks, ReentrantLock, Zookeeper, Redis, and GTIS

This article explains the mutual‑exclusion and idempotency challenges in distributed environments, analyzes multi‑thread and multi‑process solutions, introduces the principles and implementations of distributed locks (including ReentrantLock, synchronized, Zookeeper, Redis, Tair, and the Cerberus framework), and presents GTIS as a reliable idempotency guard.

IdempotencyZooKeeperconcurrency
0 likes · 32 min read
Understanding Mutual Exclusion and Idempotency in Distributed Systems: Distributed Locks, ReentrantLock, Zookeeper, Redis, and GTIS
Top Architect
Top Architect
Apr 22, 2022 · Databases

Redis Single‑Threaded Architecture, Lazy Free Mechanism, and Multi‑Threaded I/O

This article explains Redis's original single‑threaded event‑driven design, the problems it causes, how the Lazy Free mechanism and asynchronous deletion were introduced in Redis 4.0, and how Redis 6.0 adds multi‑threaded I/O while discussing its limitations and comparing it with Tair's approach.

Database ArchitectureLazy FreeMulti-threaded I/O
0 likes · 16 min read
Redis Single‑Threaded Architecture, Lazy Free Mechanism, and Multi‑Threaded I/O
dbaplus Community
dbaplus Community
Apr 21, 2022 · Backend Development

Preventing Cache Penetration and Syncing Redis with MySQL at Massive Scale

This article explains why cache penetration can cripple ultra‑large systems, how storing full data in Redis eliminates the risk, and presents two reliable cache‑update strategies—message‑queue‑driven updates and real‑time MySQL Binlog subscription via Canal—complete with configuration steps and Java code examples.

CanalMessage QueueMySQL Binlog
0 likes · 14 min read
Preventing Cache Penetration and Syncing Redis with MySQL at Massive Scale
Laravel Tech Community
Laravel Tech Community
Apr 20, 2022 · Databases

Redis Overview: Features, Data Types, Caching Issues, Performance, Persistence, Replication, and Sentinel

This article provides a comprehensive overview of Redis, covering its core characteristics, supported data types, common caching challenges such as consistency, avalanche, penetration and breakdown, as well as its high performance mechanisms, eviction policies, persistence options, master‑slave replication, and Sentinel high‑availability architecture.

In-Memory DatabasePersistenceReplication
0 likes · 11 min read
Redis Overview: Features, Data Types, Caching Issues, Performance, Persistence, Replication, and Sentinel
Architect
Architect
Apr 19, 2022 · Databases

Redis Overview: Features, Data Types, Caching Strategies, Common Pitfalls, Performance, Persistence, Replication, and Sentinel

This article provides a comprehensive introduction to Redis, covering its core characteristics, supported data types, caching usage patterns, typical issues such as consistency, avalanche, penetration and breakdown, performance reasons, eviction policies, persistence options, master‑slave replication, and Sentinel high‑availability mechanisms.

NoSQLPersistenceReplication
0 likes · 11 min read
Redis Overview: Features, Data Types, Caching Strategies, Common Pitfalls, Performance, Persistence, Replication, and Sentinel
IT Services Circle
IT Services Circle
Apr 19, 2022 · Databases

Why MySQL Uses B+ Trees for Indexes Instead of Skip Lists

This article explains the structures of B+ trees and skip lists, compares their read and write performance, and details why MySQL chooses B+ trees for indexing while Redis and RocksDB prefer skip lists, highlighting trade‑offs in disk I/O, fan‑out, and balancing overhead.

B+Treedatabaseindexing
0 likes · 13 min read
Why MySQL Uses B+ Trees for Indexes Instead of Skip Lists
Top Architect
Top Architect
Apr 19, 2022 · Backend Development

Implementing a Simple Hot Search Feature with User Search History and Sensitive Word Filtering Using Java and Redis

This article demonstrates how to build a simple hot‑search functionality with user search history, hot‑keyword ranking, and profanity filtering in a Spring Boot application using Java, Redis ZSet operations, and a DFA‑based sensitive‑word filter, providing complete controller and service code examples.

Hot SearchSensitive Word FilterSpring Boot
0 likes · 17 min read
Implementing a Simple Hot Search Feature with User Search History and Sensitive Word Filtering Using Java and Redis
IT Architects Alliance
IT Architects Alliance
Apr 17, 2022 · Databases

Redis Overview: Features, Data Types, Caching Strategies, Performance, Persistence, Replication, and Sentinel

This article provides a comprehensive introduction to Redis, covering its core characteristics, supported data structures, common caching use‑cases and associated challenges such as consistency, cache avalanche, penetration and breakdown, as well as performance reasons, eviction policies, persistence options, master‑slave replication, and Sentinel high‑availability mechanisms.

In-Memory DatabasePersistenceReplication
0 likes · 11 min read
Redis Overview: Features, Data Types, Caching Strategies, Performance, Persistence, Replication, and Sentinel
Architect
Architect
Apr 17, 2022 · Backend Development

Research on Delayed Queue Technologies and Implementation Approaches

This article surveys various delayed‑queue solutions—including Kafka pause/resume, RocketMQ delay levels, Redis/Redisson zset timers, Youzan's custom design, Netty's HashedWheelTimer, and a Kafka‑based time‑wheel—analyzing their architectures, pros and cons, and offering practical implementation guidance.

MessagingRocketMQdelayed queue
0 likes · 12 min read
Research on Delayed Queue Technologies and Implementation Approaches
Top Architect
Top Architect
Apr 17, 2022 · Databases

Redis Overview: Features, Data Types, Caching Strategies, Performance, Persistence, Replication, and Sentinel

This article provides a comprehensive introduction to Redis, covering its core features, supported data structures, common caching patterns, typical cache‑related problems and mitigation techniques, performance characteristics, eviction policies, persistence options, replication mechanisms, and Sentinel high‑availability architecture.

In-Memory DatabasePersistenceReplication
0 likes · 11 min read
Redis Overview: Features, Data Types, Caching Strategies, Performance, Persistence, Replication, and Sentinel
Programmer DD
Programmer DD
Apr 16, 2022 · Backend Development

Mastering Single-Node and Distributed Scheduled Tasks in Java

This article compares native JDK ScheduledExecutorService, Spring Task, Redis‑based approaches, and popular distributed scheduling frameworks such as Quartz, Elastic‑Job, LTS, and XXL‑Job, providing code examples, usage scenarios, advantages, and best‑practice recommendations for implementing reliable timed jobs in microservice environments.

Distributed SchedulingScheduled Tasksbackend-development
0 likes · 10 min read
Mastering Single-Node and Distributed Scheduled Tasks in Java
vivo Internet Technology
vivo Internet Technology
Apr 13, 2022 · Databases

Redis Integer Set Optimization for Game Recommendation Deduplication: RoaringBitMap vs intset vs Bloom Filter

For deduplicating game recommendations in Redis, RoaringBitMap outperforms intset and Bloom filters by storing 300 auto‑incrementing game IDs in roughly 0.5 KB—over twice the compression of intset and far smaller than the 29 KB Bloom filter—thereby cutting memory use, latency, and hardware costs.

Data Structure OptimizationMemory OptimizationRoaringBitmap
0 likes · 9 min read
Redis Integer Set Optimization for Game Recommendation Deduplication: RoaringBitMap vs intset vs Bloom Filter
Java High-Performance Architecture
Java High-Performance Architecture
Apr 10, 2022 · Backend Development

Mastering Redis Distributed Locks with Jedis: Build a 100k-User Flash Sale Simulation

This article demonstrates how to implement Redis distributed locks using Jedis in Java, covering lock creation with SETNX, lock release via Lua scripts, and a high‑concurrency flash‑sale simulation with 100,000 virtual users, illustrating key concepts such as lock expiration, atomic operations, and performance testing.

JedisSpringBootconcurrency
0 likes · 10 min read
Mastering Redis Distributed Locks with Jedis: Build a 100k-User Flash Sale Simulation
Programmer DD
Programmer DD
Apr 9, 2022 · Backend Development

Graceful Server‑Side Request Deduplication with Redis and Java

This article explains how to prevent harmful duplicate write requests by using unique request IDs or parameter‑based signatures, leveraging Redis for atomic SETNX with expiration, computing MD5 hashes of sorted JSON payloads, and providing a reusable Java helper class for robust backend deduplication.

IdempotencyMD5java
0 likes · 11 min read
Graceful Server‑Side Request Deduplication with Redis and Java
Architects' Tech Alliance
Architects' Tech Alliance
Apr 8, 2022 · Fundamentals

Intel® Optane™ Persistent Memory: Comprehensive Performance Evaluation and Configuration Guide

This article presents a detailed evaluation of Intel® Optane™ Persistent Memory, including benchmark comparisons with DRAM and NVMe using Redis and RocksDB workloads, analysis of latency and throughput, and step‑by‑step configuration instructions for Memory Mode, App Direct, and KMEM DAX.

Intel OptaneMemory configurationPerformance Testing
0 likes · 7 min read
Intel® Optane™ Persistent Memory: Comprehensive Performance Evaluation and Configuration Guide
Ziru Technology
Ziru Technology
Apr 8, 2022 · Databases

How to Diagnose and Prevent Split-Brain Data Loss in Redis Master-Slave Clusters

This article explains why data loss can occur in Redis master‑slave clusters due to split‑brain scenarios, outlines step‑by‑step troubleshooting methods—including checking replication lag, analyzing client logs, and monitoring resource usage—and recommends configuration settings such as min‑slaves‑to‑write and min‑slaves‑max‑lag to prevent the issue.

ConfigurationData lossMaster‑Slave
0 likes · 8 min read
How to Diagnose and Prevent Split-Brain Data Loss in Redis Master-Slave Clusters
Laravel Tech Community
Laravel Tech Community
Apr 7, 2022 · Databases

Redis 7.0-rc3 Release Notes: New Features, Breaking Changes, Performance Improvements, CLI Updates, and Bug Fixes

Redis 7.0-rc3 introduces new cluster commands, configuration ordering changes, ACL restrictions, function load adjustments, performance optimizations, enhanced CLI behavior, expanded INFO fields, module API extensions, and a comprehensive set of bug fixes, providing developers with important updates and potential migration considerations.

BugFixesCLIReleaseNotes
0 likes · 4 min read
Redis 7.0-rc3 Release Notes: New Features, Breaking Changes, Performance Improvements, CLI Updates, and Bug Fixes
vivo Internet Technology
vivo Internet Technology
Apr 6, 2022 · Backend Development

Comprehensive Guide to Caching: Concepts, Types, Strategies, and Best Practices

This guide explains caching fundamentals, purposes, and optimal use cases, details hit rates and eviction policies such as FIFO, LRU, LFU, TTL/TTI, compares client‑side (HTTP, browser) and server‑side caches (CDN, Redis, Memcached), explores multi‑level architectures, common pitfalls like avalanche, penetration and breakdown, and best‑practice strategies including pre‑warming, update patterns, and consistency management.

CDNMemcachedMulti-level Cache
0 likes · 28 min read
Comprehensive Guide to Caching: Concepts, Types, Strategies, and Best Practices
NetEase Yanxuan Technology Product Team
NetEase Yanxuan Technology Product Team
Apr 6, 2022 · Backend Development

Server-Side Caching: Local, Distributed, and Multi-Level Cache Architecture Practices

Server‑side caching improves performance by trading space for time, using local caches like HashMap, Guava, Ehcache, and Caffeine, distributed caches such as Redis, and multi‑level architectures that combine in‑process, distributed, and database layers, while employing consistency patterns, monitoring, and hot‑key detection.

Cache ConsistencyCaffeineHot Key Detection
0 likes · 16 min read
Server-Side Caching: Local, Distributed, and Multi-Level Cache Architecture Practices
21CTO
21CTO
Apr 4, 2022 · Backend Development

Choosing the Right Message Broker: RabbitMQ vs Kafka vs Redis for Microservices

This article compares three popular open‑source message brokers—RabbitMQ, Kafka, and Redis—examining their scalability, persistence, consumer models, and ideal use cases to help developers select the most suitable asynchronous communication solution for their microservice architecture.

BackendKafkaMicroservices
0 likes · 8 min read
Choosing the Right Message Broker: RabbitMQ vs Kafka vs Redis for Microservices
Top Architect
Top Architect
Apr 4, 2022 · Backend Development

Designing a Distributed Global Unique ID Generation System: From UUID to Snowflake

This article explains the challenges of generating globally unique identifiers in distributed systems and presents various solutions—including UUID, database auto‑increment, Redis atomic counters, and the Snowflake algorithm—detailing their requirements, implementations in Java and SpringBoot, and their pros and cons.

Backenddistributed-idjava
0 likes · 15 min read
Designing a Distributed Global Unique ID Generation System: From UUID to Snowflake
21CTO
21CTO
Apr 3, 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 over a billion users, covering Elasticsearch dual‑center clusters, traffic isolation, Redis caching, MySQL migration, and fine‑grained flow‑control and degradation strategies.

ElasticsearchScalabilitySystem Architecture
0 likes · 21 min read
How We Achieved 20k+ TPS High Availability for a Billion‑User Membership System