Tagged articles
3240 articles
Page 12 of 33
Java Interview Crash Guide
Java Interview Crash Guide
Jul 26, 2023 · Backend Development

Ensuring API Idempotency: 4 Proven Strategies with SpringBoot & Redis

This article explains why API idempotency is crucial in real‑world systems, outlines which operations need it, discusses the trade‑offs of adding idempotency, and presents four practical implementation patterns—including unique primary keys, optimistic locking, anti‑duplicate tokens, and downstream sequence numbers—complete with SpringBoot code examples.

APIIdempotencySpringBoot
0 likes · 23 min read
Ensuring API Idempotency: 4 Proven Strategies with SpringBoot & Redis
Tech Architecture Stories
Tech Architecture Stories
Jul 24, 2023 · Backend Development

Mastering Distributed Locks: When to Use Redis, Zookeeper, and Redlock

This guide explains why distributed locks are needed, how to correctly acquire and release them, compares Redis and Zookeeper implementations—including single‑master, Redlock, and Zookeeper approaches—and offers practical recommendations for ensuring atomicity, preventing deadlocks, and protecting shared resources in production environments.

ZooKeeperatomicityconcurrency
0 likes · 12 min read
Mastering Distributed Locks: When to Use Redis, Zookeeper, and Redlock
Top Architect
Top Architect
Jul 20, 2023 · Backend Development

Designing Microservice Permission Architecture with Shiro and Redis

This article explains how to design and implement a microservice permission system using Apache Shiro, Spring Boot, Dubbo, and Redis, covering challenges of integrating Shiro with gateways, shared session management, custom Cache and SessionDAO implementations, and provides complete code examples and configuration details.

AuthorizationShiroSpring Boot
0 likes · 26 min read
Designing Microservice Permission Architecture with Shiro and Redis
Architect
Architect
Jul 20, 2023 · Backend Development

10 Hidden Pitfalls of Redis Distributed Locks and How to Avoid Them

This article dissects ten common traps when implementing Redis distributed locks—such as non‑atomic setnx/expire, missing expirations, lock release ordering, non‑re‑entrancy, master‑slave replication issues, and the Redlock algorithm—while providing concrete code examples and practical remedies.

Redlockbackend-developmentdistributed-lock
0 likes · 14 min read
10 Hidden Pitfalls of Redis Distributed Locks and How to Avoid Them
vivo Internet Technology
vivo Internet Technology
Jul 19, 2023 · Databases

Analysis of Service Avalanche Caused by Misconfigured Jedis Parameters During Redis Cluster Master‑Slave Switch

A service‑wide avalanche occurred when a Redis 3.x master‑slave failover coincided with Jedis’ default 2‑second connection timeout and six retry attempts, causing up to 60‑second latencies; adjusting connectionTimeout, soTimeout to 100 ms and reducing maxAttempts to two limited latency to about one second and prevented cascade failures.

ClusterConnection RetryJedis
0 likes · 13 min read
Analysis of Service Avalanche Caused by Misconfigured Jedis Parameters During Redis Cluster Master‑Slave Switch
Java High-Performance Architecture
Java High-Performance Architecture
Jul 19, 2023 · Databases

Why Is Redis Slowing Down? 11 Common Causes and How to Fix Them

This article explains the typical reasons why a Redis instance becomes slow—such as high latency, expensive commands, big keys, concentrated expirations, memory limits, fork overhead, huge pages, AOF settings, CPU binding, swap usage, and memory fragmentation—and provides concrete diagnostics and optimization steps to resolve each issue.

optimizationredistroubleshooting
0 likes · 34 min read
Why Is Redis Slowing Down? 11 Common Causes and How to Fix Them
Top Architect
Top Architect
Jul 17, 2023 · Databases

Using Redis as a Database: Python Code Samples and Comparison with MySQL

This article provides Python code examples for using Redis as a database—including connection, basic CRUD, list and sorted set operations, key expiration, publishing/subscribing, distributed locking, and caching—followed by a detailed comparison of Redis and MySQL across data model, persistence, query capabilities, performance, scalability, and transaction support.

MySQL ComparisonPubSubPython
0 likes · 11 min read
Using Redis as a Database: Python Code Samples and Comparison with MySQL
ITPUB
ITPUB
Jul 16, 2023 · Big Data

How WeChat Reduced Query Latency from 1000ms to 100ms in Its Multi‑Dimensional Monitoring Platform

This article explains how the WeChat multi‑dimensional monitoring platform, which processes billions of data points daily, identified performance bottlenecks in its Druid‑based data layer and applied sub‑query splitting, Redis caching, and sub‑dimension tables to achieve over 85% cache hit rate and bring average query time down to around 100 ms.

Big DataDruidQuery Splitting
0 likes · 13 min read
How WeChat Reduced Query Latency from 1000ms to 100ms in Its Multi‑Dimensional Monitoring Platform
Selected Java Interview Questions
Selected Java Interview Questions
Jul 15, 2023 · Operations

High‑Availability Architecture for a Large‑Scale Membership System

The article describes how a membership system serving billions of users across multiple platforms achieves high performance and high availability through dual‑center Elasticsearch clusters, traffic‑isolated three‑cluster ES architecture, Redis caching with distributed locks, dual‑center MySQL partitioning, and fine‑grained flow‑control and degradation strategies.

