Tagged articles
3240 articles
Page 11 of 33
JD Cloud Developers
JD Cloud Developers
Nov 1, 2023 · Databases

How Do Big Keys Slow Down Redis and How to Fix Them?

This article explains why oversized Redis keys (BigKeys) cause data skew, network blockage, slow queries, and high CPU load, shows how to detect them with redis-cli and other tools, and provides practical strategies—including lazy deletion, key splitting, and preventive design—to mitigate their impact on production systems.

BigKeyLazy Freekey management
0 likes · 22 min read
How Do Big Keys Slow Down Redis and How to Fix Them?
政采云技术
政采云技术
Nov 1, 2023 · Backend Development

How Spring Boot Auto-Configuration Works: From @EnableAutoConfiguration to Bean Loading

This article explains Spring Boot's auto‑configuration mechanism, covering how @EnableAutoConfiguration loads configuration classes, the role of @AutoConfigurationPackage and @Import, the processing of spring.factories and metadata files, and how the main application class is registered in the IoC container.

Spring Bootannotationsauto-configuration
0 likes · 12 min read
How Spring Boot Auto-Configuration Works: From @EnableAutoConfiguration to Bean Loading
Java Architect Essentials
Java Architect Essentials
Oct 31, 2023 · Information Security

Understanding Traditional Session Mechanisms, Cluster Session Challenges, and SSO Solutions with CAS and OAuth2

The article explains why multiple independent systems hurt user experience, reviews traditional session and cookie based authentication, discusses session sharing problems in clustered environments, and presents centralized Redis storage and CAS‑based single sign‑on solutions with code examples and a comparison to OAuth2.

CASOAuth2Single Sign-On
0 likes · 16 min read
Understanding Traditional Session Mechanisms, Cluster Session Challenges, and SSO Solutions with CAS and OAuth2
JD Retail Technology
JD Retail Technology
Oct 31, 2023 · Databases

How to Identify and Eliminate Redis BigKey Bottlenecks

This article explains what constitutes a Redis BigKey, why oversized keys degrade performance through data skew, network blocking, slow queries and CPU pressure, and provides practical detection methods, open‑source tooling, and mitigation techniques such as lazy‑free deletion, incremental scans, and key sharding.

BigKeyDELETESCAN
0 likes · 21 min read
How to Identify and Eliminate Redis BigKey Bottlenecks
Java High-Performance Architecture
Java High-Performance Architecture
Oct 31, 2023 · Backend Development

Master Redisson Distributed Locks in Java: Features, Code & Spring Boot

This article introduces Redisson, a Java framework built on Redis for distributed systems, detailing its extensive features such as distributed objects, locks, rate limiters, and task scheduling, and provides step‑by‑step guidance on integrating Redisson’s distributed lock into Spring Boot applications with code examples.

Spring Bootconcurrencydistributed-lock
0 likes · 11 min read
Master Redisson Distributed Locks in Java: Features, Code & Spring Boot
ITPUB
ITPUB
Oct 28, 2023 · Databases

Why Is Single‑Threaded Redis So Fast? Uncover the Secrets

This article explains why Redis, despite being described as single‑threaded, achieves extremely high performance by using a single thread for network I/O and command execution, avoiding multithreading overhead, and leveraging efficient in‑memory data structures together with an event‑driven multiplexing I/O model.

Event-drivenI/O MultiplexingSingle Thread
0 likes · 12 min read
Why Is Single‑Threaded Redis So Fast? Uncover the Secrets
Selected Java Interview Questions
Selected Java Interview Questions
Oct 28, 2023 · Backend Development

Analyzing and Resolving an R2M Cache Usage Alert Before the 618 Promotion

This article walks through a real‑world R2M (Redis‑like) cache alert, detailing the email notification, large‑key analysis, code inspection, root‑cause identification, and both immediate and long‑term solutions that reduced cache usage by over 97% and prevented future incidents.

Cache OptimizationRoot Cause Analysisbackend-development
0 likes · 12 min read
Analyzing and Resolving an R2M Cache Usage Alert Before the 618 Promotion
Java Architect Essentials
Java Architect Essentials
Oct 27, 2023 · Backend Development

Design and Implementation of Delayed Task Solutions for Payment Systems

This article compares delayed and scheduled tasks, analyzes several implementation approaches—including database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis ZSET and key‑space notifications, and RabbitMQ delayed queues—provides code examples, and discusses the advantages and drawbacks of each method for handling order timeout scenarios in payment systems.

Quartzjavaredis
0 likes · 17 min read
Design and Implementation of Delayed Task Solutions for Payment Systems
Architecture Digest
Architecture Digest
Oct 26, 2023 · Backend Development

Diagnosing and Resolving Redis Connection Pool Blocking in a Spring Boot Application

The article details a week‑long investigation of a sandbox environment where Spring Boot APIs became unresponsive due to Redis connection pool blocking, describing the use of system tools, JVM thread analysis, and code inspection to identify mis‑configured pool settings and recommending proper connection handling with Spring's RedisTemplate.

ArthasConnection PoolJedis
0 likes · 8 min read
Diagnosing and Resolving Redis Connection Pool Blocking in a Spring Boot Application
政采云技术
政采云技术
Oct 25, 2023 · Databases

Redis Memory Management: Eviction and Expiration Strategies Explained

This article provides a comprehensive overview of Redis memory management, detailing how maxmemory limits trigger various eviction policies, explaining the internal freeMemoryIfNeeded algorithm, and describing expiration mechanisms—including active and lazy deletion—and offering guidance on selecting the appropriate eviction strategy for different workloads.

