Tagged articles
3240 articles
Page 9 of 33
ITPUB
ITPUB
Apr 11, 2024 · Big Data

Query 100K Items from 10M+ Records: CK, ES Scroll, HBase, RediSearch

When faced with a business requirement to filter up to 100 000 records from a pool of tens of millions and then sort and de‑duplicate them, this article explores four technical solutions—multithreaded ClickHouse pagination, Elasticsearch scroll‑scan, a combined Elasticsearch‑HBase approach, and RediSearch with RedisJSON—detailing their design, implementation, performance testing, and trade‑offs.

Big DataElasticsearchHBase
0 likes · 12 min read
Query 100K Items from 10M+ Records: CK, ES Scroll, HBase, RediSearch
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Apr 11, 2024 · Databases

Mastering Redis Sentinel: Ensuring Automatic High Availability

This article explains Redis Sentinel’s role in providing monitoring, notifications, automatic failover, and configuration updates to achieve high availability, detailing its heartbeat mechanism, master‑down detection, leader election, failover selection criteria, and the trade‑offs of using this solution.

databasefailoverhigh availability
0 likes · 6 min read
Mastering Redis Sentinel: Ensuring Automatic High Availability
MaGe Linux Operations
MaGe Linux Operations
Apr 11, 2024 · Databases

Why Is Redis So Fast? Uncover the Secrets Behind Its Performance

This article explains why Redis achieves exceptional speed by leveraging in‑memory storage, an efficient hash‑table data structure, a single‑threaded event loop, epoll I/O multiplexing, incremental rehashing, and cached timestamps, providing a comprehensive view of its performance optimizations.

In-Memory DatabaseIncremental RehashSingle Thread
0 likes · 7 min read
Why Is Redis So Fast? Uncover the Secrets Behind Its Performance
Sohu Tech Products
Sohu Tech Products
Apr 10, 2024 · Big Data

Bloom Filter: Principles, False Positive Rate, and Implementations with Guava and Redis

Bloom filters are space‑efficient probabilistic structures that answer “definitely not” or “maybe” membership queries, with a controllable false‑positive rate derived from bit array size, element count, and hash functions, and can be implemented via Guava’s Java library, Redisson’s Redis wrapper, native Redis modules, or custom bitmap code, dramatically reducing memory usage and latency in large‑scale systems such as URL deduplication or user‑product checks.

Big DataGuavabloom-filter
0 likes · 21 min read
Bloom Filter: Principles, False Positive Rate, and Implementations with Guava and Redis
vivo Internet Technology
vivo Internet Technology
Apr 10, 2024 · Databases

Analysis of Redis Pipeline Support in Spring Boot with Lettuce and Redisson Clients

The article examines how Spring Boot’s Lettuce and Redisson clients implement Redis pipelining, explains the batch‑request principle, benchmarks 100 000 set inserts showing pipeline speeds of 0.5–1.4 seconds versus 162 seconds for single commands, demonstrates Spring Data Redis callback usage, warns of high‑cost command pitfalls, and details Redisson’s RBatch internals, concluding that pipelining dramatically boosts throughput when command costs are modest.

LettucePipelineSpring Boot
0 likes · 27 min read
Analysis of Redis Pipeline Support in Spring Boot with Lettuce and Redisson Clients
Ops Development & AI Practice
Ops Development & AI Practice
Apr 9, 2024 · Databases

Build High‑Performance Queues with Redis List Commands

Redis’s versatile list commands—such as LPUSH, RPUSH, LPOP, RPOP, BRPOPLPUSH, LPUSHX, and RPUSHX—enable developers to implement efficient FIFO queues, stacks, blocking queues, and advanced patterns like priority or delayed queues, while offering practical tips for monitoring, persistence, and error handling.

BlockingListsQueue
0 likes · 5 min read
Build High‑Performance Queues with Redis List Commands
Ops Development & AI Practice
Ops Development & AI Practice
Apr 9, 2024 · Backend Development

Mastering Redis Client Integration in Go with the Adapter Pattern

Learn how to use the Adapter pattern in Go to unify disparate Redis clients—*redis.Client* and *redis.ClusterClient*—by defining a common interface, implementing concrete adapters, and employing a factory method, resulting in cleaner, maintainable code that adheres to the open/closed principle.

Adapter PatternDesign PatternsGo
0 likes · 7 min read
Mastering Redis Client Integration in Go with the Adapter Pattern
Efficient Ops
Efficient Ops
Apr 7, 2024 · Databases

Unlock 16 Powerful Redis Use Cases to Supercharge Your Backend

This article explores sixteen practical Redis patterns—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, tags, filtering, follow relationships, and ranking—demonstrating how each can boost performance and simplify backend architecture.

Data Structuresbackend-developmentcaching
0 likes · 8 min read
Unlock 16 Powerful Redis Use Cases to Supercharge Your Backend
Java High-Performance Architecture
Java High-Performance Architecture
Apr 2, 2024 · Backend Development

Unlock Redis Performance: Using Lua Scripts in Spring Boot

This article explains how to integrate Lua scripts with Redis in a Spring Boot application, covering Lua basics, performance benefits, common use cases, step‑by‑step configuration, Java code examples, error handling, security considerations, and best practices for reliable backend development.

LuaScriptingSpring Boot
0 likes · 19 min read
Unlock Redis Performance: Using Lua Scripts in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Apr 1, 2024 · Backend Development

