Tagged articles
3240 articles
Page 14 of 33
Sanyou's Java Diary
Sanyou's Java Diary
Feb 13, 2023 · Backend Development

Can Redis Replace MQ? Building a Reliable Delayed Queue with Keyspace Events and Redisson

This article compares two Redis‑based delayed‑queue approaches—listening to key‑space expiration events and using Redisson’s built‑in delayed queue—detailing their principles, Spring Boot demos, pitfalls, and why Redisson offers a more reliable solution for distributed applications.

Keyspace NotificationsSpring Bootdelayed queue
0 likes · 18 min read
Can Redis Replace MQ? Building a Reliable Delayed Queue with Keyspace Events and Redisson
Top Architect
Top Architect
Feb 11, 2023 · Backend Development

Comprehensive Guide to User Login Flow, Token Management, and Anonymous Access in Backend Systems

This article explains the complete user login process, including mobile verification, token generation, token expiration policies, request‑rate limiting with Redis, anonymous request handling, blacklist management, and provides full Java Spring code examples for implementing these backend authentication mechanisms.

API SecurityAuthenticationBackend
0 likes · 11 min read
Comprehensive Guide to User Login Flow, Token Management, and Anonymous Access in Backend Systems
The Dominant Programmer
The Dominant Programmer
Feb 9, 2023 · Cloud Native

Step-by-Step Docker‑Compose Guide to Deploy a SpringBoot‑Vue‑Redis‑MySQL Stack

This article walks through installing Docker and Docker‑Compose, creating a project directory, writing a docker‑compose.yml that defines Redis, MySQL, Nginx, Java, and a file‑preview service, configuring each container, and using docker‑compose commands to build, start, monitor, and manage the full SpringBoot‑Vue application stack.

Docker ComposeNginxSpringBoot
0 likes · 12 min read
Step-by-Step Docker‑Compose Guide to Deploy a SpringBoot‑Vue‑Redis‑MySQL Stack
Tencent Cloud Developer
Tencent Cloud Developer
Feb 8, 2023 · Backend Development

Design and Implementation of QQ Reminder Subscription Push System

Tencent’s QQ reminder subscription push system combines push‑pull prefetching, heterogeneous MySQL/Redis storage, delayed‑queue triggers, Redis‑based rate‑limiting, task scattering, message‑queue decoupling, at‑least‑once delivery, and dual‑replica disaster recovery within a dispatcher‑worker architecture to ensure reliable, controllable, low‑latency mass notifications.

At-Least-OncePush NotificationQQ
0 likes · 13 min read
Design and Implementation of QQ Reminder Subscription Push System
ITPUB
ITPUB
Feb 7, 2023 · Backend Development

How Redis Enables Ultra‑Fast Flash Sale Handling

This article explains why Redis is essential for flash‑sale (秒杀) systems, detailing the load characteristics, the three sale phases, stock‑checking and decrement strategies, atomic operations, distributed locks, data modeling, and practical deployment recommendations for high‑concurrency back‑end services.

atomic operationsdistributed-lockflash sale
0 likes · 11 min read
How Redis Enables Ultra‑Fast Flash Sale Handling
Architecture Digest
Architecture Digest
Feb 5, 2023 · Databases

Redis Memory Management and Optimization Practices

This article explains Redis's internal memory architecture, details the various memory components such as used_memory, object memory, client buffers, and fragmentation, and provides practical optimization techniques and real‑world case studies to reduce memory usage and improve performance.

Memory Managementdatabasesperformance
0 likes · 22 min read
Redis Memory Management and Optimization Practices
Sohu Tech Products
Sohu Tech Products
Feb 1, 2023 · Databases

How to Track Redis Key Changes Using MONITOR, Keyspace Events, and AOF Files

This article explains various methods to monitor Redis key changes—including using the MONITOR command, configuring keyspace event notifications, and parsing AOF files with optional timestamps—detailing their setup, advantages, limitations, and practical code examples for accurate change tracking in production environments.

AOFKey MonitoringKeyspace Events
0 likes · 13 min read
How to Track Redis Key Changes Using MONITOR, Keyspace Events, and AOF Files
Java Architect Essentials
Java Architect Essentials
Jan 31, 2023 · Big Data

Optimizing Large-Scale Data Retrieval: ClickHouse Pagination, Elasticsearch Scroll Scan, ES+HBase, and RediSearch + RedisJSON Solutions

This article examines a business requirement to filter and rank up to 100,000 records from a pool of tens of millions, presenting and evaluating four technical solutions—multithreaded ClickHouse pagination, Elasticsearch scroll‑scan deep paging, an ES‑HBase combined query, and a RediSearch + RedisJSON approach—along with performance data and code examples.

ElasticsearchHBasePerformanceOptimization
0 likes · 12 min read
Optimizing Large-Scale Data Retrieval: ClickHouse Pagination, Elasticsearch Scroll Scan, ES+HBase, and RediSearch + RedisJSON Solutions
Laravel Tech Community
Laravel Tech Community
Jan 31, 2023 · Databases

Redis 7.0.8 Released with Security and Bug Fixes

Redis version 7.0.8 has been released, addressing critical security vulnerabilities (CVE-2022-35977 and CVE-2023-22458) and fixing several bugs related to command handling, incremental rehashing, timeout blocking, and sentinel IP changes, with a full changelog available on GitHub.

BugFixVersion7.0.8database
0 likes · 2 min read
Redis 7.0.8 Released with Security and Bug Fixes
政采云技术
政采云技术
Jan 31, 2023 · Artificial Intelligence

Redis Object: The Bridge Between Two Data Structures

RedisObject serves as a bridge between Redis's external data structures and internal implementations, enabling efficient storage and retrieval of data types like strings, lists, hashes, sets, and sorted sets through a unified object model.