CacheExpirationLFU
0 likes · 18 min read
Redis Memory Management: Eviction and Expiration Strategies Explained
Efficient Ops
Efficient Ops
Oct 23, 2023 · Operations

Why Redis Failed: Jedis Misconfigurations That Spark Service Avalanches

This article examines a Redis 3.x cluster failure caused by a master‑slave switch, detailing how improper Jedis timeout and retry settings triggered a service avalanche, and provides step‑by‑step analysis of the incident, code paths, and recommended configuration adjustments to prevent recurrence.

JedisService Avalancheconnection timeout
0 likes · 12 min read
Why Redis Failed: Jedis Misconfigurations That Spark Service Avalanches
Architecture Digest
Architecture Digest
Oct 20, 2023 · Backend Development

Simplified Seckill Project: Architecture, Core Implementations, and Code Overview

This article introduces a simplified Seckill (flash‑sale) system built with SpringBoot, detailing its overall architecture, key backend techniques such as distributed sessions, Redis caching, RabbitMQ asynchronous ordering, security measures, oversell prevention, rate limiting, and provides essential code snippets and deployment screenshots.

BackendRabbitMQSeckill
0 likes · 8 min read
Simplified Seckill Project: Architecture, Core Implementations, and Code Overview
Java High-Performance Architecture
Java High-Performance Architecture
Oct 20, 2023 · Backend Development

Building a High‑Performance Java Seckill System with SpringBoot, Redis, and RabbitMQ

This article details the design and implementation of a Java-based Seckill (flash‑sale) platform built with SpringBoot, MySQL, Redis, RabbitMQ, and front‑end technologies, covering password hashing, distributed sessions, caching strategies, asynchronous order processing, oversell prevention, rate limiting, and provides code snippets and deployment screenshots.

RabbitMQSeckillSpringBoot
0 likes · 8 min read
Building a High‑Performance Java Seckill System with SpringBoot, Redis, and RabbitMQ
Architect
Architect
Oct 19, 2023 · Industry Insights

How Vivo Built a Highly Available Push System: Multi‑Region Architecture, Real‑Time Traffic Scheduling, and Disaster‑Recovery Strategies

This article analyzes the design of Vivo's push notification platform, detailing its high‑concurrency requirements, three‑region long‑connection deployment, traffic‑scheduling bypass layer, and layered storage disaster‑recovery solutions, while explaining the trade‑offs and performance metrics behind each architectural decision.

Cloud NativeKafkaSystem Architecture
0 likes · 14 min read
How Vivo Built a Highly Available Push System: Multi‑Region Architecture, Real‑Time Traffic Scheduling, and Disaster‑Recovery Strategies
DevOps
DevOps
Oct 17, 2023 · Databases

Fundamental Methods for Service Troubleshooting and Redis Performance Optimization

After encountering latency spikes in a service, the article walks through systematic troubleshooting steps—examining module performance, resource metrics, and network latency—followed by detailed Redis diagnostics using metrics, latency commands, and profiling tools, ultimately recommending scaling, rate limiting, and caching strategies to resolve the issue.

redistroubleshooting
0 likes · 22 min read
Fundamental Methods for Service Troubleshooting and Redis Performance Optimization
Architect
Architect
Oct 17, 2023 · Backend Development

Ensuring DB‑Redis Consistency with a Delayed Double‑Delete Strategy in Spring Boot

The article explains how concurrent database updates can cause Redis cache inconsistency, introduces the delayed double‑delete solution, details each step of the algorithm, provides full Spring Boot AOP implementation code, demonstrates verification with test cases, and shares the complete project repository.

Cache ConsistencyDelayed DeleteSpringBoot
0 likes · 11 min read
Ensuring DB‑Redis Consistency with a Delayed Double‑Delete Strategy in Spring Boot
Top Architecture Tech Stack
Top Architecture Tech Stack
Oct 17, 2023 · Backend Development

Implementing Distributed Locks with Redis: Problems and Solutions

This article explains how Redis can be used to implement distributed locks, outlines common pitfalls such as non‑atomic operations, lock expiration, incorrect unlocking, lack of re‑entrancy and waiting mechanisms, and presents Lua scripts, Java examples, and cluster‑level considerations to mitigate these issues.

Luaconcurrencydistributed-lock
0 likes · 10 min read
Implementing Distributed Locks with Redis: Problems and Solutions
Deepin Linux
Deepin Linux
Oct 16, 2023 · Databases

Understanding Redis: Use Cases, Data Types, and Comparison with Memcached

This article provides a comprehensive overview of Redis, covering its common application scenarios, detailed comparisons with Memcached, internal data structures, implementation details, and practical usage patterns such as caching, leaderboards, counters, and real‑time analytics for modern backend systems.

MemcachedNoSQLredis
0 likes · 25 min read
Understanding Redis: Use Cases, Data Types, and Comparison with Memcached
ITPUB
ITPUB
Oct 16, 2023 · Databases

Why Did Our Redis Calls Take 1.2 Seconds? A Deep Dive into JedisPool Tuning

A load test revealed Redis latency soaring to 1.2 seconds, and a systematic investigation traced the root cause to mis‑configured JedisPool parameters, leading to excessive connection wait times and churn, which were fixed by aligning pool settings and enabling proper eviction, dramatically improving latency.

Connection PoolJedisPoolLatency
0 likes · 8 min read
Why Did Our Redis Calls Take 1.2 Seconds? A Deep Dive into JedisPool Tuning
Architecture Digest
Architecture Digest
Oct 16, 2023 · Backend Development