Backend ArchitectureDistributed SystemsElasticsearch
0 likes · 25 min read
High‑Availability Architecture for a Large‑Scale Membership System
Architect
Architect
Jul 14, 2023 · Databases

From Single‑Node to Scalable Redis Cluster: A Step‑by‑Step Architecture Guide

This article walks through Redis's evolution from a simple single‑instance cache to a highly available, high‑performance cluster, explaining persistence mechanisms (RDB, AOF, hybrid), master‑slave replication, Sentinel automatic failover, and sharding strategies with concrete examples and trade‑offs.

Database ArchitecturePersistenceReplication
0 likes · 20 min read
From Single‑Node to Scalable Redis Cluster: A Step‑by‑Step Architecture Guide
Ximalaya Technology Team
Ximalaya Technology Team
Jul 13, 2023 · Databases

Evolution of Ximalaya KV Storage and XCache Architecture

Ximalaya’s KV storage progressed from a simple Redis master‑slave setup to client‑side sharding, then adopted Codis clustering for elastic scaling, integrated Pika’s disk‑based store with cold‑hot separation, introduced KV‑blob separation, fast‑slow command pools, second‑level expansion, ehash fields, large‑key circuit breaking, multi‑active data‑center replication, and now targets cloud‑native deployment, advanced features, and AI‑driven operations.

CodisKV storagePika
0 likes · 19 min read
Evolution of Ximalaya KV Storage and XCache Architecture
Su San Talks Tech
Su San Talks Tech
Jul 13, 2023 · Backend Development

Distributed Rate Limiting in Java: Fixed, Sliding, Leaky & Token Bucket

This article explains why rate limiting is essential for distributed systems, compares it with circuit breaking and smoothing, outlines a generic limiting workflow, and provides complete Java implementations of four algorithms—fixed window, sliding window, leaky bucket, and token bucket—using Redis and Redisson.

javarate limitingredis
0 likes · 18 min read
Distributed Rate Limiting in Java: Fixed, Sliding, Leaky & Token Bucket
Selected Java Interview Questions
Selected Java Interview Questions
Jul 11, 2023 · Backend Development

Design and Implementation of a High‑Performance Distributed Cache with Redis and Caffeine for Spring Boot Services

This article outlines the design goals, architecture, and implementation details of a high‑performance distributed caching solution for Spring Boot applications, combining Redis as a first‑level cache with Caffeine as a second‑level cache, and provides configuration, usage examples, and future enhancement plans.

CaffeineSpring Bootaop
0 likes · 11 min read
Design and Implementation of a High‑Performance Distributed Cache with Redis and Caffeine for Spring Boot Services
Architects Research Society
Architects Research Society
Jul 8, 2023 · Backend Development

System Design of Hotel Booking Applications (Airbnb, Booking.com, OYO)

This article explains how large hotel‑booking platforms such as Airbnb, Booking.com and OYO use a micro‑service architecture—including hotel management, customer search/booking, and view‑booking services—combined with load balancers, Kafka, Elasticsearch, Redis, Cassandra and Hadoop to achieve a seamless, high‑throughput booking flow.

Backend ArchitectureElasticsearchKafka
0 likes · 7 min read
System Design of Hotel Booking Applications (Airbnb, Booking.com, OYO)
Programmer DD
Programmer DD
Jul 6, 2023 · Databases

Mastering Redis: Core Concepts, Cache Pitfalls & Interview Insights

This article explains Redis as an in‑memory key‑value NoSQL database, outlines its data types and high‑availability features, and details common cache problems such as avalanche, penetration and breakdown along with practical mitigation strategies, followed by interview commentary on how to discuss Redis effectively.

Cache StrategiesIn-Memory DatabaseInterview Tips
0 likes · 8 min read
Mastering Redis: Core Concepts, Cache Pitfalls & Interview Insights
Java High-Performance Architecture
Java High-Performance Architecture
Jul 6, 2023 · Backend Development

Mastering Rate Limiting in Java Microservices: From Guava to Sentinel and Redis

Explore comprehensive strategies for implementing rate limiting in Java microservice architectures, covering Dubbo and Spring Cloud governance, token bucket, semaphore, Sentinel, Redis+Lua, and custom Spring Boot starter solutions, complete with code samples, configuration steps, and performance testing guidance.

GuavaMicroservicesSpring Cloud
0 likes · 31 min read
Mastering Rate Limiting in Java Microservices: From Guava to Sentinel and Redis
vivo Internet Technology
vivo Internet Technology
Jul 5, 2023 · Databases

Implementation of Redis LRU and LFU Cache Eviction Algorithms

Redis implements approximate LRU and LFU eviction policies by sampling keys and using a compact 24‑bit field to store timestamps and counters, where LRU evicts the least recently accessed items and LFU evicts those with low, decay‑adjusted access frequency, each with trade‑offs for different workloads.

Cache EvictionLFULRU
0 likes · 13 min read
Implementation of Redis LRU and LFU Cache Eviction Algorithms
Top Architect
Top Architect
Jul 5, 2023 · Databases

Implementing Pagination and Multi‑Condition Fuzzy Query in Redis