Data Structuresinternal-implementationredis
0 likes · 24 min read
Redis Object: The Bridge Between Two Data Structures
Java High-Performance Architecture
Java High-Performance Architecture
Jan 29, 2023 · Information Security

Master Spring Security: From Quick Start to Advanced JWT Authentication and RBAC

This comprehensive guide walks you through Spring Security fundamentals, setting up a Spring Boot project, configuring authentication with JWT and Redis, implementing RBAC permission management, customizing error handling, enabling CORS, and addressing CSRF, providing complete code examples and detailed explanations for secure backend development.

AuthenticationAuthorizationJWT
0 likes · 45 min read
Master Spring Security: From Quick Start to Advanced JWT Authentication and RBAC
dbaplus Community
dbaplus Community
Jan 27, 2023 · Operations

Deploy and Use a Lightweight Redis Monitor for Real‑Time Metrics

This guide explains how to install, configure, and run a lightweight Redis Monitor that visualizes connection count, QPS, memory usage and replication delay, supports standalone, sentinel and cluster modes, and provides email and WeChat alerts via simple PHP scripts.

LinuxPHPautomation
0 likes · 7 min read
Deploy and Use a Lightweight Redis Monitor for Real‑Time Metrics
IT Architects Alliance
IT Architects Alliance
Jan 27, 2023 · Backend Development

Mastering Session Management and SSO: From Cookies to CAS with Redis

This article analyzes the limitations of traditional HTTP session mechanisms in single‑server and clustered environments, explains why session sharing is essential for multi‑system products, and presents practical solutions such as session replication and centralized Redis storage, followed by a detailed walkthrough of CAS‑based single sign‑on implementation with Java Spring code examples and a comparison to OAuth2.

AuthenticationCASSSO
0 likes · 15 min read
Mastering Session Management and SSO: From Cookies to CAS with Redis
JavaEdge
JavaEdge
Jan 25, 2023 · Backend Development

How Redis Powers High‑Concurrency Flash Sales (秒杀)

This article explains why Redis is essential for flash‑sale systems, detailing load characteristics, the three sale phases, Redis features such as high concurrency and atomic operations, and practical implementations using Lua scripts and distributed locks to ensure safe stock checking and deduction.

atomic operationsbackend-developmentdistributed-lock
0 likes · 12 min read
How Redis Powers High‑Concurrency Flash Sales (秒杀)
ITPUB
ITPUB
Jan 25, 2023 · Backend Development

Mastering Distributed Caching with Redis and Memcached in Spring Boot

This article explains the fundamentals, characteristics, and use‑cases of distributed caching, compares Memcached and Redis, and provides a step‑by‑step Spring Boot implementation with code samples, testing guidance, and solutions to common cache pitfalls such as hot keys, penetration, and avalanche.

Cache DesignSpring Bootdistributed cache
0 likes · 20 min read
Mastering Distributed Caching with Redis and Memcached in Spring Boot
Java High-Performance Architecture
Java High-Performance Architecture
Jan 23, 2023 · Databases

Unlock 16 Powerful Redis Use Cases to Supercharge Your Applications

This article explores sixteen practical Redis patterns—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, queues, lotteries, likes, tags, product filtering, follow relationships, and leaderboards—detailing their data types, commands, and code examples for building high‑performance systems.

Data Structurescachingredis
0 likes · 9 min read
Unlock 16 Powerful Redis Use Cases to Supercharge Your Applications
Cognitive Technology Team
Cognitive Technology Team
Jan 19, 2023 · Databases

Implementation Principles of Redis Pub/Sub (Ordinary Subscription)

This article explains how Redis implements the Pub/Sub messaging pattern by storing subscription relationships in hash‑based dictionaries, detailing the processing flow of SUBSCRIBE and PUBLISH commands, cluster propagation, and key limitations such as lack of persistence and client buffer constraints.

Message Queuedatabasespub/sub
0 likes · 5 min read
Implementation Principles of Redis Pub/Sub (Ordinary Subscription)
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 17, 2023 · Databases

Understanding Redis Persistence: RDB and AOF Overview

This article provides a comprehensive overview of Redis persistence mechanisms, detailing the concepts, features, advantages, disadvantages, trigger strategies, operational processes, configuration options, and troubleshooting steps for both RDB (snapshot) and AOF (append‑only file) approaches.

AOFBackupPersistence
0 likes · 10 min read
Understanding Redis Persistence: RDB and AOF Overview
Architect
Architect
Jan 16, 2023 · Databases

Redis Fundamentals: Pipelines, Pub/Sub, Expiration, Transactions, Persistence, Distributed Locks and Clustering

This article provides a comprehensive overview of Redis, covering basic concepts, pipeline optimization, publish/subscribe messaging, key expiration strategies, transaction behavior, persistence mechanisms (RDB, AOF, hybrid), distributed locking techniques, Redisson and Redlock algorithms, as well as high‑availability setups using replication, Sentinel and Cluster modes.

Distributed LocksPersistenceTransactions
0 likes · 32 min read
Redis Fundamentals: Pipelines, Pub/Sub, Expiration, Transactions, Persistence, Distributed Locks and Clustering
Code Ape Tech Column
Code Ape Tech Column
Jan 16, 2023 · Backend Development

Implementing Two-Level Caching with Spring Cache, Caffeine, and Redis

This article explains how to replace manual cache handling with Spring Cache annotations, introduces the concepts of L1 (Caffeine) and L2 (Redis) caches, discusses design considerations for consistency, null handling, eviction, and provides practical Maven and configuration examples for Java backend applications.