Designing Multi‑Level Cache Architecture for Microservice Applications

This article explains how to design an effective multi‑level caching system in microservice environments, covering client‑side browser caching, application‑layer static resource caching with CDNs and Nginx, and service‑layer caches using in‑process solutions and distributed Redis, while also addressing consistency and deployment considerations.

CDNNginxcaching
0 likes · 14 min read
Designing Multi‑Level Cache Architecture for Microservice Applications
21CTO
21CTO
Mar 31, 2024 · Databases

Why Redis Is Changing Licenses and What It Means for the Database Ecosystem

The article examines Redis's shift to a source‑available license, traces its history, analyzes the impact on cloud providers and open‑source communities, and evaluates emerging forks and alternatives such as Valkey, KeyDB, and Redict as potential replacements.

Licensingalternativesdatabase
0 likes · 13 min read
Why Redis Is Changing Licenses and What It Means for the Database Ecosystem
Top Architect
Top Architect
Mar 31, 2024 · Databases

Understanding MySQL Auto‑Increment IDs, Their Limits, and Alternative Strategies

This article explains how MySQL auto‑increment primary keys work, the practical limits of various internal IDs such as auto‑increment, InnoDB row_id, Xid, trx_id, and thread_id, and compares them with external solutions like Redis‑based auto‑increment keys, providing guidance on choosing the right approach for different scenarios.

InnoDBauto_incrementmysql
0 likes · 10 min read
Understanding MySQL Auto‑Increment IDs, Their Limits, and Alternative Strategies
Architect
Architect
Mar 30, 2024 · Backend Development

11 Ways to Auto-Close Expired Orders: From Passive to Distributed Queues

The article systematically compares eleven technical approaches for automatically closing expired e‑commerce orders, detailing each method’s implementation steps, trade‑offs, performance characteristics, and ideal deployment scenarios, and finally ranks them to guide practical selection.

Backend ArchitectureDistributed SchedulingKafka
0 likes · 19 min read
11 Ways to Auto-Close Expired Orders: From Passive to Distributed Queues
dbaplus Community
dbaplus Community
Mar 27, 2024 · Databases

How Redis Handles Full Cache: Memory Eviction Policies Explained

When Redis memory reaches its configured maxmemory limit, it triggers a set of eviction policies—such as noeviction, allkeys‑lru, volatile‑lfu, and others—to decide which keys to discard, and this article explains how to view, configure, and understand each strategy.

LFULRUdatabase
0 likes · 9 min read
How Redis Handles Full Cache: Memory Eviction Policies Explained
Ops Development & AI Practice
Ops Development & AI Practice
Mar 27, 2024 · Backend Development

How to Choose the Right Redis PoolSize in Go for Optimal Performance

This article explains why correctly configuring the Redis client PoolSize in Go is crucial for performance and stability, outlines key factors such as concurrency, latency, and resource limits, and provides practical strategies, benchmarking methods, and sample code to help developers determine the optimal pool size.

Connection PoolGoredis
0 likes · 5 min read
How to Choose the Right Redis PoolSize in Go for Optimal Performance
ITPUB
ITPUB
Mar 27, 2024 · Backend Development

How Instagram Scaled to 14 Million Users with Just Three Engineers

This article details how Instagram grew from zero to 14 million users in just over a year using three engineers by applying three core principles and a reliable AWS‑based tech stack covering frontend, load balancing, backend, PostgreSQL sharding, S3 storage, Redis caching, asynchronous task queues, and comprehensive monitoring.

AWSBackendinstagram
0 likes · 9 min read
How Instagram Scaled to 14 Million Users with Just Three Engineers
21CTO
21CTO
Mar 25, 2024 · Fundamentals

Why Redis Is Switching Licenses and What It Means for Cloud Providers

Redis announced a shift from the permissive BSD license to a dual‑license model (RSALv2 and SSPLv1), restricting free use by cloud providers, sparking industry debate and prompting developers to consider alternative implementations and the broader impact on open‑source ecosystems.

Cloud providersLicensingopen‑source
0 likes · 6 min read
Why Redis Is Switching Licenses and What It Means for Cloud Providers
Java Tech Enthusiast
Java Tech Enthusiast
Mar 24, 2024 · Databases

Redis Announces Shift to Source‑Available Dual Licensing

Redis announced it will replace its BSD‑3‑Clause license with a source‑available dual licensing model—SSPLv1 and RSALv2—starting with Redis 7.4, keeping the community edition free for developers while requiring cloud providers to secure commercial agreements, yet leaving existing enterprise users and client‑library developers under unchanged, permissive terms.

LicenseRSALSSPL
0 likes · 3 min read
Redis Announces Shift to Source‑Available Dual Licensing
Java Backend Technology
Java Backend Technology
Mar 24, 2024 · Databases

Beyond Caching: How Redis Powers Real‑World Storage and Services

Redis is widely known as a high‑performance cache, but its rich data structures, persistence options, and distributed features enable it to serve as a primary storage engine for many internet services, from user profiles and leaderboards to rate limiting, messaging, and geo‑location, while presenting scalability and reliability challenges.

Data StructuresDistributed SystemsIn-Memory Database
0 likes · 19 min read
Beyond Caching: How Redis Powers Real‑World Storage and Services
IT Services Circle
IT Services Circle
Mar 23, 2024 · Backend Development