This article explains how to achieve efficient pagination and multi‑condition fuzzy searches in Redis by leveraging Sorted Sets for ordered paging, Hashes with HSCAN for pattern matching, and combining both techniques with caching and expiration strategies to optimize performance.

CacheFuzzy QueryHash
0 likes · 9 min read
Implementing Pagination and Multi‑Condition Fuzzy Query in Redis
php Courses
php Courses
Jul 4, 2023 · Databases

Using Redis with Python for Data Storage and Retrieval

This article explains how to install and configure Redis, connect to it using Python's redis library, and demonstrates storing and retrieving various data structures—including strings, hashes, lists, sets, and sorted sets—followed by proper disconnection, providing a practical guide for Python developers.

Data StructuresPythoncaching
0 likes · 3 min read
Using Redis with Python for Data Storage and Retrieval
macrozheng
macrozheng
Jul 4, 2023 · Backend Development

Ensuring Cache‑DB Consistency with Canal, RabbitMQ, and Redis in SpringBoot

This guide walks through building a SpringBoot architecture that updates MySQL first, deletes Redis cache asynchronously via Canal and RabbitMQ, resolves common Canal meta‑data mismatches, and configures manual RabbitMQ acknowledgments to guarantee reliable cache invalidation.

Cache ConsistencyCanalMessage Queue
0 likes · 12 min read
Ensuring Cache‑DB Consistency with Canal, RabbitMQ, and Redis in SpringBoot
Open Source Linux
Open Source Linux
Jul 4, 2023 · Operations

Master Redis Monitoring, Migration, and Cluster Management with Prometheus and CacheCloud

This guide walks through essential Redis operations, covering real‑time monitoring with the INFO command and Prometheus‑compatible exporters, data migration using Redis‑shake, consistency verification via Redis‑full‑check, and comprehensive cluster management with CacheCloud, providing practical tools for reliable Redis administration.

Data MigrationOperationsPrometheus
0 likes · 11 min read
Master Redis Monitoring, Migration, and Cluster Management with Prometheus and CacheCloud
Top Architect
Top Architect
Jul 3, 2023 · Backend Development

Comprehensive Guide to Implementing Rate Limiting in Microservices Using Guava, Sentinel, Redis, and a Custom Spring Boot Starter

This article provides an in‑depth tutorial on designing and implementing various rate‑limiting strategies—such as token bucket, leaky bucket, and sliding window—in Java microservice architectures, with practical code examples using Guava, Sentinel, Redis+Lua, and a reusable Spring Boot starter.

GuavaLuaStarter
0 likes · 31 min read
Comprehensive Guide to Implementing Rate Limiting in Microservices Using Guava, Sentinel, Redis, and a Custom Spring Boot Starter
Architecture Digest
Architecture Digest
Jun 30, 2023 · Backend Development

Comprehensive Guide to Implementing Rate Limiting in Java Microservices Using Guava, Sentinel, Redis, and a Custom Spring Boot Starter

This article explains why rate limiting is critical for microservice architectures, reviews common limiting algorithms, and provides step‑by‑step implementations using Dubbo, Spring Cloud, Guava token‑bucket, Sentinel, Redis+Lua, and a reusable Spring Boot starter with custom annotations and AOP.

GuavaSpring Bootaop
0 likes · 27 min read
Comprehensive Guide to Implementing Rate Limiting in Java Microservices Using Guava, Sentinel, Redis, and a Custom Spring Boot Starter
Selected Java Interview Questions
Selected Java Interview Questions
Jun 30, 2023 · Backend Development

Implementing Rate Limiting in Java with Guava, Custom Annotations, and Redis Lua Scripts

This article explains how to protect high‑concurrency Java applications using rate‑limiting techniques, covering basic algorithms such as counter, leaky‑bucket and token‑bucket, demonstrating a single‑node implementation with Guava’s RateLimiter and custom annotations, and showing a distributed solution based on Redis and Lua scripts.

GuavaToken Bucketjava
0 likes · 15 min read
Implementing Rate Limiting in Java with Guava, Custom Annotations, and Redis Lua Scripts
php Courses
php Courses
Jun 30, 2023 · Backend Development

Implementing API Rate Limiting in PHP with Redis

This article explains how to implement API rate limiting in PHP by connecting to Redis, defining a RateLimiter class with limitRequests method, and demonstrates usage to restrict requests per time window, while detailing the underlying logic and code examples.

API Rate LimitingPHPrate limiting
0 likes · 5 min read
Implementing API Rate Limiting in PHP with Redis
ITPUB
ITPUB
Jun 29, 2023 · Backend Development

How to Keep Redis and MySQL Data Consistent: Proven Strategies and Pitfalls

This article examines the common consistency challenges between Redis cache and MySQL, explains why strict consistency is hard to achieve, and presents four practical approaches—cache‑first delete, delayed double delete, DB‑first update with lock, and MQ‑based retry—to minimize inconsistency windows and ensure reliable data synchronization.

Cache Consistencydata synchronizationmysql
0 likes · 9 min read
How to Keep Redis and MySQL Data Consistent: Proven Strategies and Pitfalls
IT Services Circle
IT Services Circle
Jun 29, 2023 · Backend Development

Tencent Testing Engineer Interview Experience and Technical Q&A