CacheCaffeineredis
0 likes · 18 min read
Implementing Two-Level Caching with Spring Cache, Caffeine, and Redis
Su San Talks Tech
Su San Talks Tech
Jan 16, 2023 · Backend Development

Why Is Redis So Fast? Unveiling Its Core Data Structures

This article explains how Redis achieves high performance by storing data in memory and using a variety of specialized data structures—such as SDS, quicklist, listpack, hash tables, and skip lists—to implement its key‑value store, covering their designs, trade‑offs, and evolution across Redis versions.

Data StructuresListpackQuicklist
0 likes · 49 min read
Why Is Redis So Fast? Unveiling Its Core Data Structures
Programmer DD
Programmer DD
Jan 15, 2023 · Databases

Why Caching and Redis Are Essential for High‑Performance Web Applications

This article explains why modern internet products need caching to handle massive real‑time data, introduces Redis as an in‑memory database with persistence, master‑slave replication, and clustering, and demonstrates how these techniques dramatically improve performance, scalability, and reliability of web services.

ClusterMaster‑SlaveRead-Write Separation
0 likes · 13 min read
Why Caching and Redis Are Essential for High‑Performance Web Applications
Selected Java Interview Questions
Selected Java Interview Questions
Jan 14, 2023 · Databases

Understanding Redis: Is It Truly Single-Threaded?

This article clarifies the common misconception that Redis is purely single‑threaded by detailing its single‑threaded network I/O model, the evolution of multithreading support across versions, the client‑server request flow, and the underlying Reactor patterns that enable efficient concurrency.

Reactor Modelconcurrencydatabase
0 likes · 14 min read
Understanding Redis: Is It Truly Single-Threaded?
Architecture Digest
Architecture Digest
Jan 14, 2023 · Backend Development

Design and Implementation of a Follow/Unfollow Microservice Using MySQL and Redis

This article details the requirements analysis, design approach, database schema, and step‑by‑step implementation of a follow/unfollow microservice using MySQL for persistence and Redis Sets for efficient set operations, including Maven dependencies, Spring Boot configuration, RedisTemplate setup, service, controller, and testing of common‑follow queries.

Follow ServiceMicroserviceSpring Boot
0 likes · 17 min read
Design and Implementation of a Follow/Unfollow Microservice Using MySQL and Redis
Java Architect Essentials
Java Architect Essentials
Jan 13, 2023 · Backend Development

How to Build a Scalable Follow Service with MySQL, Redis, and Spring Cloud

This article walks through the complete design and implementation of a friend‑follow microservice, covering requirement analysis, MySQL table schema, Redis set operations, Spring Boot dependencies, configuration, service and controller code, gateway routing, and end‑to‑end testing with concrete examples and performance insights.

Follow ServiceMicroservicesSpring Boot
0 likes · 12 min read
How to Build a Scalable Follow Service with MySQL, Redis, and Spring Cloud
macrozheng
macrozheng
Jan 12, 2023 · Databases

Choosing the Right Java Redis Client: Jedis vs Lettuce vs Redisson

This article compares three popular Java Redis clients—Jedis, Lettuce, and Redisson—detailing their advantages, drawbacks, and recommended usage scenarios, helping developers select the most suitable client based on performance, thread safety, and advanced Redis features such as clustering, sentinel, and distributed locks.

Client ComparisonJedisLettuce
0 likes · 9 min read
Choosing the Right Java Redis Client: Jedis vs Lettuce vs Redisson
Programmer DD
Programmer DD
Jan 11, 2023 · Databases

Redis Deep Dive: Pipelines, Pub/Sub, Persistence, Locks & Cluster

This comprehensive guide explores Redis fundamentals and advanced features, covering pipelines for reduced RTT, publish/subscribe messaging, key expiration strategies, transaction behavior, persistence mechanisms (RDB, AOF, hybrid), distributed locking techniques, sentinel high‑availability, and cluster sharding, with practical code examples and diagrams.

Distributed Systemsdatabaseredis
0 likes · 47 min read
Redis Deep Dive: Pipelines, Pub/Sub, Persistence, Locks & Cluster
Java Architect Essentials
Java Architect Essentials
Jan 8, 2023 · Backend Development

Implementing Instant, Chunked, and Resumable File Uploads in Java

The article explains how to improve large file upload experiences by using instant (MD5‑based) upload, chunked upload, and resumable upload techniques, and provides complete Java backend implementations with Redis tracking, RandomAccessFile and MappedByteBuffer, plus practical deployment recommendations.

Backendchunked uploadfile upload
0 likes · 12 min read
Implementing Instant, Chunked, and Resumable File Uploads in Java
Architect's Guide
Architect's Guide
Jan 6, 2023 · Backend Development

Redis Interview Questions: Solving Cache Penetration, Cache Breakdown, and Cache Avalanche

This article explains common Redis caching issues—cache penetration, cache breakdown, and cache avalanche—detailing their causes and practical mitigation techniques such as parameter validation, null caching, Bloom filters, mutex locks, hot‑data strategies, and staggered expiration to ensure system stability.

Cachecache-avalanchecache-breakdown
0 likes · 9 min read
Redis Interview Questions: Solving Cache Penetration, Cache Breakdown, and Cache Avalanche
Top Architect
Top Architect
Jan 5, 2023 · Backend Development

Design and Architecture of a One‑to‑One Instant Messaging System

This article analyzes the functional decomposition, data structures, system architecture, push‑pull mode selection, and message flow of a one‑to‑one instant messaging service, providing practical design guidelines and example Redis/MySQL schemas for building a scalable chat backend.

Backend ArchitectureInstant MessagingMessage Queue
0 likes · 13 min read
Design and Architecture of a One‑to‑One Instant Messaging System
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 3, 2023 · Backend Development