Java Backend Interview Guide: Redis, Thread Pools, Spring, Concurrency, and Core Java Concepts

This article compiles a comprehensive Java backend interview guide covering Redis fundamentals, thread creation methods, thread‑pool pitfalls, Spring ecosystem relationships, IoC/AOP principles, shallow vs deep copying, collection cloning, differences between interfaces and abstract classes, and string handling classes, providing concise explanations and code examples for each topic.

BackendThreadPoolconcurrency
0 likes · 19 min read
Java Backend Interview Guide: Redis, Thread Pools, Spring, Concurrency, and Core Java Concepts
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 22, 2024 · Backend Development

Comprehensive Guide to Bloom Filters: Principles, Implementations, and Business Applications

This article introduces Bloom filters, explains their probabilistic principles, advantages and drawbacks, details how to add and query elements, derives false‑positive formulas, provides Guava, Redisson, Redis‑module, and custom bitmap implementations with code samples, and showcases real‑world business scenarios and performance benefits.

Guavabloom-filterjava
0 likes · 28 min read
Comprehensive Guide to Bloom Filters: Principles, Implementations, and Business Applications
Programmer DD
Programmer DD
Mar 22, 2024 · Databases

Redis Shifts to Source‑Available Licenses: What It Means for Developers

Redis announced that starting with version 7.4 it will abandon the BSD 3‑Clause license in favor of a dual SSPLv1/RSALv2 model, making the source code source‑available while keeping the community edition free, and clarifying the impact on cloud providers, partners, and end‑users.

LicensingRSALSSPL
0 likes · 4 min read
Redis Shifts to Source‑Available Licenses: What It Means for Developers
Java Architect Essentials
Java Architect Essentials
Mar 21, 2024 · Backend Development

Implementing Fast File Upload: Instant Transfer, Chunked Upload, and Resume Support in Java

This article explains how to improve large‑file upload experiences by using instant transfer (MD5‑based deduplication), chunked upload, and resumable upload techniques, and provides complete Java backend implementations with Redis coordination and code examples using RandomAccessFile and MappedByteBuffer.

Backendchunked uploadfile upload
0 likes · 14 min read
Implementing Fast File Upload: Instant Transfer, Chunked Upload, and Resume Support in Java
dbaplus Community
dbaplus Community
Mar 21, 2024 · Backend Development

Inside DeWu’s Self‑Built Redis: Architecture, Automation & High‑Availability

This article details DeWu's self‑built high‑performance distributed Redis cache system, covering its Proxy‑based architecture, core components like ConfigServer, Redis‑Proxy and Redis‑Server, the automated operations platform for deployment and scaling, as well as monitoring, alerting, stability measures and future roadmap.

Distributed Systemsredis
0 likes · 22 min read
Inside DeWu’s Self‑Built Redis: Architecture, Automation & High‑Availability
Sohu Tech Products
Sohu Tech Products
Mar 20, 2024 · Databases

Master Redis: 8 Essential Data Types and Their Real‑World Uses

This article provides a comprehensive overview of Redis' eight common data structures—including String, List, Hash, Set, Sorted Set, Bitmap, HyperLogLog, and Geospatial—detailing their internal implementations, core commands, practical code examples, and typical application scenarios for developers.

CacheData TypesNoSQL
0 likes · 25 min read
Master Redis: 8 Essential Data Types and Their Real‑World Uses
Top Architect
Top Architect
Mar 20, 2024 · Backend Development

Using Lua Scripts with Spring Boot and Redis: A Comprehensive Guide

This article explains how to integrate Lua scripts into Spring Boot applications using Redis, covering Lua basics, advantages of Lua in Redis, practical use cases, step‑by‑step implementation with code examples, performance optimization, error handling, security considerations, and best practices for reliable backend development.

LuaSpring Bootperformance
0 likes · 20 min read
Using Lua Scripts with Spring Boot and Redis: A Comprehensive Guide
Architect
Architect
Mar 16, 2024 · Operations

How Unified Alert Convergence Can Slash Monitoring Noise and Boost MTTA/MTTR

This article analyzes the shortcomings of fragmented monitoring systems, defines key metrics such as MTTA and MTTR, proposes a unified alert convergence architecture using Redis delayed queues, and details design, implementation, and future AI‑enhanced improvements to reduce alert fatigue and accelerate incident response.

MTTAMTTROperations
0 likes · 22 min read
How Unified Alert Convergence Can Slash Monitoring Noise and Boost MTTA/MTTR
Architect
Architect
Mar 15, 2024 · Databases

How to Diagnose and Optimize Redis Memory Usage: Real‑World Cases

This article dissects Redis's memory architecture, explains each memory component, walks through object encoding rules, buffer handling, fragmentation, and child‑process memory, then presents two production incidents with step‑by‑step analysis and concrete optimization actions to prevent future memory alarms.

Memory Managementcase studydatabase
0 likes · 27 min read
How to Diagnose and Optimize Redis Memory Usage: Real‑World Cases
Selected Java Interview Questions
Selected Java Interview Questions
Mar 15, 2024 · Backend Development

Ensuring Data Consistency Between MySQL and Redis in High‑Concurrency Scenarios

The article explains why data inconsistency occurs between MySQL and Redis under high concurrency, analyzes cache‑delete timing issues, and presents two solutions—delayed double‑delete and asynchronous cache updates via MySQL binlog—detailing implementation steps, advantages, drawbacks, and practical considerations.