Comparison of Delayed Task Implementation Strategies in Java: Database Polling, JDK DelayQueue, Time Wheel, Redis, and RabbitMQ

The article examines various delayed‑task solutions for order timeout handling in Java, including database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted‑set and key‑space notifications, and RabbitMQ delayed queues, analyzing their implementation steps, advantages, and drawbacks.

BackendRabbitMQScheduling
0 likes · 18 min read
Comparison of Delayed Task Implementation Strategies in Java: Database Polling, JDK DelayQueue, Time Wheel, Redis, and RabbitMQ
Efficient Ops
Efficient Ops
Oct 15, 2023 · Databases

How to Diagnose and Fix Slow Redis Responses: A Step-by-Step Guide

This article walks through practical methods for troubleshooting slow service alerts, diagnosing Redis performance bottlenecks, and reproducing issues with local demos and load simulations, offering concrete metrics, command‑line checks, and mitigation strategies such as scaling, rate‑limiting, and pipeline optimization.

Operationsmonitoringperformance
0 likes · 22 min read
How to Diagnose and Fix Slow Redis Responses: A Step-by-Step Guide
政采云技术
政采云技术
Oct 12, 2023 · Backend Development

Understanding Redisson Distributed Locks: Architecture, Code Walkthrough, and Watchdog Mechanism

This article introduces Redisson, a high‑performance Java Redis client built on Netty, explains its key advantages, and provides a detailed walkthrough of the RedissonLock implementation—including tryLock, blocking lock, unlock logic, associated Lua scripts, and the automatic watchdog renewal mechanism.

NettyWatchdogdistributed-lock
0 likes · 12 min read
Understanding Redisson Distributed Locks: Architecture, Code Walkthrough, and Watchdog Mechanism
vivo Internet Technology
vivo Internet Technology
Oct 11, 2023 · Backend Development

Investigation of Dubbo Thread‑Pool Exhaustion Caused by Redis Cluster Pipeline Deadlock

The article details how a Dubbo thread‑pool exhaustion incident was traced to a deadlock in Redis Cluster pipeline usage, caused by Jedis pools lacking a borrow timeout, which let threads block indefinitely while holding cross‑node connections, and recommends configuring maxWaitMillis or enlarging the pool to prevent recurrence.

DubboJedisThreadPool
0 likes · 14 min read
Investigation of Dubbo Thread‑Pool Exhaustion Caused by Redis Cluster Pipeline Deadlock
Top Architect
Top Architect
Oct 11, 2023 · Databases

Understanding Redis Memory Eviction Policies and Configuration

This article explains how Redis uses the maxmemory setting to trigger memory eviction, details the various eviction policies (including LRU and LFU), shows how to query and modify these settings with config commands, and briefly mentions promotional offers for a ChatGPT community.

LFULRUdatabases
0 likes · 10 min read
Understanding Redis Memory Eviction Policies and Configuration
Didi Tech
Didi Tech
Oct 10, 2023 · Backend Development

Investigation of 300‑Second Redis Timeout Issues in a Go Service

The article details how a Go service’s 300‑second Redis call timeout was traced to a gateway’s full‑NAT session‑table loss, and explains how targeted retries, proper timeout settings, and rate‑limiting can prevent similar cascading failures in distributed systems.

GoRetryTimeout
0 likes · 9 min read
Investigation of 300‑Second Redis Timeout Issues in a Go Service
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 10, 2023 · Databases

Diagnosing and Resolving MongoDB and Redis Replication Failures: Oplog Issues and Recovery Strategies

This article analyzes a MongoDB replication failure caused by missing oplog entries, compares logical initialization repair methods with Redis replication, and provides practical steps—including oplog size adjustment and snapshot techniques—to restore synchronization and prevent similar issues in production environments.

Database RecoveryLogical InitializationMongoDB
0 likes · 9 min read
Diagnosing and Resolving MongoDB and Redis Replication Failures: Oplog Issues and Recovery Strategies
Programmer DD
Programmer DD
Oct 10, 2023 · Backend Development

How to Get Free Cloud Resources and Master Redis Cluster Setup for Practice

This guide explains how to claim Alibaba Cloud's free ECS credits, use them to spin up multiple machines for hands‑on Redis cluster experiments, and outlines a step‑by‑step learning path from basic Nginx setups to advanced high‑availability and multi‑service architectures.

Cloud ResourcesClusterDevOps
0 likes · 11 min read
How to Get Free Cloud Resources and Master Redis Cluster Setup for Practice
php Courses
php Courses
Oct 9, 2023 · Backend Development

PHP Performance Optimization and Caching Techniques

This article explains key PHP performance optimization strategies—including database query tuning, efficient coding practices, and various caching methods such as Redis and file‑based page caching—providing concrete code examples to improve response time and system stability.

File CachePHPbackend-development
0 likes · 6 min read
PHP Performance Optimization and Caching Techniques
Java Architect Essentials
Java Architect Essentials
Oct 6, 2023 · Backend Development

Implementing Order Workflow with Spring Statemachine and Persistent State Storage

This article explains the fundamentals of finite‑state machines, introduces Spring Statemachine, demonstrates how to model an order lifecycle, configure persistence with in‑memory and Redis stores, and provides complete Java code for enums, configuration, services, controllers, listeners, testing, and exception‑handling improvements.

Persistenceaopjava
0 likes · 26 min read
Implementing Order Workflow with Spring Statemachine and Persistent State Storage
Selected Java Interview Questions
Selected Java Interview Questions
Oct 4, 2023 · Backend Development