Understanding Distributed Locks and Redis RedLock Implementation

This article explains the concept of distributed locks, illustrates real‑world scenarios such as concurrent ATM transactions, and details how to implement reliable distributed locking with Redis using TTL keys, SETNX, Lua scripts, lock renewal, high‑availability considerations, and the RedLock algorithm.

BackendLuaRedlock
0 likes · 8 min read
Understanding Distributed Locks and Redis RedLock Implementation
Java High-Performance Architecture
Java High-Performance Architecture
Dec 31, 2022 · Databases

Mastering Alibaba Cloud Redis: Key Design, Commands, and Client Best Practices

This guide details Alibaba Cloud Redis development standards, including readable key naming, value size limits, safe command usage, client connection pooling, eviction policies, useful tooling, and efficient big‑key deletion methods, helping engineers build high‑performance, reliable Redis services.

Alibaba CloudBigKey ManagementClient Pooling
0 likes · 11 min read
Mastering Alibaba Cloud Redis: Key Design, Commands, and Client Best Practices
Code Ape Tech Column
Code Ape Tech Column
Dec 28, 2022 · Big Data

Design and Optimization of Querying 100k Records from Tens of Millions Using ClickHouse, Elasticsearch, HBase, and Redis

This article presents a comprehensive analysis and multiple design alternatives—including multithreaded ClickHouse pagination, Elasticsearch scroll‑scan, ES+HBase hybrid, and RediSearch+RedisJSON—to efficiently filter, sort, and de‑duplicate up to 100,000 records from a pool of tens of millions, with detailed performance comparisons and code examples.

HBasequery optimizationredis
0 likes · 10 min read
Design and Optimization of Querying 100k Records from Tens of Millions Using ClickHouse, Elasticsearch, HBase, and Redis
Java Architect Essentials
Java Architect Essentials
Dec 27, 2022 · Backend Development

Building a Scalable Follow Service with MySQL, Redis Sets, and Spring Boot

This article walks through the design and implementation of a friend‑follow microservice using MySQL for persistence, Redis Sets for fast set operations, and Spring Boot, covering requirement analysis, data modeling, dependency setup, configuration, service logic, and testing with concrete code examples and performance insights.

BackendFollow ServiceMicroservices
0 likes · 19 min read
Building a Scalable Follow Service with MySQL, Redis Sets, and Spring Boot
ITPUB
ITPUB
Dec 25, 2022 · Backend Development

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

This article examines ten common traps when implementing Redis distributed locks—ranging from non‑atomic setnx/expire operations and missing expirations to lock release ordering, re‑entrancy, master‑slave replication issues, and the Redlock algorithm—providing concrete code examples, explanations, and best‑practice solutions.

BackendPitfallsjava
0 likes · 15 min read
10 Hidden Pitfalls of Using Redis Distributed Locks (and How to Avoid Them)
dbaplus Community
dbaplus Community
Dec 20, 2022 · Databases

Why Redis Cluster’s CLUSTER SLOTS Command Slows Down Large Deployments and How to Fix It

This article analyzes the latency spikes observed in large‑scale Redis clusters after node expansion, identifies the CLUSTER SLOTS command and slot‑migration handling in hiredis‑vip and Jedis as the root cause, proposes a slot‑traversal optimization, and demonstrates a ten‑fold performance improvement with detailed benchmarks.

Clusterdatabaseredis
0 likes · 19 min read
Why Redis Cluster’s CLUSTER SLOTS Command Slows Down Large Deployments and How to Fix It
php Courses
php Courses
Dec 20, 2022 · Databases

Redis Memory Not Releasing Issue and Analysis of 20 Million Expiring Keys

This article describes a Redis 5.0 memory leak scenario where 20 million keys with expiration caused memory not to be released, details the investigation steps, findings about the activeExpireCycle, and concludes that memory will eventually be freed, followed by a promotional announcement for a PHP online live class.

Memory ManagementPHPdatabases
0 likes · 3 min read
Redis Memory Not Releasing Issue and Analysis of 20 Million Expiring Keys
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 19, 2022 · Databases

Using Redis Bloom Filter to Prevent Cache Penetration and Understanding Redis Memory Eviction Policies

This article explains cache penetration scenarios, outlines Redis memory eviction strategies, introduces RedisBloom's Bloom filter and Cuckoo filter for detecting illegal requests, provides configuration details, and demonstrates practical commands to mitigate cache penetration in backend systems.

BackendRedisBloombloom-filter
0 likes · 10 min read
Using Redis Bloom Filter to Prevent Cache Penetration and Understanding Redis Memory Eviction Policies
dbaplus Community
dbaplus Community
Dec 18, 2022 · Backend Development

Mastering Cache Consistency: Strategies to Keep Redis and MySQL in Sync

This article explores the challenges of cache‑database consistency under the cache‑aside pattern, compares four cache‑update strategies, and provides practical techniques—including delayed double delete, MQ‑driven invalidation, and binlog subscription—to achieve near‑real‑time consistency while maintaining high read performance.

BinlogCache Consistencycache-aside
0 likes · 17 min read
Mastering Cache Consistency: Strategies to Keep Redis and MySQL in Sync
Su San Talks Tech
Su San Talks Tech
Dec 16, 2022 · Backend Development

How Redisson Implements Distributed Locks with Redis: A Deep Dive into Lua Scripts and Watchdog

This article explains how Redisson provides Redis‑based distributed locks, covering atomic lock acquisition via Lua scripts, lease time handling, watchdog auto‑extension, re‑entrant and fair locks, read‑write locks, multi‑lock batching, and the RedLock algorithm for high‑availability scenarios.