Async UpdateBinlogCache Consistency
0 likes · 8 min read
Ensuring Data Consistency Between MySQL and Redis in High‑Concurrency Scenarios
Linux Cloud Computing Practice
Linux Cloud Computing Practice
Mar 13, 2024 · Databases

Unlocking Redis: Architecture, High Availability, and Persistence Explained

This article provides a comprehensive overview of Redis, covering its core concepts, deployment architectures—including single instance, high‑availability, Sentinel, and cluster setups—its replication mechanisms, gossip protocol, and the various persistence options such as RDB, AOF, and fork‑based snapshots.

ClusterIn-Memory DatabasePersistence
0 likes · 17 min read
Unlocking Redis: Architecture, High Availability, and Persistence Explained
macrozheng
macrozheng
Mar 12, 2024 · Operations

Why HertzBeat Could Be Your Next Agentless Monitoring Solution

This article introduces HertzBeat, an open‑source real‑time monitoring and alerting system that offers powerful template‑based monitoring without agents, explains its Docker‑quick start, demonstrates how to monitor Redis and SpringBoot services, and walks through email alarm configuration.

Operationsagentlessredis
0 likes · 7 min read
Why HertzBeat Could Be Your Next Agentless Monitoring Solution
Java Tech Enthusiast
Java Tech Enthusiast
Mar 11, 2024 · Backend Development

How to Prevent Cache Penetration, Breakdown, and Avalanche in Redis

The article explains the concepts of cache penetration, cache breakdown, and cache avalanche, illustrates why they cause massive database load, and provides practical mitigation techniques such as parameter validation, storing null placeholders, Bloom filters, rate limiting, hot‑key pre‑warming, distributed locking, and cache pre‑warming strategies, with Java code examples.

Cachebloom-filtercache-avalanche
0 likes · 10 min read
How to Prevent Cache Penetration, Breakdown, and Avalanche in Redis
Architect
Architect
Mar 10, 2024 · Backend Development

Build a Redis Distributed Lock in Go from Scratch

This article walks through the problem of implementing a reliable Redis distributed lock in Go, explains the pitfalls of naive SetNx usage, introduces timeout handling and GetSet replacement, provides step‑by‑step Go code, and demonstrates its correctness with a multithreaded test.

Gobackend-developmentconcurrency
0 likes · 11 min read
Build a Redis Distributed Lock in Go from Scratch
Java Backend Technology
Java Backend Technology
Mar 9, 2024 · Backend Development

From Solo Project to Official Redis Client: The ioredis Journey

The ioredis author @Luin announced the library's acquisition by Redis Inc., recounting its nine‑year evolution from a personal side project created to address missing Promise support, aesthetic command syntax, and lacking Cluster/Sentinel features into the most popular Node.js Redis client today.

AcquisitionNode.jsOpenSource
0 likes · 3 min read
From Solo Project to Official Redis Client: The ioredis Journey
Java Architect Essentials
Java Architect Essentials
Mar 7, 2024 · Backend Development

Various Implementation Strategies for Delayed Tasks in Java: Quartz, DelayQueue, HashedWheelTimer, Redis, and RabbitMQ

This article explains the concept of delayed tasks, distinguishes them from scheduled tasks, and presents six practical Java implementations—including Quartz database polling, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted sets, Redis key‑space notifications, and RabbitMQ delayed queues—along with their advantages and drawbacks.

QuartzRabbitMQScheduling
0 likes · 14 min read
Various Implementation Strategies for Delayed Tasks in Java: Quartz, DelayQueue, HashedWheelTimer, Redis, and RabbitMQ
Ma Wei Says
Ma Wei Says
Mar 5, 2024 · Backend Development

How to Prevent Cache Penetration Attacks with Bloom Filters and Null Caching

The article explains what cache penetration is, why it can crash databases under malicious traffic, and presents practical mitigation techniques such as Bloom filters, null-value caching, data pre‑warming, and request validation to protect Redis‑backed systems.

Backend PerformanceNull Cachingbloom-filter
0 likes · 6 min read
How to Prevent Cache Penetration Attacks with Bloom Filters and Null Caching
Linux Cloud Computing Practice
Linux Cloud Computing Practice
Mar 4, 2024 · Operations

Building a High‑Performance, Highly Available Membership System with ES, Redis & MySQL

To ensure the massive, multi‑platform membership service remains fast and reliable, this article details a multi‑center architecture using Elasticsearch for unified member data, Redis caching, and MySQL partitioning, along with traffic isolation, fault‑tolerant syncing, and fine‑grained flow‑control and degradation strategies.

System Architecturefault tolerancemysql
0 likes · 23 min read
Building a High‑Performance, Highly Available Membership System with ES, Redis & MySQL
21CTO
21CTO
Mar 4, 2024 · Backend Development

How ioredis Became the Leading Node.js Redis Client and Got Acquired

ioredis, a high‑performance Node.js Redis client created by luin, uses a single‑socket pipeline for efficient command batching, has attracted enterprise users like Alibaba, and after years of growth was officially acquired by Redis, with its source now hosted on GitHub.

BackendNode.jsPipeline
0 likes · 4 min read
How ioredis Became the Leading Node.js Redis Client and Got Acquired
IT Services Circle
IT Services Circle
Mar 3, 2024 · Databases