Implementing Captcha‑Based Login in a Frontend‑Backend Separated Spring Boot Application

This article demonstrates how to implement a captcha‑based login mechanism in a Spring Boot application with a front‑end/back‑end separation, detailing the traditional session‑based approach, the new Redis‑backed token solution, and providing complete code examples for configuration, service, controller, and data objects.

BackendCaptchaKaptcha
0 likes · 12 min read
Implementing Captcha‑Based Login in a Frontend‑Backend Separated Spring Boot Application
Programmer DD
Programmer DD
Oct 4, 2023 · Databases

5 Essential Redis Use Cases Every Developer Should Know

This article explores five common Redis applications—caching, session storage, distributed locking, rate limiting, and leaderboards—explaining how each leverages Redis’s in‑memory speed, atomic commands, and data structures to improve performance, scalability, and reliability of modern web services.

In-Memory DatabaseSession Managementdistributed-lock
0 likes · 7 min read
5 Essential Redis Use Cases Every Developer Should Know
MaGe Linux Operations
MaGe Linux Operations
Sep 28, 2023 · Information Security

Mastering JWT: Standard Claims, Custom Tokens, and Renewal Strategies

This article explains JWT payload claims, lists standard and custom claims, shows how to generate a token with expiration in Java, and compares single‑token and double‑token renewal strategies—including OAuth 2.0 approaches and Redis‑based storage—to manage token expiration securely.

AuthenticationJWTOAuth2
0 likes · 5 min read
Mastering JWT: Standard Claims, Custom Tokens, and Renewal Strategies
Architect
Architect
Sep 28, 2023 · Databases

How to Pick the Best Storage Engine for High‑Throughput Browsing Records: Redis, MySQL or Tair?

This article walks through a real‑world e‑commerce scenario where billions of daily browsing events generate over 100K TPS writes, evaluates storage options on reliability, cost, read/write performance and implementation difficulty, and ultimately recommends Tair after detailed analysis of List, Sorted‑Set and Hash structures, code examples, and concurrency controls.

Tairconcurrencydata modeling
0 likes · 15 min read
How to Pick the Best Storage Engine for High‑Throughput Browsing Records: Redis, MySQL or Tair?
ITPUB
ITPUB
Sep 28, 2023 · Databases

Redis Latency Mystery: How to Diagnose and Fix Slow Redis Calls

When a Redis‑backed service suddenly experiences high response times, this guide walks through systematic troubleshooting steps—checking server resources, network latency, Redis metrics, slow‑log, memory fragmentation, big keys, and hot keys—culminating in practical solutions such as pipelining, read/write splitting, and cache layering.

performance tuningredis
0 likes · 24 min read
Redis Latency Mystery: How to Diagnose and Fix Slow Redis Calls
Tencent Cloud Developer
Tencent Cloud Developer
Sep 28, 2023 · Databases

Redis Service Latency Diagnosis and Optimization – A Systematic Approach

The article outlines a systematic three‑step workflow—general service diagnostics, Redis‑specific checks, and reproducible load testing—to pinpoint a hot‑key‑driven CPU bottleneck, then evaluates mitigation options such as read‑write separation, pipelining, and an application‑level cache, ultimately showing the cache’s effectiveness in cutting latency and CPU usage.

CacheLatencyperformance
0 likes · 21 min read
Redis Service Latency Diagnosis and Optimization – A Systematic Approach
政采云技术
政采云技术
Sep 27, 2023 · Databases

Understanding Redis Data Types and Their Internal Memory Implementations

This article explains Redis’s five core data object types—strings, lists, hashes, sets, and sorted sets—detailing their encoding schemes, underlying memory structures such as SDS, ziplist, linkedlist, hashtable, and skiplist, and how Redis optimizes storage and access performance.

Data StructuresMemory Managementkey-value store
0 likes · 13 min read
Understanding Redis Data Types and Their Internal Memory Implementations
Java High-Performance Architecture
Java High-Performance Architecture
Sep 25, 2023 · Backend Development

Master Distributed Locks with Redisson: Deep Dive into Java High‑Performance Architecture

This article explains the concept of distributed locks for ensuring data consistency in clustered environments, outlines common implementation approaches, and provides a comprehensive guide to using Redisson in Java—including Maven setup, YAML configuration, core source‑code analysis, Lua scripts for lock and unlock operations, and practical test cases.

Luaconcurrencydistributed-lock
0 likes · 15 min read
Master Distributed Locks with Redisson: Deep Dive into Java High‑Performance Architecture
Architect
Architect
Sep 21, 2023 · Databases

Redis Deep Dive: 20 Classic Interview Questions Explained

This article provides a comprehensive technical walkthrough of Redis, covering its core concepts, data structures, performance tricks, caching pitfalls, persistence options, high‑availability architectures, distributed locking mechanisms, and consistency strategies, all illustrated with concrete examples and code snippets.

Data StructuresDistributed LocksPersistence
0 likes · 50 min read
Redis Deep Dive: 20 Classic Interview Questions Explained
Huolala Tech
Huolala Tech
Sep 21, 2023 · Big Data

How We Built a Scalable Data Migration Framework for Billions of Transactions

This article details the design and implementation of a custom, high‑throughput data migration framework that handles petabyte‑scale transaction data, supports heterogeneous source/target schemas, ensures zero‑downtime operation, and provides robust scheduling, checkpointing, and fault‑tolerance mechanisms.

Big DataData MigrationDistributed Systems
0 likes · 17 min read
How We Built a Scalable Data Migration Framework for Billions of Transactions
Tencent Cloud Developer
Tencent Cloud Developer
Sep 20, 2023 · Operations