This article shares a detailed account of a Tencent testing engineer interview, covering self‑introduction, Go knowledge, Redis performance, distributed lock implementation, semaphore mechanics, RPC vs HTTP, concurrency usage, Git security practices, Linux commands, and a few brain‑teaser and algorithm questions.

BackendGoRPC
0 likes · 13 min read
Tencent Testing Engineer Interview Experience and Technical Q&A
Su San Talks Tech
Su San Talks Tech
Jun 29, 2023 · Backend Development

Master Redis Set Operations for Scalable Statistics and Analytics

This article explains how to use Redis sets, sorted sets, lists, bitmaps, and HyperLogLog to perform aggregation, ordered queries, binary state tracking, and cardinality estimation for large‑scale applications such as sign‑in systems, e‑commerce comments, and social‑network friend lists.

BackendBitmapHyperLogLog
0 likes · 10 min read
Master Redis Set Operations for Scalable Statistics and Analytics
21CTO
21CTO
Jun 27, 2023 · Backend Development

Order Timeout Solutions: JDK DelayQueue, RabbitMQ, RocketMQ, Redis & SchedulerX

This article examines various order timeout handling techniques in e‑commerce, detailing JDK’s DelayQueue, RabbitMQ delayed messages, RocketMQ timer‑wheel, Redis expiration listeners, and distributed batch processing with SchedulerX, comparing their advantages, drawbacks, and suitability for different latency and scale requirements.

Distributed SchedulingMessagingRabbitMQ
0 likes · 14 min read
Order Timeout Solutions: JDK DelayQueue, RabbitMQ, RocketMQ, Redis & SchedulerX
Java Architecture Diary
Java Architecture Diary
Jun 27, 2023 · Backend Development

What’s New in Mica 3.0.8? Key Updates for Spring Boot 3.x

This article reviews the latest Mica releases, highlighting version compatibility with Spring Boot, new Redis and XSS features, core utility enhancements, bug fixes, and upcoming support for Spring Boot 3.1.x, providing developers with a concise overview of the library’s recent advancements.

Spring Bootbackend-developmentjava
0 likes · 4 min read
What’s New in Mica 3.0.8? Key Updates for Spring Boot 3.x
Cloud Native Technology Community
Cloud Native Technology Community
Jun 26, 2023 · Cloud Native

What’s New in Aeraki Mesh 1.3.0? Istio 1.16 Support, Multiplexing, and MetaProtocol Features

Aeraki Mesh 1.3.0 (code‑named Dragonboat) adds Istio 1.16.x compatibility, introduces connection multiplexing, enables MetaProtocol routing on gateways, expands Dubbo service governance options, provides Redis traffic management, and migrates official images to GitHub Packages, with a detailed changelog and configuration examples.

Aeraki MeshCloud NativeDubbo
0 likes · 10 min read
What’s New in Aeraki Mesh 1.3.0? Istio 1.16 Support, Multiplexing, and MetaProtocol Features
MaGe Linux Operations
MaGe Linux Operations
Jun 24, 2023 · Databases

Mastering Redis Persistence: RDB, AOF, and Hybrid Strategies Explained

This article explains Redis’s persistence mechanisms—including RDB snapshots, AOF append‑only logs, and the hybrid approach—detailing how to enable each method, their commands, configuration options, performance trade‑offs, rewrite processes, and recovery procedures to help you choose the right strategy for reliable data durability.

AOFCopy-on-WriteHybrid
0 likes · 16 min read
Mastering Redis Persistence: RDB, AOF, and Hybrid Strategies Explained
Sanyou's Java Diary
Sanyou's Java Diary
Jun 15, 2023 · Databases

Mastering Redis Pub/Sub: Channels, Patterns, and Real-World Use Cases

This article explains Redis Pub/Sub fundamentals, demonstrates channel‑based and pattern‑based subscription with command‑line examples, dives into the internal data structures that power them, and shows how to integrate Redis Pub/Sub in Spring Boot using Redisson for lightweight messaging.

Message Queuedatabasespub/sub
0 likes · 14 min read
Mastering Redis Pub/Sub: Channels, Patterns, and Real-World Use Cases
Sohu Tech Products
Sohu Tech Products
Jun 14, 2023 · Backend Development

Three Strategies for Caching Paginated List Results

This article explains three progressively refined approaches to caching paginated list data—directly caching whole pages, caching individual object entries after querying ID lists, and caching both ID lists and object entries—highlighting trade‑offs, implementation details, and performance considerations using Java and Redis.

cachingpaginationredis
0 likes · 8 min read
Three Strategies for Caching Paginated List Results
FunTester
FunTester
Jun 13, 2023 · Databases

Understanding Redis: Core Concepts, Persistence, Replication, Sentinel Failover, and Cluster Sharding

Redis is an open‑source, in‑memory key‑value store written in C that uses hash tables, various data structures, and a single‑threaded event loop to achieve high performance, and this article explains its basic types, persistence mechanisms (AOF and RDB), replication, sentinel failover, and cluster sharding.

ClusterIn-Memory DatabasePersistence
0 likes · 26 min read
Understanding Redis: Core Concepts, Persistence, Replication, Sentinel Failover, and Cluster Sharding
php Courses
php Courses
Jun 12, 2023 · Backend Development