Lua ScriptWatchdogfair lock
0 likes · 24 min read
How Redisson Implements Distributed Locks with Redis: A Deep Dive into Lua Scripts and Watchdog
Java High-Performance Architecture
Java High-Performance Architecture
Dec 15, 2022 · Backend Development

How to Build a High‑Performance Follow Service with MySQL, Redis, and Spring Boot

This article explains how to design and implement a friend/follow microservice using MySQL for persistence and Redis sets for efficient set operations, covering database schema, Spring Boot configuration, Redis template setup, service and controller logic, and testing of follow, unfollow, and mutual‑follow features.

Follow ServiceMicroserviceSpring Boot
0 likes · 19 min read
How to Build a High‑Performance Follow Service with MySQL, Redis, and Spring Boot
JavaEdge
JavaEdge
Dec 14, 2022 · Backend Development

Designing Scalable Shopping Cart Storage: Principles and Choices

This article explains how to design the storage layer for an e‑commerce shopping cart, covering core functionalities, required attributes, client‑side temporary storage, server‑side persistence options with MySQL and Redis, and the trade‑offs between reliability, performance, and complexity.

Shopping Cartclient-side storagedata synchronization
0 likes · 12 min read
Designing Scalable Shopping Cart Storage: Principles and Choices
Top Architect
Top Architect
Dec 14, 2022 · Backend Development

Implementing Inventory Deduction and Preventing Overselling in E‑commerce with MySQL and Redis

This article explains three common inventory‑deduction strategies for e‑commerce—single‑field MySQL, multi‑row MySQL, and Redis incrby—analyzes their drawbacks under high concurrency, and provides a complete Redis‑Lua based solution with distributed locking, including full Java code examples for the callback interface, stock service, and controller.

distributed-lockinventoryredis
0 likes · 10 min read
Implementing Inventory Deduction and Preventing Overselling in E‑commerce with MySQL and Redis
Top Architect
Top Architect
Dec 14, 2022 · Backend Development

Cache Basics: Concepts, Types, Advantages, and Implementation Strategies

This article explains the fundamentals of caching, why caches (especially Redis) are essential for high‑performance and high‑concurrency scenarios, describes local, distributed, and multi‑level cache architectures, outlines their pros and cons, and provides practical implementation guidance.

Multi-level Cachedistributed cachelocal cache
0 likes · 10 min read
Cache Basics: Concepts, Types, Advantages, and Implementation Strategies
Selected Java Interview Questions
Selected Java Interview Questions
Dec 14, 2022 · Backend Development

Comprehensive Guide to Building a SpringBoot Backend with HttpClient, Token Management, Redis Caching, and Rate Limiting

This article provides a step‑by‑step tutorial on creating a SpringBoot demo that integrates Apache HttpClient for GET/POST requests, handles token acquisition and caching with Redis, optimizes configuration via application.yml, and implements distributed locking and Guava‑based rate limiting for high‑concurrency scenarios.

HttpClientSpringBootjava
0 likes · 22 min read
Comprehensive Guide to Building a SpringBoot Backend with HttpClient, Token Management, Redis Caching, and Rate Limiting
Java Architect Essentials
Java Architect Essentials
Dec 11, 2022 · Industry Insights

What’s New in IntelliJ IDEA 2022.3? A Deep Dive into UI, Redis, and Java Enhancements

IntelliJ IDEA 2022.3 introduces a refreshed UI, a universal Settings Sync solution, native WSL 2 project handling, enhanced Spring Bean autowiring, OpenAPI generation, full Redis support, improved intent previews, Search Everywhere, Java 19 features, Maven plugin changes, and numerous editor and user‑experience refinements, all aimed at boosting developer productivity.

IDEIntelliJ IDEAUI
0 likes · 9 min read
What’s New in IntelliJ IDEA 2022.3? A Deep Dive into UI, Redis, and Java Enhancements
Top Architect
Top Architect
Dec 11, 2022 · Backend Development

Comprehensive Guide to Rate Limiting: Concepts, Common Algorithms, and Practical Implementation Strategies

This article explains the fundamental concepts of rate limiting, reviews popular algorithms such as token bucket, leaky bucket, and sliding window, and details practical implementation methods across single‑machine and distributed environments using tools like Guava, Nginx, Redis, and Sentinel.

BackendToken Bucketrate limiting
0 likes · 18 min read
Comprehensive Guide to Rate Limiting: Concepts, Common Algorithms, and Practical Implementation Strategies
Java Captain
Java Captain
Dec 8, 2022 · Backend Development

Design and Implementation of a Friend Follow Microservice Using MySQL and Redis

This article explains how to design and implement a friend follow microservice by combining MySQL for persistent storage with Redis sets for efficient follow/unfollow operations and mutual follow queries, covering database schema, Maven dependencies, Spring Boot configuration, RedisTemplate setup, service and controller logic, and testing procedures.

Follow FeatureMicroserviceSpring Boot
0 likes · 15 min read
Design and Implementation of a Friend Follow Microservice Using MySQL and Redis
Sohu Tech Products
Sohu Tech Products
Dec 7, 2022 · Databases

How to Diagnose and Resolve Redis Performance Issues

This article explains how to identify Redis latency problems, measure baseline performance, monitor slow commands, and address common causes such as network RTT, forked RDB snapshots, transparent huge pages, swap usage, AOF configuration, key expiration bursts, and big keys, providing practical solutions and a checklist for remediation.

Latencydatabaseoptimization
0 likes · 18 min read
How to Diagnose and Resolve Redis Performance Issues
JD Cloud Developers
JD Cloud Developers
Dec 7, 2022 · Backend Development

Mastering Redis Integration in Rust: Singleton & Connection Pool Guide