Storage Governance and Optimization Practices for Meeting Control Systems

The article explains how a meeting control system tackled severe storage pressure from high concurrent traffic by introducing a proxy layer, multi‑active disaster‑recovery, identity‑based data isolation, dynamic‑static key separation, multi‑level caching, overload protection, sharding with dual‑write migration, and extensive monitoring to meet 100k QPS and ensure reliability.

Storage Optimizationdatabase shardingdisaster recovery
0 likes · 49 min read
Storage Governance and Optimization Practices for Meeting Control Systems
Top Architect
Top Architect
Sep 15, 2023 · Databases

Redis Overview, Features, Use Cases, and Installation Guide

This article introduces Redis as an open‑source, high‑performance in‑memory key‑value store, explains its rich data structures, underlying implementations, performance advantages, common use cases such as caching and messaging, and provides step‑by‑step installation and basic command examples for Ubuntu systems.

Data StructuresIn-Memory DatabaseInstallation
0 likes · 12 min read
Redis Overview, Features, Use Cases, and Installation Guide
Bilibili Tech
Bilibili Tech
Sep 15, 2023 · Databases

Understanding and Detecting BigKey and HotKey Issues in Redis Clusters

BigKey and HotKey issues in Redis clusters arise when oversized keys block processing or a single key receives excessive requests, causing timeouts, memory overflow, shard collapse, and performance degradation, but can be detected during testing using Redis commands, visual clients, and open‑source analysis tools.

BigKeyCacheHotKey
0 likes · 8 min read
Understanding and Detecting BigKey and HotKey Issues in Redis Clusters
Alibaba Cloud Developer
Alibaba Cloud Developer
Sep 15, 2023 · Databases

Why Your JedisPool Keeps Recreating Connections and How to Fix It in Spring Boot

This article investigates why a Spring Boot application using JedisPool experiences high connection‑acquisition latency, analyzes the Evictor logic and mis‑configured pool parameters, and presents a custom configuration solution that stabilizes the pool and eliminates repeated connection creation and destruction.

ConnectionPoolingEvictorJedisPool
0 likes · 15 min read
Why Your JedisPool Keeps Recreating Connections and How to Fix It in Spring Boot
macrozheng
macrozheng
Sep 14, 2023 · Information Security

How to Secure API Endpoints: Prevent Tampering and Replay Attacks with SpringBoot

This article explains why public APIs need protection, outlines anti‑tampering and anti‑replay strategies using timestamps and nonces, and provides complete SpringBoot code—including request signing, filter implementation, and Redis utilities—to safeguard API calls from manipulation and replay attacks.

API SecurityAnti-replayBackend
0 likes · 15 min read
How to Secure API Endpoints: Prevent Tampering and Replay Attacks with SpringBoot
Sohu Tech Products
Sohu Tech Products
Sep 13, 2023 · Backend Development

Unlocking Redis Streams: How Radix Tree & Listpack Power Modern MQs

This article explains why using Redis List for a message queue is limited, introduces Redis Stream as a purpose‑built MQ with consumer groups, ACKs, and persistence, and dives into its internal Radix‑Tree and listpack structures, command usage, and memory‑saving techniques.

BackendListpackMessage Queue
0 likes · 14 min read
Unlocking Redis Streams: How Radix Tree & Listpack Power Modern MQs
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 11, 2023 · Databases

Aikexing Open Source Community Weekly Newsletter – Database Articles, Community Updates, and Events

The Aikexing Open Source Community weekly newsletter shares curated database articles, technical insights on MySQL, OceanBase, and Redis, announces SQLE 2.2309.0‑pre2 release with Feishu integration, recaps recent events like QCon Beijing, and promotes upcoming meetups and open‑source projects.

OceanBaseOpenSourcecommunity
0 likes · 6 min read
Aikexing Open Source Community Weekly Newsletter – Database Articles, Community Updates, and Events
Efficient Ops
Efficient Ops
Sep 10, 2023 · Backend Development

Why Redis Is So Fast and How to Avoid Common Caching Pitfalls

This article introduces Redis as a high‑performance in‑memory key‑value store, explains its core features, data types, caching usage in Spring Boot, and discusses common cache problems such as consistency, avalanche, penetration, and breakdown along with mitigation strategies, plus details on persistence, replication, and Sentinel.

PersistenceReplicationcaching
0 likes · 10 min read
Why Redis Is So Fast and How to Avoid Common Caching Pitfalls
MaGe Linux Operations
MaGe Linux Operations
Sep 6, 2023 · Backend Development

Mastering JetCache: Multi‑Level Caching with Spring Boot and Redis

This guide explains how to combine local and remote caches using Alibaba's JetCache in a Spring Boot project, covering dependency setup, configuration files, annotation‑based usage, advanced API methods, testing procedures, and common troubleshooting tips for a robust multi‑level caching solution.

CacheJetCacheSpring Boot
0 likes · 11 min read
Mastering JetCache: Multi‑Level Caching with Spring Boot and Redis
Top Architect
Top Architect
Sep 6, 2023 · Backend Development

Using Redisson for Distributed Locks in Java: Configuration, Code Samples, and Source‑Code Analysis

This article explains how distributed locks solve data‑consistency problems in clustered environments, introduces Redisson as a Redis‑based locking library, provides Maven and YAML configuration, shows Java code for Redisson setup and test cases, and analyses the underlying Lua scripts and source‑code mechanisms.