Using ThinkPHP 6 for Email Queue Processing

This article explains how to set up and use ThinkPHP 6’s email queue functionality, covering Redis installation, queue configuration, creating a SendMailJob class, pushing jobs to the queue, and running the queue listener to improve email sending performance and reliability.

Email QueuePHPThinkPHP
0 likes · 5 min read
Using ThinkPHP 6 for Email Queue Processing
Architect's Guide
Architect's Guide
Jun 11, 2023 · Databases

Redis Data Types and Their Internal Implementations

This article provides a comprehensive overview of Redis's ten data types—including strings, hashes, lists, sets, sorted sets, streams, hyperloglog, geospatial, bitmap, and bitfield—detailing their structures, encoding mechanisms, application scenarios, and underlying implementation details with code examples.

BackendData Typesdatabase
0 likes · 29 min read
Redis Data Types and Their Internal Implementations
Su San Talks Tech
Su San Talks Tech
Jun 10, 2023 · Information Security

How to Secure Your Public APIs: Anti‑Tampering and Anti‑Replay Strategies in Spring Boot

This article explains why publicly exposed APIs are vulnerable, describes the concepts of anti‑tampering and anti‑replay protection, and provides a complete Spring Boot implementation—including request signing, timestamp and nonce validation, and Redis‑based replay detection—to safeguard API endpoints.

API SecurityAnti-replaySpring Boot
0 likes · 15 min read
How to Secure Your Public APIs: Anti‑Tampering and Anti‑Replay Strategies in Spring Boot
Open Source Linux
Open Source Linux
Jun 9, 2023 · Backend Development

How We Built a High‑Availability Membership System for Billions of Users

This article details the design and implementation of a highly available, high‑performance membership platform serving over a billion users, covering Elasticsearch dual‑center clusters, traffic‑isolated clusters, deep ES optimizations, Redis caching strategies, MySQL dual‑center partitioning, seamless migration, and fine‑grained flow‑control and degradation mechanisms.

Elasticsearchcachinghigh availability
0 likes · 21 min read
How We Built a High‑Availability Membership System for Billions of Users
FunTester
FunTester
Jun 7, 2023 · Big Data

Optimizing Query Performance in WeChat's Multi‑Dimensional Monitoring Platform with Druid and Redis

The article details how WeChat's multi‑dimensional metric monitoring platform, which handles billions of data points per minute, reduced average query latency from over 1000 ms to around 140 ms and achieved over 85% cache hit rate by analyzing query behavior, redesigning the data layer architecture, splitting queries into sub‑queries, adding Redis caching, and introducing sub‑dimension tables.

Big DataCacheDruid
0 likes · 13 min read
Optimizing Query Performance in WeChat's Multi‑Dimensional Monitoring Platform with Druid and Redis
Liangxu Linux
Liangxu Linux
Jun 6, 2023 · Databases

Why MySQL Chooses B+ Trees Over Skip Lists for Indexing

The article explains the structural differences between B+ trees and skip lists, compares their read‑write performance in MySQL and Redis, and shows why MySQL prefers B+ trees while Redis adopts skip lists for its in‑memory ZSET implementation.

B+Treedatabaseindexing
0 likes · 13 min read
Why MySQL Chooses B+ Trees Over Skip Lists for Indexing
Bilibili Tech
Bilibili Tech
Jun 6, 2023 · Backend Development

Evolution of Bilibili Relationship Chain Service: From MySQL to KV Storage and Multi‑Layer Caching

Bilibili’s relationship‑chain service, which handles follows, blacklists, whispers and mutual follows, migrated from a single sharded MySQL instance to an internal distributed KV store and introduced a three‑tier cache (memcached, Redis and a Bloom filter) plus automated hotspot routing, achieving near‑million QPS, lower latency, and preparing for multi‑tenant reuse.

KV Storedistributed storagemysql
0 likes · 17 min read
Evolution of Bilibili Relationship Chain Service: From MySQL to KV Storage and Multi‑Layer Caching
Open Source Linux
Open Source Linux
Jun 6, 2023 · Backend Development

Explore a Lightweight Redis GUI with Full CRUD for All Data Types

This guide introduces a lightweight Redis graphical management tool that offers full CRUD support for all Redis data types, outlines its Spring Boot backend and Vue frontend stack, provides step‑by‑step installation and Docker deployment instructions, and details current features, UI screenshots, and future development plans.

CRUDDockerSpring Boot
0 likes · 4 min read
Explore a Lightweight Redis GUI with Full CRUD for All Data Types
Architects Research Society
Architects Research Society
Jun 2, 2023 · Backend Development

Comparing RabbitMQ, Kafka, and Redis for Asynchronous Microservice Communication

This article examines synchronous versus asynchronous microservice communication, outlines the benefits of async messaging, and compares three popular message brokers—RabbitMQ, Kafka, and Redis—by evaluating their scale, persistence, consumer models, and ideal use cases to help developers choose the right solution.

KafkaRabbitMQasynchronous communication
0 likes · 12 min read
Comparing RabbitMQ, Kafka, and Redis for Asynchronous Microservice Communication
Sanyou's Java Diary
Sanyou's Java Diary
Jun 1, 2023 · Databases