ioredis Node.js Redis Client Acquired by Redis Ltd – History, Features, and Migration

The ioredis project, a robust Node.js Redis client created by Luin to address shortcomings in existing libraries, has been acquired by Redis Ltd, with its repository moved under the official Redis organization, highlighting its nine‑year evolution from a personal side project to a leading open‑source database client.

AcquisitionDatabase clientNode.js
0 likes · 3 min read
ioredis Node.js Redis Client Acquired by Redis Ltd – History, Features, and Migration
Architect
Architect
Mar 1, 2024 · Backend Development

Distributed ID Generation: Requirements, Common Solutions, and Implementation Details

This article explains what a distributed ID is, outlines its essential requirements such as global uniqueness, high performance, high availability, and ease of use, and then reviews common generation strategies—including database auto‑increment, segment mode, NoSQL approaches, UUID, Snowflake, and several open‑source frameworks—providing code examples and practical trade‑offs.

UID generatordatabasedistributed-id
0 likes · 23 min read
Distributed ID Generation: Requirements, Common Solutions, and Implementation Details
Java Architect Essentials
Java Architect Essentials
Feb 28, 2024 · Backend Development

Design and Implementation of a Business Rate‑Limiting Component Using Redis Lua Scripts and Custom Annotations in Kotlin

This article explains why a custom business risk‑control (rate‑limiting) component is needed for AI‑intensive services, compares open‑source solutions, and provides a complete backend implementation using Redis+Lua scripts, Kotlin code, Spring AOP annotations, and real‑time adjustable rules.

BackendKotlinLua
0 likes · 10 min read
Design and Implementation of a Business Rate‑Limiting Component Using Redis Lua Scripts and Custom Annotations in Kotlin
Java High-Performance Architecture
Java High-Performance Architecture
Feb 27, 2024 · Backend Development

Boost Spring Boot Performance with Redis Lua Scripts: A Complete Guide

This article explains how to integrate Lua scripts into Spring Boot applications using Redis, covering Lua fundamentals, advantages of Lua in Redis, practical use cases, step‑by‑step implementation, performance optimization techniques, error handling, security considerations, and best practices for reliable backend development.

LuaScriptingSpring Boot
0 likes · 20 min read
Boost Spring Boot Performance with Redis Lua Scripts: A Complete Guide
Architect's Guide
Architect's Guide
Feb 27, 2024 · Backend Development

Implementation Details of a Simple Seckill (Flash Sale) System Using SpringBoot

This article presents a step‑by‑step technical walkthrough of a SpringBoot‑based Seckill project, covering password MD5 hashing, distributed session management, unified exception handling, page and object caching, static page generation, memory flag with Redis pre‑decrement and RabbitMQ async processing, oversell prevention, and API rate limiting, followed by a visual demonstration of the system’s UI and source code download.

RabbitMQSeckillSpringBoot
0 likes · 9 min read
Implementation Details of a Simple Seckill (Flash Sale) System Using SpringBoot
Senior Tony
Senior Tony
Feb 22, 2024 · Backend Development

Eight Distributed ID Generation Strategies: Pros, Cons, and Implementation Guide

This article reviews eight popular distributed ID generation methods—including UUID, database auto‑increment, Redis INCR, Snowflake, database segment, Meituan Leaf, Didi Tinyid, and Baidu UidGenerator—detailing their principles, code examples, advantages, disadvantages, and practical considerations for choosing the right solution.

LeafTinyiddatabase segment
0 likes · 11 min read
Eight Distributed ID Generation Strategies: Pros, Cons, and Implementation Guide
Top Architect
Top Architect
Feb 21, 2024 · Backend Development

Cache Consistency Strategies Between MySQL and Redis

This article explains the classic cache consistency problem between MySQL and Redis, analyzes why inconsistencies occur, and details four common design patterns—delete‑then‑update, update‑then‑invalidate (Cache‑Aside), Read/Write‑Through, and Write‑Behind—along with their advantages, drawbacks, and typical execution flows.

Cache ConsistencyDatabase CachingDesign Patterns
0 likes · 9 min read
Cache Consistency Strategies Between MySQL and Redis
Java Architect Essentials
Java Architect Essentials
Feb 20, 2024 · Backend Development

Why Did Our API Hang? Uncovering Redis Connection Pool Blocking in Spring Boot

A week‑long API freeze in a sandbox environment was traced to Redis connection pool misconfiguration, where threads waited indefinitely for a Jedis resource, leading to Tomcat request threads blocking and 500 errors, and the issue was resolved by adjusting pool settings and using proper connection release patterns.

BackendConnection PoolJedis
0 likes · 9 min read
Why Did Our API Hang? Uncovering Redis Connection Pool Blocking in Spring Boot
MaGe Linux Operations
MaGe Linux Operations
Feb 20, 2024 · Big Data

Redis Streams vs Kafka: Which Is Better for Real‑Time Event Processing?

This article compares Redis Streams and Kafka, examining their architectures, ordering guarantees, consumer group models, scalability, and trade‑offs, and shows how Redis can emulate Kafka‑like semantics using the Runnel library, while highlighting memory‑speed benefits versus Kafka’s durable, unlimited log storage.

Event ProcessingKafkaRunnel
0 likes · 9 min read
Redis Streams vs Kafka: Which Is Better for Real‑Time Event Processing?
macrozheng
macrozheng
Feb 20, 2024 · Databases