Lua Scriptconcurrencydistributed-lock
0 likes · 18 min read
Using Redisson for Distributed Locks in Java: Configuration, Code Samples, and Source‑Code Analysis
MaGe Linux Operations
MaGe Linux Operations
Sep 4, 2023 · Databases

Why Redis Is So Fast: Features, Data Structures, and Real-World Use Cases

Redis is a high-performance, open-source in-memory key-value database offering rich data structures, persistence options, and advanced features like replication, clustering, and pub/sub, making it ideal for caching, counters, message queues, leaderboards, and session storage in demanding, high-concurrency applications.

Data StructuresIn-Memory DatabaseMessage Queue
0 likes · 9 min read
Why Redis Is So Fast: Features, Data Structures, and Real-World Use Cases
Top Architect
Top Architect
Aug 31, 2023 · Backend Development

Implementing Sign‑in and Statistics with Redis BitMap in Spring Boot

This article explains how to use Redis BitMap to build an efficient sign‑in feature and continuous‑sign‑in statistics in a Spring Boot microservice, covering basic BitMap commands, integration steps, core source code, and a cache‑penetration solution using BitMap hashing.

BitmapCacheSign-in
0 likes · 12 min read
Implementing Sign‑in and Statistics with Redis BitMap in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 31, 2023 · Backend Development

Secure Spring Boot 2 with OAuth2 Resource Server and Redis

This guide demonstrates how to integrate Spring Boot 2 with OAuth2 for unified authentication, configure a Redis-backed token store, implement a resource server with custom security settings, and test protected endpoints, providing complete code snippets and configuration details.

OAuth2Resource ServerSpring Boot
0 likes · 7 min read
Secure Spring Boot 2 with OAuth2 Resource Server and Redis
Efficient Ops
Efficient Ops
Aug 30, 2023 · Databases

Understanding Redis: Architecture, Clustering, and Persistence Explained

This article introduces Redis as an open‑source in‑memory key‑value store, explains its data‑structure server nature, outlines common deployment options—including single instance, high‑availability, Sentinel, and Cluster—describes replication mechanisms, and details persistence models such as RDB, AOF, and hybrid approaches.

ClusterIn-Memory DatabasePersistence
0 likes · 18 min read
Understanding Redis: Architecture, Clustering, and Persistence Explained
Architecture & Thinking
Architecture & Thinking
Aug 30, 2023 · Backend Development

How to Ensure Cache‑Database Consistency: Strategies, Pitfalls, and Best Practices

This article examines data consistency between Redis cache and MySQL database, explains common cache execution strategies such as Cache‑Aside, Read‑Through, Write‑Through, and Write‑Behind, analyzes four update sequences for consistency risks, and proposes solutions like delayed double‑delete, transactional guarantees, retry mechanisms, and binlog‑based cache invalidation.

Cache ConsistencyDatabase Synchronizationcache-aside
0 likes · 18 min read
How to Ensure Cache‑Database Consistency: Strategies, Pitfalls, and Best Practices
JD Cloud Developers
JD Cloud Developers
Aug 29, 2023 · Backend Development

How a Lightweight Redis‑Based Inventory Architecture Boosts High‑Traffic E‑Commerce Systems

This article examines the challenges of scaling inventory pre‑allocation in fast‑growing logistics platforms, outlines architectural principles for a lightweight, Redis‑driven solution that replaces MySQL bottlenecks, details data structures, consistency mechanisms, and performance results, and provides a roadmap for future capacity growth.

System Architecturee‑commercehigh concurrency
0 likes · 10 min read
How a Lightweight Redis‑Based Inventory Architecture Boosts High‑Traffic E‑Commerce Systems
ITPUB
ITPUB
Aug 27, 2023 · Databases

How to Use Redis Sets for Powerful Intersection, Union, and Difference Statistics

This article explains how to leverage Redis Set, Sorted Set, Bitmap, and HyperLogLog data structures for various statistical scenarios such as user sign‑in tracking, friend recommendations, comment ranking, and UV counting, while addressing performance and memory considerations.

BitmapDifferenceHyperLogLog
0 likes · 11 min read
How to Use Redis Sets for Powerful Intersection, Union, and Difference Statistics
Architecture Digest
Architecture Digest
Aug 25, 2023 · Backend Development

Using JetCache for Multi‑Level Caching in Spring Boot Applications

This article introduces Alibaba's JetCache Java caching framework, explains how to combine local and Redis remote caches for multi‑level caching, provides Maven dependencies, configuration examples, three usage patterns (AOP, API, advanced API), testing steps, and common troubleshooting tips for Spring Boot projects.

BackendCacheJetCache
0 likes · 10 min read
Using JetCache for Multi‑Level Caching in Spring Boot Applications
ITPUB
ITPUB
Aug 24, 2023 · Databases

Mastering Redis: Core Data Structures, Persistence, Clustering and Advanced Cache Strategies

This comprehensive guide explains Redis fundamentals, its rich data types, differences from Memcached, thread model, persistence mechanisms (AOF, RDB, hybrid), memory eviction policies, clustering for high availability, cache design patterns, distributed locking, Redlock algorithm, and practical techniques for identifying and safely deleting big keys.

ClusterIn-Memory DatabasePersistence
0 likes · 68 min read
Mastering Redis: Core Data Structures, Persistence, Clustering and Advanced Cache Strategies
Selected Java Interview Questions
Selected Java Interview Questions
Aug 24, 2023 · Backend Development

Implementing Distributed Locks with Redis and Redisson

This article explains how to create Redis‑based distributed locks, discusses common pitfalls such as deadlocks and accidental deletions, and provides practical solutions including atomic expiration commands, Lua scripts, and a complete Redisson Java example for acquiring and releasing locks safely.