Mastering Redis 6 Client‑Side Caching: Modes, Benefits, and Practical Demo

This article explains Redis 6 client‑side caching, compares its default and broadcast tracking modes, outlines performance advantages, clarifies common misconceptions, and provides step‑by‑step telnet demos—including code snippets and image illustrations—to help developers implement the feature in real projects.

Client Side CachingRedis6broadcast mode
0 likes · 13 min read
Mastering Redis 6 Client‑Side Caching: Modes, Benefits, and Practical Demo
MaGe Linux Operations
MaGe Linux Operations
May 31, 2023 · Operations

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 that serves over a billion users, covering Elasticsearch dual‑center HA, traffic‑isolated clusters, Redis caching, MySQL dual‑center partitioning, seamless migration, and refined flow‑control and degradation strategies.

ElasticsearchSystem Architecturehigh availability
0 likes · 19 min read
How We Achieved 20k TPS High‑Availability for a Billion‑User Membership System
The Dominant Programmer
The Dominant Programmer
May 31, 2023 · Backend Development

SpringBoot Essentials: AES Encryption, Netty TCP Client, Redis Integration, and More

This article compiles a series of practical SpringBoot implementations—including AES encryption with Vue, a Netty‑based TCP client that parses hex data into MySQL, multiple Redis integration patterns, strategy‑factory designs, custom annotations for rate limiting, global exception handling, and scheduled tasks—each linked to detailed examples.

AESNettySpringBoot
0 likes · 5 min read
SpringBoot Essentials: AES Encryption, Netty TCP Client, Redis Integration, and More
MaGe Linux Operations
MaGe Linux Operations
May 30, 2023 · Databases

Explore a Lightweight Redis GUI: Features, Setup, and Future Plans

This article introduces a lightweight Redis graphical management tool, outlines its backend (Spring Boot) and frontend (Vue) architecture, provides step‑by‑step installation instructions including Docker usage, describes current features like multi‑user management and permission control, and shares future development plans with screenshots and the project repository link.

Admin ToolDatabase ManagementGUI
0 likes · 4 min read
Explore a Lightweight Redis GUI: Features, Setup, and Future Plans
Architecture Digest
Architecture Digest
May 30, 2023 · Backend Development

Lightweight Redis Admin Tool – Overview, Architecture, Installation, and Future Plans

This document introduces a lightweight Redis graphical management tool, outlines its Spring Boot backend and Vue frontend architecture, provides step‑by‑step installation instructions including Docker deployment, details recent feature enhancements such as multi‑user support and permission control, and mentions future plans for clustering and sentinel modes.

Spring BootVuebackend-development
0 likes · 3 min read
Lightweight Redis Admin Tool – Overview, Architecture, Installation, and Future Plans
Liangxu Linux
Liangxu Linux
May 28, 2023 · Backend Development

Preventing Redis Cache Penetration, Avalanche, and Thundering Herd

This article explains the causes of Redis cache penetration, avalanche, and thundering herd, and provides practical mitigation strategies such as caching null values, using white‑lists, Bloom filters, pre‑warming hot keys, staggered expirations, multi‑level caching, and lock mechanisms.

BackendCacheDistributed Systems
0 likes · 7 min read
Preventing Redis Cache Penetration, Avalanche, and Thundering Herd
php Courses
php Courses
May 28, 2023 · Backend Development

Implementing Single Sign-On (SSO) with PHP: A Step-by-Step Guide

This tutorial explains how to build a PHP-based single sign‑on system using a main login application, a shared authentication service backed by MySQL and Redis, and multiple external applications, providing complete code examples for database setup, login handling, session sharing, and logout.

AuthenticationPHPSSO
0 likes · 8 min read
Implementing Single Sign-On (SSO) with PHP: A Step-by-Step Guide
ITPUB
ITPUB
May 26, 2023 · Databases

Mastering Redis Transactions: Commands, CAS Locks, and Common Pitfalls

This article explains why Redis offers transactions, introduces the five core transaction commands, demonstrates practical examples including WATCH and CAS optimistic locking, and discusses error handling and the reasons Redis does not support rollback.

CASTransactionsdatabase
0 likes · 9 min read
Mastering Redis Transactions: Commands, CAS Locks, and Common Pitfalls
Su San Talks Tech
Su San Talks Tech
May 25, 2023 · Databases

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

This article compares B+ trees and skip lists, explaining their structures, insertion and search complexities, and why MySQL chooses B+ trees for disk‑based indexing while Redis prefers skip lists for in‑memory sorted sets, highlighting trade‑offs in read/write performance and I/O costs.

B+Treedatabaseindexing
0 likes · 12 min read
Why MySQL Uses B+ Trees Instead of Skip Lists for Indexing
Top Architect
Top Architect
May 24, 2023 · Backend Development

Implementing Business Rate Limiting with Redis, Lua, and Kotlin Annotations

This article explains why a custom business rate‑limiting component is needed, outlines the required rules, chooses Redis + Lua for counting, and provides complete Kotlin/Spring code—including a Detect annotation, Lua scripts, and usage examples—to enforce daily, hourly, and combined limits with real‑time adjustments.

KotlinLuaannotations
0 likes · 10 min read
Implementing Business Rate Limiting with Redis, Lua, and Kotlin Annotations
Architecture Digest
Architecture Digest
May 23, 2023 · Databases