This article explains how to integrate Redis into a Rust backend by defining resource structs, wrapping the client with enums, implementing a connection pool using r2d2, creating a global singleton with once_cell, and providing example code for querying and storing data.

Connection PoolRustbackend-development
0 likes · 8 min read
Mastering Redis Integration in Rust: Singleton & Connection Pool Guide
JD Tech Talk
JD Tech Talk
Dec 7, 2022 · Backend Development

Using Redis in Rust: Singleton Pattern and Connection Pooling with r2d2

This article explains how to integrate Redis into a Rust backend by defining resource structs, wrapping the redis‑rs client, implementing a connection manager for r2d2, creating a global singleton pool with OnceCell, and demonstrating basic CRUD operations through example code.

Connection Poolingbackend-developmentoncecell
0 likes · 8 min read
Using Redis in Rust: Singleton Pattern and Connection Pooling with r2d2
Top Architect
Top Architect
Dec 6, 2022 · Backend Development

Distributed ID Generation: Principles, Requirements, and Common Solutions

The article explains why traditional auto‑increment primary keys are unsuitable for distributed systems, outlines the key requirements for a distributed identifier, and reviews several practical generation schemes—including UUID, database auto‑increment, segment mode, Redis, Snowflake, Baidu UidGenerator, Meituan Leaf, and Didi TinyID—along with their advantages, drawbacks, and sample implementations.

BackendID generationdistributed-id
0 likes · 13 min read
Distributed ID Generation: Principles, Requirements, and Common Solutions
Architect
Architect
Dec 5, 2022 · Backend Development

Distributed ID Generation: Requirements, Schemes, and Implementations

This article explains why distributed systems need special ID generation, outlines the key requirements such as global uniqueness and monotonicity, and compares various solutions including UUID, database auto‑increment, segment mode, Redis, Snowflake, Baidu UidGenerator, Meituan Leaf, and Didi TinyID.

ID generationdistributed-idredis
0 likes · 13 min read
Distributed ID Generation: Requirements, Schemes, and Implementations
Java High-Performance Architecture
Java High-Performance Architecture
Dec 5, 2022 · Backend Development

How to Build a High‑Performance, Highly Available Membership System with ES, Redis, and MySQL

This article explains how a large‑scale membership system achieves high performance and high availability by using a dual‑center Elasticsearch cluster, traffic‑isolated three‑cluster architecture, Redis caching with dual‑center clusters, and a MySQL partitioned dual‑center setup, while also detailing optimization, migration, and fine‑grained flow‑control strategies.

Backend ArchitectureElasticsearchScalability
0 likes · 21 min read
How to Build a High‑Performance, Highly Available Membership System with ES, Redis, and MySQL
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 1, 2022 · Databases

Understanding Redis Cluster Architecture: High Availability, Data Partitioning, and Proxy Strategies

This article explains the fundamental concepts of Redis cluster architecture, covering high‑availability with Sentinel, data partitioning methods, proxy‑based sharding techniques, the mechanics of Redis Cluster without a central node, and practical considerations for multi‑key operations in a distributed environment.

ClusterData PartitioningProxy
0 likes · 9 min read
Understanding Redis Cluster Architecture: High Availability, Data Partitioning, and Proxy Strategies
Tencent Cloud Developer
Tencent Cloud Developer
Dec 1, 2022 · Databases

Mastering Redis: From Basics, Installation to Advanced Features and Real‑World Use Cases

This comprehensive guide explains what Redis is, its core data structures, typical scenarios such as caching, counters, message queues and leaderboards, installation steps on Linux, configuration options, advanced features like pipelines, Lua scripting, persistence mechanisms, replication, caching strategies, consistency challenges, and distributed locking techniques.

Data StructuresDistributed LocksPersistence
0 likes · 64 min read
Mastering Redis: From Basics, Installation to Advanced Features and Real‑World Use Cases
Architect's Guide
Architect's Guide
Dec 1, 2022 · Databases

Comprehensive Guide to Redis: Architecture, Data Structures, Persistence, Replication, Clustering, and Advanced Features

This article provides an in‑depth overview of Redis, covering its single‑threaded architecture, core data structures (String, Hash, List, Set, ZSet), persistence mechanisms (RDB, AOF, hybrid), replication, Sentinel and cluster designs, memory eviction policies, bitmap analytics, skiplist implementation, and strategies for ensuring data consistency.

ConsistencyData StructuresPersistence
0 likes · 27 min read
Comprehensive Guide to Redis: Architecture, Data Structures, Persistence, Replication, Clustering, and Advanced Features
Java Architect Essentials
Java Architect Essentials
Nov 30, 2022 · Backend Development

Understanding Redisson Distributed Locks: Architecture, Reentrancy, Fairness, and WatchDog Mechanism

This article explains Redisson's role as a Java in‑memory data grid built on Redis, compares it with Jedis and Lettuce, and details how Redisson implements distributed locks—including simple lock/unlock, Lua‑based reentrant locks, automatic lock renewal (WatchDog), and a fair lock using Redis lists and sorted sets—providing complete code examples and execution flow.

Luadistributed-lockfair lock
0 likes · 31 min read
Understanding Redisson Distributed Locks: Architecture, Reentrancy, Fairness, and WatchDog Mechanism
Java High-Performance Architecture
Java High-Performance Architecture
Nov 28, 2022 · Backend Development

Mastering Distributed ID Generation: Strategies, Pros, and Code Samples

This article explains why distributed ID generation is essential for modern micro‑service architectures, outlines the key requirements such as global uniqueness and monotonicity, and compares popular solutions like UUID, database auto‑increment, segment mode, Redis, Snowflake, Baidu UidGenerator, Meituan Leaf, and Didi TinyID with practical code examples.