Backenddistributed-lockjava
0 likes · 5 min read
Implementing Distributed Locks with Redis and Redisson
Sohu Tech Products
Sohu Tech Products
Aug 23, 2023 · Backend Development

Analysis of Service Avalanche Caused by Jedis Parameter Misconfiguration During Redis Cluster Failover

During a Redis 3.x cluster master‑slave failover, the default Jedis connection timeout of two seconds combined with six automatic retries caused each request’s Redis calls to accumulate up to sixty seconds of latency, triggering Nginx timeouts and a service‑avalanche, which was resolved by lowering timeout and retry settings.

Cluster FailoverConnection RetryJedis
0 likes · 13 min read
Analysis of Service Avalanche Caused by Jedis Parameter Misconfiguration During Redis Cluster Failover
Architect
Architect
Aug 23, 2023 · Backend Development

How to Restrict Certain APIs to Internal Calls Only in a Microservice Architecture

This article examines three practical approaches for preventing external exposure of specific APIs—service isolation, gateway‑based Redis whitelist, and gateway‑plus‑AOP—evaluates their trade‑offs, and provides step‑by‑step Java code to implement the preferred AOP solution in a Spring Cloud environment.

API SecurityMicroservicesSpring Cloud
0 likes · 8 min read
How to Restrict Certain APIs to Internal Calls Only in a Microservice Architecture
Architect's Guide
Architect's Guide
Aug 22, 2023 · Backend Development

Comprehensive Java Backend Interview Guide: Data Structures, JVM, MySQL, Redis, and Performance Optimization

This article presents a full set of Java backend interview questions—ranging from self‑introduction and challenging projects to abstract classes, HashMap internals, B+‑tree characteristics, MySQL vs. skip‑list indexing, Redis skip‑list usage, large‑table optimization, join queries, JVM memory model, and Survivor space—along with detailed English explanations and sample code.

JVMbackend-developmentinterview
0 likes · 22 min read
Comprehensive Java Backend Interview Guide: Data Structures, JVM, MySQL, Redis, and Performance Optimization
JD Tech
JD Tech
Aug 18, 2023 · Backend Development

Designing a Three‑Layer Protection Scheme for High‑Concurrency Contract Queries in JD Logistics

This article analyzes the high‑concurrency contract‑query workload of JD Logistics, examines call sources, query dimensions and volume patterns, and proposes a three‑layer protection architecture—Bloom filter, Redis cache, and database fallback—along with strategies for cache penetration, breakdown, and avalanche mitigation.

Backend ArchitectureCache Designbloom-filter
0 likes · 10 min read
Designing a Three‑Layer Protection Scheme for High‑Concurrency Contract Queries in JD Logistics
Java High-Performance Architecture
Java High-Performance Architecture
Aug 18, 2023 · Databases

Redis 7.2 Unified Release: Boost AI, Vector Search, and Real‑Time Functions

Redis 7.2, the first Unified Redis Release, introduces AI‑ready vector indexing, hybrid semantic search, scalable RAG support, server‑side Triggers and Functions, enhanced geospatial queries, and a preview of high‑performance searchable indexes, while expanding client library support and integrating Redis Data Integration for seamless enterprise data pipelines.

AIRAGServerless Functions
0 likes · 8 min read
Redis 7.2 Unified Release: Boost AI, Vector Search, and Real‑Time Functions
360 Quality & Efficiency
360 Quality & Efficiency
Aug 18, 2023 · Backend Development

Performance Testing and Scalability Evaluation of a Miop‑Based Push Service

This report details the design, deployment, and extensive performance testing of a Miop protocol‑based push service, describing the test environment, methodology, multi‑stage load tests up to one million concurrent connections, observed metrics, encountered issues, and recommendations for ensuring stability and scalability.

MiopPush Serviceconcurrency
0 likes · 10 min read
Performance Testing and Scalability Evaluation of a Miop‑Based Push Service
dbaplus Community
dbaplus Community
Aug 17, 2023 · Databases

Mastering Redis Set Operations for Scalable Statistics and Aggregations

This article explains how to leverage Redis data structures such as Set, Sorted Set, Bitmap, and HyperLogLog to perform aggregation, sorted, binary‑state, and cardinality statistics efficiently in large‑scale applications, while addressing performance considerations and practical implementation details.

BackendHyperLogLogSet
0 likes · 10 min read
Mastering Redis Set Operations for Scalable Statistics and Aggregations
Java Backend Technology
Java Backend Technology
Aug 15, 2023 · Backend Development

How to Ensure Order Service Idempotency and Prevent Duplicate Orders

This article explains how to achieve idempotent order creation and updates in backend services by using unique request identifiers, database unique constraints, Redis flags, and optimistic locking with version columns, while also addressing the ABA problem with practical code examples and diagrams.

ABA problemIdempotencyoptimistic locking
0 likes · 10 min read
How to Ensure Order Service Idempotency and Prevent Duplicate Orders
政采云技术
政采云技术
Aug 15, 2023 · Databases

Understanding and Handling Redis Bigkey Issues

This article explains what Redis bigkeys are, their impact on performance and memory, how they are generated, methods to detect and analyze them—including built‑in commands, SCAN, memory usage, and RDB file inspection—and practical steps to mitigate their effects.

BigKeyMemory OptimizationRDB analysis
0 likes · 12 min read
Understanding and Handling Redis Bigkey Issues
JD Retail Technology
JD Retail Technology
Aug 14, 2023 · Backend Development