10 Real-World Redis Use Cases Every Backend Engineer Should Know

Discover ten practical Redis scenarios—from counting page visits and caching category trees to implementing distributed locks, leaderboards, rate limiting, bitmap analytics, message queues, and global ID generation—each illustrated with concise code snippets and best‑practice tips for robust backend development.

BitmapMessage Queuecaching
0 likes · 11 min read
10 Real-World Redis Use Cases Every Backend Engineer Should Know
Qunar Tech Salon
Qunar Tech Salon
Feb 20, 2024 · Databases

Qunar.com Redis Automation Operations System: Architecture, Deployment, Migration, Scaling, and Inspection

This article details Qunar.com's Redis automation operations system, covering background challenges, the high‑availability cluster architecture, resource management, automated deployment, various migration strategies, scaling mechanisms with RedisGate, inspection processes, and future AI‑driven enhancements.

AIDatabase operationsautomation
0 likes · 14 min read
Qunar.com Redis Automation Operations System: Architecture, Deployment, Migration, Scaling, and Inspection
Architect
Architect
Feb 19, 2024 · Information Security

Mastering Single Sign-On: From Session Basics to CAS Implementation

This article walks through the fundamentals of HTTP session handling, the challenges of session sharing in clustered environments, and presents a step‑by‑step design of a Single Sign‑On solution using CAS, including concrete code examples, Redis‑based session storage, and a comparison with OAuth2.

AuthenticationCASSSO
0 likes · 17 min read
Mastering Single Sign-On: From Session Basics to CAS Implementation
Java Architect Essentials
Java Architect Essentials
Feb 18, 2024 · Databases

Common Redis Use Cases and Implementation Patterns

This article presents sixteen practical Redis use cases—including caching, distributed locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, product tagging, filtering, follow relationships, and leaderboards—each explained with data types, commands, and code examples.

DataStructuresDistributedLockRateLimiting
0 likes · 8 min read
Common Redis Use Cases and Implementation Patterns
Architect
Architect
Feb 18, 2024 · Backend Development

How Redisson Implements Distributed Locks: Deep Dive into Mechanisms and Pitfalls

This article explains why distributed locks are needed, outlines Redisson's lock properties, walks through its Lua‑based acquisition, renewal, and release processes, examines master‑slave pitfalls, compares RedLock with Zookeeper, and provides practical code examples for Java developers.

Lock MechanismRedlockconcurrency
0 likes · 14 min read
How Redisson Implements Distributed Locks: Deep Dive into Mechanisms and Pitfalls
Selected Java Interview Questions
Selected Java Interview Questions
Feb 16, 2024 · Backend Development

Integrating Redis with Spring Boot: Dependencies, Configuration, and Usage Guide

This tutorial explains how to add Redis dependencies to a Spring Boot project, configure connection settings, use RedisTemplate for basic operations, enable Spring Cache, employ Redisson for distributed locks, and fine‑tune connection pool and timeout parameters, providing complete code examples.

Spring Bootbackend-developmentdistributed-lock
0 likes · 10 min read
Integrating Redis with Spring Boot: Dependencies, Configuration, and Usage Guide
Java Captain
Java Captain
Feb 16, 2024 · Backend Development

Using Lua Scripts with Spring Boot and Redis: A Comprehensive Guide

This article explains how to integrate Lua scripts into Spring Boot applications using Redis, covering Lua fundamentals, performance benefits, practical use cases, step‑by‑step implementation, error handling, security considerations, and best practices for optimizing backend services.

LuaSpring Bootbackend-development
0 likes · 19 min read
Using Lua Scripts with Spring Boot and Redis: A Comprehensive Guide
MaGe Linux Operations
MaGe Linux Operations
Feb 14, 2024 · Databases

Unlocking Redis: Core Concepts, Architecture, and Persistence Explained

This article introduces Redis as an in‑memory key‑value data‑structure server, explains its primary use cases, walks through deployment options such as single instances, high‑availability, Sentinel and Cluster, and details its persistence mechanisms including RDB, AOF and forking.

ClusterIn-Memory DatabasePersistence
0 likes · 16 min read
Unlocking Redis: Core Concepts, Architecture, and Persistence Explained
Laravel Tech Community
Laravel Tech Community
Feb 5, 2024 · Backend Development

Cache Consistency Between MySQL and Redis: Design Patterns and Best Practices

This article explains the relationship between MySQL and Redis, the classic cache‑consistency problem, and compares four common cache‑update patterns—delete‑then‑update, update‑then‑invalidate, read/write‑through, and write‑behind—detailing their workflows, advantages, and drawbacks.

Cache ConsistencyDesign Patternscache-aside
0 likes · 7 min read
Cache Consistency Between MySQL and Redis: Design Patterns and Best Practices
php Courses
php Courses
Feb 5, 2024 · Backend Development

Backend Development Fundamentals: Processes, Socket Programming, Nginx FASTCGI, Byte Order, and Redis Basics

This course offers an in‑depth exploration of process concepts, TCP/IP and Socket communication, Nginx‑FASTCGI integration, host‑to‑network byte order conversion, and Redis fundamentals, targeting backend developers, system administrators, and network engineers seeking comprehensive backend skill enhancement.