Redis Data Types: Overview, Use Cases, and Internal Implementations

This article provides a comprehensive English guide to Redis’s ten core data types—including strings, hashes, lists, sets, sorted sets, streams, hyperloglog, bitmap, and bitfield—detailing their definitions, typical application scenarios, underlying storage mechanisms, conversion rules, and sample Redis commands with code examples.

Data TypesListSet
0 likes · 31 min read
Redis Data Types: Overview, Use Cases, and Internal Implementations
MaGe Linux Operations
MaGe Linux Operations
May 22, 2023 · Backend Development

How to Stop Redis Cache Penetration, Avalanche, and Breakdown

This article explains the three major Redis cache issues—penetration, avalanche, and breakdown—detailing their causes, real‑world examples, and practical mitigation strategies such as caching null values, using Bloom filters, staggering TTLs, multi‑level caching, and lock mechanisms to protect database stability.

BackendCachecache-avalanche
0 likes · 6 min read
How to Stop Redis Cache Penetration, Avalanche, and Breakdown
Bilibili Tech
Bilibili Tech
May 19, 2023 · Backend Development

Local Cache Optimization for Outbox Redis in a High‑Traffic Feed Stream Service

To protect the outbox Redis cluster from extreme read amplification during hot events, the service adds a resident local cache for hot creators’ latest posts, using a threshold‑based list, change‑broadcast updates, and checksum verification, which achieved over 55% cache hits and cut peak Redis load by roughly 44% and CPU usage by 37%.

Cache OptimizationConsistencyPerformance Scaling
0 likes · 10 min read
Local Cache Optimization for Outbox Redis in a High‑Traffic Feed Stream Service
Laravel Tech Community
Laravel Tech Community
May 17, 2023 · Databases

Dragonfly vs Redis: Performance Claims, Benchmark Debate, and Architectural Insights

Dragonfly, an open‑source C/C++ memory cache system released by a former Google and Amazon engineer, claims superior speed and lower memory usage than Redis, but Redis’s team counters with benchmark results showing higher throughput and discusses architectural differences, scaling strategies, and future feature considerations.

DragonflyIn-Memory Cachearchitecture
0 likes · 10 min read
Dragonfly vs Redis: Performance Claims, Benchmark Debate, and Architectural Insights
Selected Java Interview Questions
Selected Java Interview Questions
May 17, 2023 · Backend Development

Effective Cache Strategies for Large Distributed Systems

This article explains how to design and use various client‑side, CDN, and server‑side caching techniques—including HTTP Cache‑Control, Redis data structures, cache consistency patterns, and mitigation of cache penetration, breakdown, and avalanche—to improve performance and reliability of high‑traffic distributed applications.

CDNCache ConsistencyDistributed Systems
0 likes · 23 min read
Effective Cache Strategies for Large Distributed Systems
NiuNiu MaTe
NiuNiu MaTe
May 17, 2023 · Databases

Mastering Redis HSET: Basics, Commands, and Internal Encoding

This article introduces Redis HSET, covering its definition, suitable use cases, common commands for creating, reading, updating, and deleting hash fields, as well as the underlying encoding mechanisms (ziplist vs hashtable) and best practices, including the deprecation of HMSET.

CacheHSETHash
0 likes · 7 min read
Mastering Redis HSET: Basics, Commands, and Internal Encoding
Architecture Digest
Architecture Digest
May 16, 2023 · Backend Development

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

This article presents a comprehensive engineering case study of a high‑traffic membership system, detailing the dual‑center Elasticsearch high‑availability design, traffic‑isolated three‑cluster ES architecture, Redis caching strategy, dual‑center MySQL partitioning and migration plan, abnormal member relationship governance, and future fine‑grained flow‑control and downgrade policies.

Backend ArchitectureData MigrationElasticsearch
0 likes · 19 min read
High‑Availability Architecture for a Membership System: Dual‑Center ES Cluster, Redis Caching, MySQL Migration, and Fine‑Grained Flow Control
Practical DevOps Architecture
Practical DevOps Architecture
May 16, 2023 · Databases

Redis Course Curriculum Overview: Distributed Locks, High Availability, Clustering, Persistence, and Advanced Projects

This article outlines a comprehensive Redis training program covering fundamentals, distributed lock implementation, high‑availability mechanisms, clustering, persistence strategies, and practical projects such as Bloom filter integration and flash‑sale systems, providing learners with the knowledge to master advanced Redis usage.

Persistencebloom-filterclustering
0 likes · 5 min read
Redis Course Curriculum Overview: Distributed Locks, High Availability, Clustering, Persistence, and Advanced Projects
Selected Java Interview Questions
Selected Java Interview Questions
May 15, 2023 · Backend Development

Spring Boot Integration with Redis for Search History, Hot Search, and Sensitive Word Filtering

This guide demonstrates how to integrate Spring Boot with Redis to implement personal search history, hot search ranking, and sensitive word filtering using a DFA algorithm, including Maven dependencies, YAML configuration, utility classes, service implementations, and controller endpoints with full Java code examples.