Implementing a Lightweight Distributed Scheduling Solution to Replace TBSchedule

To improve stability and reduce costs during high‑traffic events, we replaced the Zookeeper‑dependent TBSchedule framework with a lightweight, Redis‑based distributed scheduler that decentralizes task execution, uses thread pools instead of timers, and supports dynamic scaling and seamless degradation for reliable order processing.

Distributed SchedulingMicroservicesfault tolerance
0 likes · 4 min read
Implementing a Lightweight Distributed Scheduling Solution to Replace TBSchedule
php Courses
php Courses
Aug 14, 2023 · Backend Development

PHP Data Caching: Structures, Index Design Principles, and Code Examples

This article explains PHP data caching techniques—including memory, file, and database caches—provides practical code samples, and outlines key index design principles such as uniqueness, expiration, hotspot optimization, efficient updates, and hierarchical caching to improve performance.

File Cachedatabase cacheindex design
0 likes · 5 min read
PHP Data Caching: Structures, Index Design Principles, and Code Examples
Top Architect
Top Architect
Aug 13, 2023 · Backend Development

Implementing Idempotency in Spring Boot with Custom Annotations and Redis

This article explains the concept of idempotency, identifies naturally idempotent HTTP methods, discusses why idempotency is essential for retries, async callbacks, and message queues, and provides a complete Spring Boot implementation using a custom @Idempotent annotation, AOP, and Redis for token storage.

BackendIdempotencySpring Boot
0 likes · 12 min read
Implementing Idempotency in Spring Boot with Custom Annotations and Redis
Architect's Guide
Architect's Guide
Aug 12, 2023 · Databases

Why Redis Becomes Slow and How to Optimize It

This article explains the common reasons why Redis performance degrades—such as network latency, high‑complexity commands, big keys, concentrated expirations, memory limits, fork overhead, huge pages, AOF settings, CPU binding, swap usage, and memory fragmentation—and provides detailed optimization and troubleshooting steps to restore low latency.

Latencydatabasememory
0 likes · 34 min read
Why Redis Becomes Slow and How to Optimize It
Architecture Digest
Architecture Digest
Aug 9, 2023 · Databases

Using Redis SCAN to Safely Enumerate Keys Instead of KEYS

The article explains why using the KEYS command on a large Redis dataset can block the server, introduces the SCAN command as a non‑blocking alternative with cursor‑based iteration, and provides usage examples and best‑practice tips for safely listing prefixed keys.

CacheKEYSSCAN
0 likes · 4 min read
Using Redis SCAN to Safely Enumerate Keys Instead of KEYS
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 8, 2023 · Backend Development

Five Distributed Global Unique ID Generation Schemes and Their Comparison

This article explains the concept of distributed global unique identifiers, outlines four essential characteristics of such IDs, and provides a detailed comparison of five generation schemes—UUID, database‑generated IDs, Redis, Zookeeper, and Snowflake—highlighting their advantages, drawbacks, and suitable use cases.

Unique IDredissnowflake
0 likes · 8 min read
Five Distributed Global Unique ID Generation Schemes and Their Comparison
Java Interview Crash Guide
Java Interview Crash Guide
Aug 8, 2023 · Operations

How We Built 99.99% High Availability for a Billion‑User Membership System

This article details the end‑to‑end high‑availability architecture—including dual‑center Elasticsearch clusters, Redis caching with distributed locks, and a dual‑center MySQL partitioned setup—that enables a membership platform serving billions of users to sustain massive traffic while ensuring data consistency and rapid recovery.

ElasticsearchScalabilitySystem Architecture
0 likes · 21 min read
How We Built 99.99% High Availability for a Billion‑User Membership System
IT Services Circle
IT Services Circle
Aug 5, 2023 · Backend Development

Comprehensive Backend Interview Guide: Redis, MySQL, Operating System, Network, and Java Fundamentals

This article provides a detailed backend interview cheat‑sheet covering Redis data structures and performance issues, MySQL indexing and transaction principles, operating‑system process and thread concepts, TCP/UDP networking differences, and common Java garbage‑collection algorithms, all illustrated with examples and code snippets.

NetworkingOperating Systembackend interview
0 likes · 20 min read
Comprehensive Backend Interview Guide: Redis, MySQL, Operating System, Network, and Java Fundamentals
Code Ape Tech Column
Code Ape Tech Column
Aug 4, 2023 · Backend Development

Comprehensive Guide to Rate Limiting in Microservice Architecture Using Dubbo, Spring Cloud, Sentinel, Redis, and Custom Starters

This article explains the importance of rate limiting in microservice systems, compares various governance frameworks such as Dubbo and Spring Cloud, and provides detailed implementations using Guava, Sentinel, Redis+Lua scripts, and a custom Spring Boot starter, complete with code examples and deployment steps.

redis
0 likes · 27 min read
Comprehensive Guide to Rate Limiting in Microservice Architecture Using Dubbo, Spring Cloud, Sentinel, Redis, and Custom Starters
Architect
Architect
Aug 1, 2023 · Backend Development

How to Master Rate Limiting in Microservices: From Dubbo to Redis and Sentinel

This article walks through the importance of rate limiting in microservice architectures, compares Dubbo, Spring Cloud, and gateway approaches, explains token‑bucket, leaky‑bucket and sliding‑window algorithms, and provides step‑by‑step AOP implementations using Guava, Sentinel, and Redis with full code samples.

DubboMicroservicesSpring Boot
0 likes · 32 min read
How to Master Rate Limiting in Microservices: From Dubbo to Redis and Sentinel