NginxSocketTCP/IP
0 likes · 3 min read
Backend Development Fundamentals: Processes, Socket Programming, Nginx FASTCGI, Byte Order, and Redis Basics
Java Captain
Java Captain
Feb 4, 2024 · Backend Development

Understanding and Implementing Idempotency in Backend Services with Java and Redis

This article explains the concept of idempotency, identifies which API requests are naturally idempotent, discusses why idempotency is essential for retries, asynchronous callbacks, and message queues, and provides a step‑by‑step Java Spring implementation using custom annotations, AOP, and Redis for token management.

BackendIdempotencyaop
0 likes · 9 min read
Understanding and Implementing Idempotency in Backend Services with Java and Redis
MaGe Linux Operations
MaGe Linux Operations
Feb 3, 2024 · Operations

How to Build a 100% High‑Availability Membership System with ES, Redis, and MySQL

This article details the design and implementation of a highly available membership system that handles billions of users and peak traffic of over 20,000 TPS, covering Elasticsearch dual‑center master‑slave clusters, traffic‑isolated three‑cluster architecture, Redis caching with distributed locks, and dual‑center MySQL partitioning.

Backend ArchitectureElasticsearchmysql
0 likes · 20 min read
How to Build a 100% High‑Availability Membership System with ES, Redis, and MySQL
Java Architect Essentials
Java Architect Essentials
Feb 2, 2024 · Databases

Understanding KeyDB: Multithreaded Architecture, Connection Management, Fastlock, and Active‑Replica

This article introduces KeyDB, a high‑performance multithreaded fork of Redis, explaining its architecture, thread model, connection management, fastlock mechanism, and active‑replica features, while providing code examples and performance comparisons, and highlighting their impact on throughput and latency.

KeyDBLockReplication
0 likes · 10 min read
Understanding KeyDB: Multithreaded Architecture, Connection Management, Fastlock, and Active‑Replica
Java Tech Enthusiast
Java Tech Enthusiast
Feb 1, 2024 · Fundamentals

Understanding Bloom Filters: Theory, Implementation, and Applications

Bloom filters are space‑efficient probabilistic structures that test set membership using multiple hash functions, offering fast, low‑memory checks with a controllable false‑positive rate, and can be implemented manually in Java, via Guava’s library, or deployed at scale with RedisBloom for distributed applications.

Data StructureGuavabloom-filter
0 likes · 14 min read
Understanding Bloom Filters: Theory, Implementation, and Applications
Java Tech Enthusiast
Java Tech Enthusiast
Feb 1, 2024 · Backend Development

Implementing a Robust Redis Distributed Lock with Spring Boot

The article shows how to build a reliable Redis‑based distributed lock in a Spring Boot 2.7 application by storing a unique UUID token, acquiring the lock with SET NX PX, releasing it atomically via a Lua script, and providing a clean Lock interface, factory component, and JUnit example.

LuaSpring Bootdistributed-lock
0 likes · 13 min read
Implementing a Robust Redis Distributed Lock with Spring Boot
Alibaba Cloud Developer
Alibaba Cloud Developer
Feb 1, 2024 · Databases

Why Redis Dominates Modern Caching: Architecture, Strategies, and Pitfalls

This article provides a comprehensive technical overview of Redis, covering its high‑performance in‑memory design, rich data structures, persistence options, transaction support, eviction policies, common caching patterns, distributed locking techniques, and high‑availability solutions such as Sentinel and Cluster, while also comparing it with alternatives like Memcached, Tair, Guava, EVCache and ETCD.

Persistencehigh availabilityredis
0 likes · 35 min read
Why Redis Dominates Modern Caching: Architecture, Strategies, and Pitfalls
Su San Talks Tech
Su San Talks Tech
Jan 31, 2024 · Backend Development

Master Multi‑Level Cache Design: From Redis to JVM with Caffeine

This article explores high‑performance cache design, illustrating concepts with real‑world analogies, detailing traditional and multi‑level caching architectures, and providing practical implementations using Redis, Caffeine JVM cache, OpenResty Nginx local cache, and synchronization strategies such as double‑write, async notifications, and Canal‑based data replication.

cachingredis
0 likes · 25 min read
Master Multi‑Level Cache Design: From Redis to JVM with Caffeine
Architect
Architect
Jan 30, 2024 · Backend Development

How to Keep MySQL and Redis in Sync: Practical Cache Consistency Patterns

This article explains why cache inconsistency occurs between MySQL and Redis, then walks through four concrete design patterns—delete‑then‑update, update‑then‑invalidate, read/write‑through, and write‑behind—detailing each step, trade‑offs, and failure scenarios to help engineers choose the most suitable approach.

BackendCache Consistencycache-aside
0 likes · 9 min read
How to Keep MySQL and Redis in Sync: Practical Cache Consistency Patterns
Architect
Architect
Jan 29, 2024 · Backend Development

How to Implement Robust Request Debounce in Java Backend with Redis and Redisson

This article explains why request debounce is essential for preventing duplicate submissions, outlines which APIs need protection, and walks through two distributed‑lock solutions—shared Redis cache and Redisson—showing concrete annotations, key‑generation logic, and Spring‑AOP code with full test results.

BackendDebouncedistributed-lock
0 likes · 19 min read
How to Implement Robust Request Debounce in Java Backend with Redis and Redisson
Top Architect
Top Architect
Jan 29, 2024 · Backend Development

Implementing Interface Rate Limiting with Spring Interceptor and Redis