BackendID generationdistributed-id
0 likes · 13 min read
Mastering Distributed ID Generation: Strategies, Pros, and Code Samples
Top Architect
Top Architect
Nov 27, 2022 · Fundamentals

Understanding Bloom Filters and Their Use in Preventing Cache Penetration

This article explains the problem of cache penetration, introduces Bloom filters as a space‑efficient probabilistic data structure to block invalid queries, demonstrates implementations using Guava and Redis with Java code, analyzes false‑positive rates, and discusses practical application scenarios and performance testing results.

Cachebloom-filterdata-structures
0 likes · 17 min read
Understanding Bloom Filters and Their Use in Preventing Cache Penetration
ITPUB
ITPUB
Nov 26, 2022 · Databases

Mastering Redis Distributed Locks with Jedis: A Step‑by‑Step Guide

This article introduces Redis’s evolution, key features for distributed locking, explains lock and unlock workflows with Jedis, presents Java code examples, discusses pitfalls like non‑atomic operations, and offers configuration and performance tuning tips for reliable, high‑availability lock services.

Jedisdatabasedistributed-lock
0 likes · 20 min read
Mastering Redis Distributed Locks with Jedis: A Step‑by‑Step Guide
Architect
Architect
Nov 25, 2022 · Fundamentals

Understanding Bloom Filters and Their Role in Preventing Cache Penetration

This article explains cache penetration, introduces Bloom filters as a space‑efficient probabilistic data structure, demonstrates how to implement them with Guava and Redis in Java, and discusses practical usage scenarios and performance considerations.

Data StructuresGuavabloom-filter
0 likes · 17 min read
Understanding Bloom Filters and Their Role in Preventing Cache Penetration
Sanyou's Java Diary
Sanyou's Java Diary
Nov 24, 2022 · Backend Development

Why Does Redis Increment Return Null Inside @Transactional? The Hidden Interaction Explained

This article investigates a production issue where Redis increment operations return null each morning, explores hypotheses about Redis pipelines, transactions, and Spring @Transactional interaction, reproduces the bug, analyzes the source code, and proposes two practical solutions to prevent null returns.

Redis Transactionbackend-developmentredis
0 likes · 10 min read
Why Does Redis Increment Return Null Inside @Transactional? The Hidden Interaction Explained
政采云技术
政采云技术
Nov 24, 2022 · Databases

Is Redis Really Slowing Down? A Comprehensive Diagnosis and Optimization Guide

This article explains how to determine whether Redis is truly experiencing latency issues, outlines benchmark testing methods, identifies common causes such as network problems, high‑complexity commands, big keys, slow logs, memory limits, fork overhead, AOF configuration, swap usage, fragmentation, and provides practical troubleshooting and optimization steps.

Latencydatabaseredis
0 likes · 26 min read
Is Redis Really Slowing Down? A Comprehensive Diagnosis and Optimization Guide
dbaplus Community
dbaplus Community
Nov 23, 2022 · Backend Development

Why Redis Increment Returns Null with @Transactional and How to Fix It

A production microservice failed each morning because Redis's increment operation returned null when generating IDs, and restarting the service temporarily fixed it; the article investigates the root cause—Redis transaction support combined with Spring @Transactional—and presents two concrete remediation strategies.

redisspringtransactional
0 likes · 10 min read
Why Redis Increment Returns Null with @Transactional and How to Fix It
Thoughts on Knowledge and Action
Thoughts on Knowledge and Action
Nov 23, 2022 · Databases

Inside Redis 6.0: Understanding SDS, Ziplist, Quicklist, and ZSet Data Structures

Redis 6.0 implements several compact data structures—SDS, ziplist, quicklist, hash, set, and ZSet—each optimized for memory efficiency and performance, and this guide explains their definitions, internal layouts, usage scenarios, and key implementation details such as packing attributes, incremental rehashing, and skiplist operations.

Data Structuresbackend-developmentdatabases
0 likes · 16 min read
Inside Redis 6.0: Understanding SDS, Ziplist, Quicklist, and ZSet Data Structures
Java Captain
Java Captain
Nov 23, 2022 · Backend Development

Free Comprehensive Collection of Big‑Tech Interview Questions and Answers (Java, Spring, Redis, MyBatis, etc.)

This post shares a free, extensive compilation of interview questions and detailed explanations covering Java fundamentals, multithreading, Spring framework, Redis, MyBatis and other backend technologies, encouraging systematic preparation and offering a QR‑code method to obtain the full document.

MyBatisbackend-developmentinterview-questions
0 likes · 8 min read
Free Comprehensive Collection of Big‑Tech Interview Questions and Answers (Java, Spring, Redis, MyBatis, etc.)
ITPUB
ITPUB
Nov 22, 2022 · Databases

How Redis RDB Works: Snapshotting, BGSAVE, and Copy‑On‑Write Explained

Redis achieves high speed by keeping data in memory, but to avoid data loss it offers two persistence methods—RDB and AOF; this article explains RDB’s snapshot mechanism, the SAVE vs BGSAVE commands, copy‑on‑write handling, automatic save configuration, and the internal structures that drive periodic backups.

BGSAVECopy-on-WritePersistence
0 likes · 13 min read
How Redis RDB Works: Snapshotting, BGSAVE, and Copy‑On‑Write Explained
Architecture Digest
Architecture Digest
Nov 20, 2022 · Databases

Understanding and Mitigating Bigkey Issues in Redis Operations

The article explains what Redis bigkeys are, why they arise, the performance and availability problems they cause, and presents practical detection methods and optimization techniques—including key splitting, tool improvements, and migration safeguards—to help DBAs and developers prevent and resolve bigkey‑related incidents.