DFA AlgorithmHot SearchSearch History
0 likes · 19 min read
Spring Boot Integration with Redis for Search History, Hot Search, and Sensitive Word Filtering
Programmer DD
Programmer DD
May 15, 2023 · Backend Development

Choosing the Right Distributed ID Strategy: UUID, Snowflake, Segment, Redis, and More

This article examines various distributed ID generation techniques—including UUID, database auto‑increment, segment mode, Redis INCR, Snowflake, Meituan Leaf, Baidu UidGenerator, and Didi TinyID—detailing their principles, advantages, drawbacks, and code examples to help developers select the most suitable solution for their systems.

Segmentdistributed-idredis
0 likes · 16 min read
Choosing the Right Distributed ID Strategy: UUID, Snowflake, Segment, Redis, and More
Ops Development Stories
Ops Development Stories
May 15, 2023 · Databases

Unlocking Redis: Deep Dive into Data Structures, Persistence, and High Availability

This comprehensive guide explains Redis fundamentals, covering NoSQL basics, the five core data types and their internal storage mechanisms, persistence options (RDB and AOF), replication, Sentinel failover, publish/subscribe patterns, and common cache pitfalls such as penetration, breakdown, and avalanche, providing practical insights for developers and architects.

CacheData StructuresNoSQL
0 likes · 54 min read
Unlocking Redis: Deep Dive into Data Structures, Persistence, and High Availability
Su San Talks Tech
Su San Talks Tech
May 14, 2023 · Backend Development

How We Boosted a Classification Tree API 10× Faster with 5 Smart Optimizations

In this article we walk through five successive optimizations—adding Redis caching, scheduling asynchronous jobs, introducing local Caffeine cache, enabling Nginx GZip compression, and slimming Redis data—to dramatically improve the performance of a SpringBoot‑Thymeleaf classification‑tree query, reducing response size from 1 MB to 100 KB and raising QPS from 100 to over 500.

CaffeineNginxSpringBoot
0 likes · 10 min read
How We Boosted a Classification Tree API 10× Faster with 5 Smart Optimizations
政采云技术
政采云技术
May 11, 2023 · Databases

Redis Persistence: RDB Snapshots, AOF Write‑Ahead Log, and Hybrid Persistence

Redis provides two primary persistence mechanisms—RDB snapshots that capture the dataset at specific moments and AOF write‑ahead logs that record every write command—along with a hybrid model combining both, each with distinct strategies, advantages, drawbacks, and configuration options to ensure data durability and fast recovery.

AOFHybridPersistence
0 likes · 15 min read
Redis Persistence: RDB Snapshots, AOF Write‑Ahead Log, and Hybrid Persistence
dbaplus Community
dbaplus Community
May 9, 2023 · Backend Development

How to Build a Scalable Discount System with Real‑Time Crowd Sync

This article explains a three‑step architecture for describing, storing, and calculating fan‑based discounts, introduces a crowd‑based abstraction to accelerate high‑traffic queries, and details a hybrid offline‑plus‑real‑time data‑sync strategy that ensures consistency and millisecond‑level response times.

Backendcrowd-abstractiondata-consistency
0 likes · 10 min read
How to Build a Scalable Discount System with Real‑Time Crowd Sync
Java High-Performance Architecture
Java High-Performance Architecture
May 7, 2023 · Backend Development

How We Built a Billion‑User High‑Availability Membership System with Dual‑Center ES, Redis, and MySQL

This article details the design and implementation of a high‑performance, highly available membership platform serving billions of users, covering dual‑center Elasticsearch clusters, traffic‑isolated three‑cluster ES architecture, Redis caching strategies, MySQL dual‑center partitioning, seamless migration, and fine‑grained flow‑control and degradation mechanisms.

Backend EngineeringElasticsearchScalable Design
0 likes · 21 min read
How We Built a Billion‑User High‑Availability Membership System with Dual‑Center ES, Redis, and MySQL
Top Architect
Top Architect
May 5, 2023 · Backend Development

Using Redis Sentinel for High Availability: Design and Implementation

This article introduces Redis Sentinel as the official high‑availability solution for Redis, explains its core functions, provides configuration examples, compares three ways to receive failover notifications (script, client subscription, and indirect service), and offers design recommendations for robust production deployments.

DevOpsfailoverhigh-availability
0 likes · 10 min read
Using Redis Sentinel for High Availability: Design and Implementation
Laravel Tech Community
Laravel Tech Community
May 4, 2023 · Databases

Redis Development Guidelines: Key Design, Command Usage, and Best Practices

This article outlines comprehensive Redis development standards, covering key naming conventions, value design, lifecycle management, command usage guidelines, prohibited commands, batch operations, transaction considerations, and Lua scripting constraints, aiming to reduce common pitfalls and improve performance and maintainability.

Command Best PracticesKey Designdatabase
0 likes · 6 min read
Redis Development Guidelines: Key Design, Command Usage, and Best Practices
IT Architects Alliance
IT Architects Alliance
May 4, 2023 · Backend Development

Designing Redis High Availability with Sentinel

This article explains how to use Redis Sentinel for high‑availability deployments, covering its core features, configuration files, startup commands, monitoring behavior, three methods of receiving failover notifications, and recommended architectural patterns for robust backend systems.

Configurationredissentinel
0 likes · 9 min read
Designing Redis High Availability with Sentinel