This article demonstrates how to implement API request throttling in a Spring Boot application using a custom Interceptor and Redis, covering basic principles, configuration, custom annotations, reflection for per‑endpoint limits, handling path parameters, and addressing timing logic nuances.

Interceptorjavarate limiting
0 likes · 21 min read
Implementing Interface Rate Limiting with Spring Interceptor and Redis
Selected Java Interview Questions
Selected Java Interview Questions
Jan 29, 2024 · Databases

Cache Consistency Between MySQL and Redis: Design Patterns and Best Practices

This article explains the relationship between MySQL and Redis, discusses why cache consistency is challenging, and details four cache update design patterns—delete‑then‑update, update‑then‑invalidate, read/write‑through, and write‑behind—along with their advantages, drawbacks, and typical execution flows.

BackendCache Consistencycache-aside
0 likes · 9 min read
Cache Consistency Between MySQL and Redis: Design Patterns and Best Practices
Architecture Digest
Architecture Digest
Jan 28, 2024 · Backend Development

Implementing Interface Rate Limiting with Spring Interceptor and Redis

This article demonstrates how to build a Spring‑based API rate‑limiting solution using an Interceptor and Redis, covering the basic principle, project setup, code implementation, custom annotation with reflection for flexible limits, handling path‑parameter keys, real‑IP acquisition, and practical considerations for production use.

BackendInterceptorjava
0 likes · 18 min read
Implementing Interface Rate Limiting with Spring Interceptor and Redis
Tencent Cloud Developer
Tencent Cloud Developer
Jan 24, 2024 · Backend Development

Understanding the Safety of Redis Distributed Locks and the Redlock Debate

Redis distributed locks require unique identifiers, atomic Lua releases, and TTL refreshes to avoid deadlocks, while the Redlock algorithm adds majority quorum but remains vulnerable to clock drift and client pauses, so critical systems should combine it with fencing tokens or version checks for true safety.

RedlockZooKeeperconcurrency
0 likes · 36 min read
Understanding the Safety of Redis Distributed Locks and the Redlock Debate
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 22, 2024 · Backend Development

Mastering Two-Level Caching in Spring Boot with CacheFrontend & Caffeine

This guide walks through implementing a two‑level cache in Spring Boot 2.7 using Lettuce’s CacheFrontend together with Caffeine, covering dependency setup, configuration, custom CacheAccessor, bean definitions, and sample endpoints that demonstrate automatic synchronization and eviction between local JVM cache and Redis.

CacheFrontendCaffeineSpring Boot
0 likes · 7 min read
Mastering Two-Level Caching in Spring Boot with CacheFrontend & Caffeine
Selected Java Interview Questions
Selected Java Interview Questions
Jan 20, 2024 · Backend Development

Implementing Sa-Token Authentication in Spring Cloud Gateway with Redis and Nacos

This article demonstrates how to replace heavyweight Spring Security with the lightweight Sa-Token framework by configuring token generation, session storage in Redis, service discovery via Nacos, and permission checks in a Spring Cloud Gateway micro‑service architecture, complete with code examples and deployment settings.

AuthenticationMicroservicesNacos
0 likes · 21 min read
Implementing Sa-Token Authentication in Spring Cloud Gateway with Redis and Nacos
MaGe Linux Operations
MaGe Linux Operations
Jan 19, 2024 · Databases

Master Redis Data Structures: Practical Commands and Use Cases

This comprehensive guide walks through Redis's core data structures—including strings, lists, sets, sorted sets, hashes, HyperLogLog, bitmaps, streams, and geospatial indexes—explaining their characteristics and providing concrete command‑line examples to help developers select and use the right structure for their applications.

Data StructuresNoSQLdatabase
0 likes · 10 min read
Master Redis Data Structures: Practical Commands and Use Cases
php Courses
php Courses
Jan 19, 2024 · Databases

Redis Basics and Using Redis to Optimize PHP Web Applications

This article introduces Redis fundamentals and demonstrates how to integrate Redis into PHP web applications for caching, session management, database caching, and queue operations, providing code examples that illustrate connecting to Redis, setting and retrieving data, and configuring expiration to boost performance and stability.

In-Memory DatabasePHPQueue
0 likes · 4 min read
Redis Basics and Using Redis to Optimize PHP Web Applications
JavaEdge
JavaEdge
Jan 18, 2024 · Databases

Master RedisInsight: Visualize, Manage, and Optimize Redis Seamlessly

This guide introduces RedisInsight, a powerful GUI for Redis, outlines its key features such as cluster support, visual data browsing, built‑in CLI, stream and log analysis, and provides step‑by‑step installation instructions for Linux, Kubernetes, and macOS, plus basic usage tips.

Database ManagementGUIKubernetes
0 likes · 10 min read
Master RedisInsight: Visualize, Manage, and Optimize Redis Seamlessly
Java Backend Technology
Java Backend Technology
Jan 18, 2024 · Databases

Master RedisInsight: Install, Configure, and Use the Ultimate Redis GUI

This guide introduces RedisInsight, outlines its key features, provides step‑by‑step installation on a physical server and via Kubernetes, explains environment configuration and startup, and demonstrates basic usage for monitoring and managing Redis instances through its graphical interface.

Database ManagementGUIInstallation
0 likes · 7 min read
Master RedisInsight: Install, Configure, and Use the Ultimate Redis GUI