BigKeydatabaseredis
0 likes · 14 min read
Understanding and Mitigating Bigkey Issues in Redis Operations
Tencent Cloud Developer
Tencent Cloud Developer
Nov 18, 2022 · Backend Development

Cache Consistency Strategies and Best Practices

The article explains how using a Redis cache can boost read performance but introduces consistency challenges, compares four cache‑aside write strategies, and recommends the reliable “update database then delete cache” approach combined with short expiration times and asynchronous message‑queue invalidation to keep data fresh.

BackendConsistencyDistributed Systems
0 likes · 20 min read
Cache Consistency Strategies and Best Practices
Baidu Intelligent Cloud Tech Hub
Baidu Intelligent Cloud Tech Hub
Nov 18, 2022 · Databases

Redis Persistence Evolution and Baidu Cloud’s Forkless & Multi‑AOF Optimizations

This article examines the evolution of Redis’s persistence mechanisms—from early RDB snapshots and AOF logging to recent innovations such as Baidu Cloud’s forkless RDB implementation, mixed RDB/AOF formats, and Multi‑AOF architectures—detailing design principles, version milestones, and practical performance optimizations.

AOFBaidu CloudDatabase Optimization
0 likes · 14 min read
Redis Persistence Evolution and Baidu Cloud’s Forkless & Multi‑AOF Optimizations
Su San Talks Tech
Su San Talks Tech
Nov 16, 2022 · Databases

Why count(*) Slows Down MySQL and How to Optimize It

This article explains why MySQL's count(*) can become a performance bottleneck, especially with InnoDB, and presents practical optimization techniques such as Redis caching, second‑level in‑memory caches, parallel execution, reducing unnecessary joins, and using column‑store databases like ClickHouse.

_countclickhousemysql
0 likes · 10 min read
Why count(*) Slows Down MySQL and How to Optimize It
vivo Internet Technology
vivo Internet Technology
Nov 16, 2022 · Operations

Understanding and Mitigating Bigkey Issues in Redis Operations

Bigkeys—Redis values over 1 MB or structures with more than 2,000 elements—cause memory imbalance, command blocking, network overload, and migration failures, so DBAs must detect them using built‑in commands or RDB analysis, split or partition oversized keys, and tune migration settings to preserve performance and availability.

BigKeyDatabase operationsperformance
0 likes · 14 min read
Understanding and Mitigating Bigkey Issues in Redis Operations
vivo Internet Technology
vivo Internet Technology
Nov 16, 2022 · Big Data

Vivo Hawking A/B Experiment Platform: Architecture, Practices, and Solutions

The Vivo Hawking platform provides a company‑wide, one‑stop A/B testing solution with a layered architecture, covariate‑balanced split algorithms, real‑time monitoring, and unified SDKs for Android, Java and H5, enabling thousands of daily experiments, automated analysis, and rapid product iteration across multiple departments.

Covariate balancingExperiment PlatformJava SDK
0 likes · 22 min read
Vivo Hawking A/B Experiment Platform: Architecture, Practices, and Solutions
Architecture Digest
Architecture Digest
Nov 16, 2022 · Backend Development

Comprehensive Collection of Interview Questions and Answers for Major Tech Companies (Java, Spring, Redis, MyBatis, etc.)

This article compiles over a thousand interview questions and detailed explanations covering core Java fundamentals, multithreading, Spring framework, Redis, MyBatis, and related backend technologies, offering a free downloadable resource to help candidates prepare effectively for major tech company interviews.

MyBatisinterview-questionsjava
0 likes · 8 min read
Comprehensive Collection of Interview Questions and Answers for Major Tech Companies (Java, Spring, Redis, MyBatis, etc.)
Su San Talks Tech
Su San Talks Tech
Nov 16, 2022 · Databases

Why count(*) Is Slow in MySQL InnoDB and How to Speed It Up

This article explains why MySQL's count(*) can be slow on InnoDB, compares different count variations, and presents practical optimization techniques such as Redis caching, second‑level caches, multithreading, reducing joins, and using ClickHouse for massive datasets.

InnoDB_countclickhouse
0 likes · 12 min read
Why count(*) Is Slow in MySQL InnoDB and How to Speed It Up
Programmer DD
Programmer DD
Nov 14, 2022 · Backend Development

Choosing Between JWT and Session: Pros, Cons, and Implementation Guide

This article compares JWT and session authentication, outlines their differences, advantages, security considerations, performance impacts, and provides a complete Java implementation with Redis integration, helping developers decide the best approach for their projects.

AuthenticationJWTSession
0 likes · 16 min read
Choosing Between JWT and Session: Pros, Cons, and Implementation Guide
ITPUB
ITPUB
Nov 9, 2022 · Databases

Mastering Redis Persistence: RDB vs AOF Explained

This article provides a comprehensive guide to Redis persistence, covering the theory and configuration of both RDB snapshotting and AOF append‑only logging, their advantages, drawbacks, practical setup commands, recovery procedures, and performance‑tuning tips for reliable data durability.

AOFBackupConfiguration
0 likes · 16 min read
Mastering Redis Persistence: RDB vs AOF Explained
21CTO
21CTO
Nov 8, 2022 · Operations

Building a Billion‑User Membership System: ES, Redis & MySQL High‑Availability

This article details how a large‑scale membership platform achieves high performance and near‑zero downtime by employing dual‑center Elasticsearch clusters, traffic‑isolated ES architectures, deep ES optimizations, Redis caching with distributed locks, and a seamless MySQL migration with partitioned, dual‑center databases.

OperationsSystem Architecturehigh availability
0 likes · 20 min read
Building a Billion‑User Membership System: ES, Redis & MySQL High‑Availability