Tagged articles

Redis

3563 articles · Page 4 of 36
Architect Chen
Architect Chen
Mar 24, 2026 · Databases

How High Can Redis Really Scale? Real-World QPS Limits Explained

This article breaks down Redis performance limits, showing that a single node can handle roughly 100‑200k simple GET/SET QPS and up to 500‑700k with multithreaded I/O, while sharded clusters can theoretically reach millions of QPS, though practical factors affect the actual throughput.

ClusterQPSRedis
0 likes · 6 min read
How High Can Redis Really Scale? Real-World QPS Limits Explained
Cloud Architecture
Cloud Architecture
Mar 23, 2026 · Backend Development

Spring Boot Private File Protection: Signed URLs, RBAC, Distributed Rate Limiting

This article presents a threat‑model‑driven design for securing private files in Spring Boot, detailing a signed‑URL scheme, RBAC/ABAC access control, Redis‑Lua distributed rate limiting, storage abstraction, HTTPS delivery, observability, key rotation, and production‑grade configuration and deployment practices.

Distributed Rate LimitingFile SecurityRBAC
0 likes · 21 min read
Spring Boot Private File Protection: Signed URLs, RBAC, Distributed Rate Limiting
LuTiao Programming
LuTiao Programming
Mar 23, 2026 · Backend Development

Stop Using Cron: From Single-Node to Distributed Scheduling to Reach >1k Tasks/s

The article explains why traditional Cron‑based scheduling fails under high load, walks through three architectural stages—from database polling to Redis delay queues and finally a full distributed scheduler—showing code examples, design trade‑offs, and performance numbers that enable thousands of tasks per second.

CronJavaRedis
0 likes · 8 min read
Stop Using Cron: From Single-Node to Distributed Scheduling to Reach >1k Tasks/s
NiuNiu MaTe
NiuNiu MaTe
Mar 20, 2026 · Artificial Intelligence

Why Your AI‑Generated Code Fails and How to Prompt It Effectively

The article explains why AI‑generated code often fails when prompts lack clear context, demonstrates real comparisons between vague and detailed requests, and provides a practical three‑step framework—background, purpose, and requirements—to craft precise prompts that yield reliable, production‑ready code.

AI promptingPrompt EngineeringRedis
0 likes · 7 min read
Why Your AI‑Generated Code Fails and How to Prompt It Effectively
Architect's Guide
Architect's Guide
Mar 20, 2026 · Backend Development

How We Cut 1‑Second Query Times in a Legacy WAF Dashboard Using Redis Caching

Facing slow page loads in a legacy WAF reporting system, we dissected a 1000‑line Java method, introduced hourly aggregation, Redis auto‑increment counters, and scheduled synchronization, eliminating costly SQL scans and achieving sub‑second queries on 1.5 million logs, while outlining remaining optimization opportunities.

Data ArchivingJavaRedis
0 likes · 12 min read
How We Cut 1‑Second Query Times in a Legacy WAF Dashboard Using Redis Caching
Golang Shines
Golang Shines
Mar 19, 2026 · Databases

Top 10 Redis Use Cases with Go: Practical Guide

This guide walks through ten classic Redis scenarios—caching, session storage, rate limiting, leaderboards, message queues, Pub/Sub, real‑time analytics, distributed locks, geospatial queries, and shopping carts—providing Go code examples, best‑practice tips, and performance considerations for each pattern.

CachingGoLeaderboard
0 likes · 18 min read
Top 10 Redis Use Cases with Go: Practical Guide
Architect's Guide
Architect's Guide
Mar 19, 2026 · Backend Development

Boost API Speed 10× with a Three‑Level Cache Pyramid in Spring Boot 3

This article explains why adding Redis alone may still be slow, introduces a three‑level cache pyramid (Caffeine L1, Redis L2, DB L3) built with Spring Boot 3, and provides complete configuration, code, warm‑up, monitoring, and benchmark results that reduce response time from 28 ms to 2 ms while cutting CPU usage by 35%.

CaffeineJavaRedis
0 likes · 9 min read
Boost API Speed 10× with a Three‑Level Cache Pyramid in Spring Boot 3
Tech Freedom Circle
Tech Freedom Circle
Mar 17, 2026 · Databases

Why HyperLogLog Misses 100M Daily Active Users and How Bitmap Solves It

The article dissects an Alibaba interview question on counting 100 million daily active users, showing why HyperLogLog’s error and lack of per‑user state make it unsuitable, and presents a detailed Bitmap‑based architecture—including sharding, pre‑computation, and ClickHouse integration—to achieve precise, high‑performance analytics.

BitmapClickHouseDailyActiveUsers
0 likes · 16 min read
Why HyperLogLog Misses 100M Daily Active Users and How Bitmap Solves It
SpringMeng
SpringMeng
Mar 15, 2026 · Backend Development

Boost Your Spring Boot APIs with a DIY Anti‑Duplicate and Rate‑Limiting Starter

Guardian is a lightweight Spring Boot starter that provides independent anti‑duplicate submission and rate‑limiting modules, offering annotation and YAML configuration, multi‑dimensional key scopes, customizable response modes, Redis or local storage, and built‑in monitoring, all illustrated with step‑by‑step code examples.

API protectionDuplicate SubmissionRedis
0 likes · 17 min read
Boost Your Spring Boot APIs with a DIY Anti‑Duplicate and Rate‑Limiting Starter
Cloud Architecture
Cloud Architecture
Mar 13, 2026 · Backend Development

Mastering Redis Rate Limiting: Token Bucket & Sliding Window Full Implementation Guide

This article provides a comprehensive, production‑ready walkthrough of implementing Redis‑based rate limiting using token bucket and sliding window algorithms, covering algorithm fundamentals, code examples, performance testing, multi‑layer architecture, dynamic configuration, and best‑practice recommendations for high‑traffic backend services.

BackendLuaRedis
0 likes · 43 min read
Mastering Redis Rate Limiting: Token Bucket & Sliding Window Full Implementation Guide
Code Wrench
Code Wrench
Mar 11, 2026 · Backend Development

Beego V2: Functional Routing, Redis AOP Rate Limiting & Toolbox Security

Discover how to transform a basic Beego V2 project into a high‑performance, concurrent service by replacing reflection‑based controllers with functional routing, implementing a distributed Redis‑Lua token‑bucket rate limiter via AOP filters, and securing the built‑in Toolbox with essential production hardening steps.

BeegoFunctional RoutingGo
0 likes · 6 min read
Beego V2: Functional Routing, Redis AOP Rate Limiting & Toolbox Security
Top Architect
Top Architect
Mar 9, 2026 · Backend Development

How to Auto‑Cancel Unpaid Orders in Spring Boot: 3 Practical Approaches

This guide explains three ways to automatically cancel orders that remain unpaid for 30 minutes in a Spring Boot application, covering scheduled tasks, RabbitMQ delayed queues, and Redis key‑expiration events, with complete code examples and configuration details.

RabbitMQRedisSpring Boot
0 likes · 7 min read
How to Auto‑Cancel Unpaid Orders in Spring Boot: 3 Practical Approaches
Java Architect Handbook
Java Architect Handbook
Mar 9, 2026 · Backend Development

How to Auto‑Cancel Unpaid Orders in Spring Boot Within 30 Minutes

This article explains three practical ways to automatically cancel orders that remain unpaid for 30 minutes in a Spring Boot application, covering a scheduled task, a RabbitMQ delayed queue, and Redis key‑expiration events, with complete code examples and configuration steps.

RedisSpring Bootdelayed queue
0 likes · 8 min read
How to Auto‑Cancel Unpaid Orders in Spring Boot Within 30 Minutes
DevOps Coach
DevOps Coach
Mar 8, 2026 · Databases

Boosting Performance 25× and Cutting Costs 80%: Our Switch from Redis to DragonflyDB

Facing high memory overhead, operational complexity, and scaling limits of a large Redis cluster, we migrated to DragonflyDB using a three‑stage shadow, dual‑write, and cut‑over process, achieving up to 25‑fold throughput increase, 80% cost reduction, and simpler maintenance while preserving compatibility with existing Redis clients.

DragonflyDBRediscost optimization
0 likes · 7 min read
Boosting Performance 25× and Cutting Costs 80%: Our Switch from Redis to DragonflyDB
Golang Shines
Golang Shines
Mar 8, 2026 · Backend Development

240 Go Interview Questions with Answers – Master Them in 3 Passes to Land the Job

This article compiles a comprehensive set of 240 Go interview questions—including fundamentals, concurrency, runtime, and related topics such as containers, Redis, and MySQL—each paired with answers, offering candidates a structured study guide to repeatedly practice and improve their chances of securing a Go development position.

DockerGoMySQL
0 likes · 15 min read
240 Go Interview Questions with Answers – Master Them in 3 Passes to Land the Job
Top Architect
Top Architect
Mar 6, 2026 · Databases

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

This guide introduces RedisInsight, outlines its key features, provides step‑by‑step Linux installation, environment‑variable configuration, service startup, Kubernetes deployment instructions, and demonstrates basic UI usage for monitoring, CLI interaction, and memory analysis of Redis instances.

GUIRedisRedisInsight
0 likes · 8 min read
Master RedisInsight: Install, Configure & Use the Ultimate Redis GUI
Top Architect
Top Architect
Mar 3, 2026 · Backend Development

How to Build a Million‑User Ticket‑Snatching System with Nginx, Redis, and Go

This article explains how to design a high‑concurrency ticket‑snatching service that can handle millions of requests by combining multi‑layer load balancing, weighted Nginx round‑robin, in‑memory stock with Redis‑backed global inventory, and Go’s native concurrency, complete with code samples and performance results.

GoHigh ConcurrencyNginx
0 likes · 19 min read
How to Build a Million‑User Ticket‑Snatching System with Nginx, Redis, and Go
Programmer XiaoFu
Programmer XiaoFu
Mar 3, 2026 · Backend Development

Why Can a Redis Lock Be Stealed by Another Thread Before Its TTL Expires?

In high‑concurrency Java services, a Redis lock that appears to have a valid TTL can still be taken by another thread when a long Stop‑The‑World pause freezes the JVM clock, causing the lock to expire on Redis while the original holder remains paused, leading to data races.

Full GCJVMOptimistic Lock
0 likes · 8 min read
Why Can a Redis Lock Be Stealed by Another Thread Before Its TTL Expires?
Java Architect Handbook
Java Architect Handbook
Feb 28, 2026 · Backend Development

Prevent Duplicate Submissions and Rate‑Limit APIs with the Guardian Spring Boot Starter

This article introduces Guardian, a lightweight Spring Boot starter that provides anti‑duplicate‑submission protection and request rate limiting, explains how to integrate it via Maven, configure it with annotations or YAML, and details its internal workflow, storage options, concurrency handling, and monitoring capabilities.

JavaRedisSpring Boot
0 likes · 17 min read
Prevent Duplicate Submissions and Rate‑Limit APIs with the Guardian Spring Boot Starter
Golang Shines
Golang Shines
Feb 27, 2026 · Backend Development

Boost Go Backend Performance with Redis Pipeline: A Practical Guide

Redis Pipeline batches commands to reduce network round‑trip overhead, offering up to ~50× speedup for bulk writes, improved stability under high concurrency, and lower latency for critical services; the guide explains its mechanics, Go implementation with go‑redis/v9, performance benchmarks, suitable scenarios, and pitfalls to avoid.

BackendGoRedis
0 likes · 7 min read
Boost Go Backend Performance with Redis Pipeline: A Practical Guide
Senior Tony
Senior Tony
Feb 26, 2026 · Information Security

Why Most Projects Choose Token + Redis Over Stateless JWT

Although JWT is marketed as a decentralized, stateless solution, the majority of real‑world applications still rely on a Token + Redis approach because it simplifies logout handling, avoids Redis outages, and aligns better with practical security requirements.

AuthenticationBackendJWT
0 likes · 7 min read
Why Most Projects Choose Token + Redis Over Stateless JWT
java1234
java1234
Feb 26, 2026 · Databases

Can Redis Cluster Lose Writes? Why and How to Prevent Them

Redis Cluster can lose writes due to asynchronous replication, network partitions, inadequate persistence settings, or unconfirmed client operations, but enabling AOF, configuring replication acknowledgments, using Sentinel or built‑in HA, and adding client retry logic can mitigate these risks, as demonstrated with a Java Jedis example.

AOFJavaJedis
0 likes · 7 min read
Can Redis Cluster Lose Writes? Why and How to Prevent Them
Xiaolei Talks DB
Xiaolei Talks DB
Feb 25, 2026 · Databases

Engula: Redis‑Compatible In‑Memory Database Cutting Memory Use by 50%

Engula is a Redis‑compatible, high‑performance in‑memory database that cuts memory usage by up to 50% through compression and metadata optimization, while incurring only about 10% performance overhead, and its architecture, testing methodology, and benchmark results are detailed in this article.

In-Memory DatabaseMemory CompressionRedis
0 likes · 7 min read
Engula: Redis‑Compatible In‑Memory Database Cutting Memory Use by 50%
Top Architect
Top Architect
Feb 24, 2026 · Databases

Master RedisInsight: Install, Deploy on Kubernetes, and Use the GUI

This guide introduces RedisInsight—a visual Redis GUI—covers its key features, provides step‑by‑step instructions for Linux and Kubernetes installation, explains environment variable configuration, shows how to start the service, and demonstrates basic usage for monitoring and managing Redis instances.

Database GUIKubernetesRedis
0 likes · 8 min read
Master RedisInsight: Install, Deploy on Kubernetes, and Use the GUI
Senior Xiao Ying
Senior Xiao Ying
Feb 24, 2026 · Databases

Mastering MySQL Performance: Connection Pool Tuning, Built‑in Cache, and Application‑Level Caching

This guide walks through three defensive layers for MySQL performance—optimizing the connection pool, configuring the query cache and memory tables, and designing multi‑level application caches (including Cache‑Aside, Write‑Through, and Redis integration) with concrete code examples and best‑practice recommendations.

Memory TableMySQLQuery Cache
0 likes · 13 min read
Mastering MySQL Performance: Connection Pool Tuning, Built‑in Cache, and Application‑Level Caching
Java Companion
Java Companion
Feb 21, 2026 · Backend Development

Build Your Own Spring Boot API Guard: Anti‑Duplicate Submissions and Rate Limiting

The article introduces Guardian, a lightweight Spring Boot starter that provides independent anti‑duplicate‑submission and rate‑limiting modules, explains why a custom solution is preferable to raw Redis locks, and walks through annotation and YAML configurations, key generation, response handling, storage options, concurrency safety, and observability.

API GuardAnti-duplicate SubmissionRedis
0 likes · 17 min read
Build Your Own Spring Boot API Guard: Anti‑Duplicate Submissions and Rate Limiting
SpringMeng
SpringMeng
Feb 21, 2026 · Backend Development

How to Elegantly Implement an Online User Count with Redis ZSET

This article explains how to build a real‑time online user counter by identifying users via tokens or browser fingerprints, storing them in a Redis sorted set, and using ZADD, ZRANGEBYSCORE, ZREMRANGEBYSCORE and ZREM commands to add, query, and clean the data.

BackendJavaRedis
0 likes · 7 min read
How to Elegantly Implement an Online User Count with Redis ZSET
Top Architect
Top Architect
Feb 18, 2026 · Backend Development

Building a Million‑User Ticket‑Spiking System with Nginx Load Balancing, Redis, and Go

This article explores how to design a high‑concurrency ticket‑spike service inspired by China’s 12306 platform, covering multi‑layer load balancing, local stock pre‑allocation, Redis‑based global inventory control, Go implementation details, and performance testing that demonstrates handling millions of simultaneous requests.

High ConcurrencyRedisticketing system
0 likes · 21 min read
Building a Million‑User Ticket‑Spiking System with Nginx Load Balancing, Redis, and Go
Coder Trainee
Coder Trainee
Feb 14, 2026 · Backend Development

Using RedisTemplate to Manage String and Hash Data in Spring

This article demonstrates how to encapsulate common RedisTemplate operations—such as deleting single or multiple keys, setting expiration, checking existence, and performing String and Hash CRUD actions—by providing concrete Java code examples and step‑by‑step method implementations.

JavaRedisRedisTemplate
0 likes · 4 min read
Using RedisTemplate to Manage String and Hash Data in Spring
Coder Trainee
Coder Trainee
Feb 13, 2026 · Databases

Understanding Redis Commands and Its Five Data Types

This article explains how to access the Redis CLI on Linux, connect to remote servers, and provides detailed examples of common commands for each of Redis's five data types—String, List, Set, Sorted Set, and Hash—highlighting key syntax and usage patterns.

Data TypesListRedis
0 likes · 4 min read
Understanding Redis Commands and Its Five Data Types
Raymond Ops
Raymond Ops
Feb 11, 2026 · Databases

Mastering Redis Memory: From Basics to Advanced Troubleshooting

This comprehensive guide walks you through the real costs of Redis memory problems, explains the three‑layer memory architecture and five major consumers, provides a toolbox of INFO and MEMORY commands plus monitoring scripts, and offers step‑by‑step solutions for seven common issues, best‑practice optimizations, real‑world case studies, a daily checklist, and advanced techniques such as Lua scripts and smart cache warm‑up.

BackendRedisdatabases
0 likes · 26 min read
Mastering Redis Memory: From Basics to Advanced Troubleshooting
Tech Musings
Tech Musings
Feb 10, 2026 · Backend Development

How to Build a Hybrid Vector‑+‑Text Search with Redis 8 (No GPU Required)

This article walks through the complete setup of a hybrid retrieval pipeline on two CPU‑only Linux servers using Redis 8, Qwen‑3‑Embedding vectors, and RediSearch to combine BM25 keyword scores with cosine‑based vector similarity, showing environment details, index creation, data ingestion, the hybrid_search function implementation, result normalization, and a common pitfall of forgetting to set the query language to Chinese.

EmbeddingHybrid SearchPython
0 likes · 23 min read
How to Build a Hybrid Vector‑+‑Text Search with Redis 8 (No GPU Required)
ITPUB
ITPUB
Feb 9, 2026 · Databases

ClickHouse vs Doris vs Redis: Real‑World Query Performance Test with Flink

Using a 600k‑record IP range dataset, we built identical tables in ClickHouse and Doris, and a Redis skip‑list store, then ran three Flink‑Kafka streaming jobs to compare query latency across the three databases under varying traffic rates, revealing Redis as fastest, ClickHouse second, Doris slowest.

ClickHouseDorisFlink
0 likes · 8 min read
ClickHouse vs Doris vs Redis: Real‑World Query Performance Test with Flink
SpringMeng
SpringMeng
Feb 7, 2026 · Databases

Redis’s Multithreaded Query Engine Boosts RAG Performance

Redis introduces a multithreaded query engine that keeps average latency under 10 ms while delivering up to 16× higher throughput for vector‑search workloads, enabling faster retrieval‑augmented generation (RAG) applications and outperforming pure vector databases and managed Redis services in benchmark tests.

Database ScalingMultithreaded QueryRAG
0 likes · 6 min read
Redis’s Multithreaded Query Engine Boosts RAG Performance
Smart Sea Tide
Smart Sea Tide
Feb 6, 2026 · Artificial Intelligence

Evolution of a Recommendation System Architecture: From V1.0 to V3.0

The article traces the evolution of an e‑commerce recommendation platform through three architectural versions, detailing the scalability, modularity, and configurability challenges of V1.0, the pipeline‑based improvements of V2.0, and the dynamic configuration service, AB testing, and distributed recall and prediction services introduced in V3.0.

AB TestingElasticsearchRedis
0 likes · 14 min read
Evolution of a Recommendation System Architecture: From V1.0 to V3.0
Raymond Ops
Raymond Ops
Feb 5, 2026 · Databases

Mastering Redis Persistence: RDB vs AOF Showdown and Real‑World Optimizations

This comprehensive guide examines why Redis persistence is critical, compares RDB snapshots and AOF logging in depth, provides configuration examples, monitoring scripts, performance benchmarks, real‑world incident analyses, and practical recommendations for selecting and tuning the optimal persistence strategy.

AOFPersistenceRDB
0 likes · 23 min read
Mastering Redis Persistence: RDB vs AOF Showdown and Real‑World Optimizations
Go Development Architecture Practice
Go Development Architecture Practice
Feb 4, 2026 · Backend Development

Master Go Rate Limiting: Sliding Window, Token Bucket, and Redis Techniques

This article presents four practical Go rate‑limiting implementations—a sliding‑window algorithm, a token‑bucket approach, the built‑in golang.org/x/time/rate package, and a Redis‑backed distributed limiter—complete with code samples, usage guidance, and recommendations for different deployment scenarios.

Redisgolang.org/x/time/raterate limiting
0 likes · 11 min read
Master Go Rate Limiting: Sliding Window, Token Bucket, and Redis Techniques
java1234
java1234
Feb 3, 2026 · Backend Development

Boost API Latency 10× with Spring Boot 3 and a Local Cache Pyramid

The article demonstrates how to achieve a ten‑fold reduction in API response time by building a three‑level cache pyramid (Caffeine L1, Redis L2, DB L3) in Spring Boot 3, covering dependencies, configuration, core template code, warm‑up, monitoring, load‑test results and common high‑concurrency pitfalls.

CaffeineJavaMonitoring
0 likes · 8 min read
Boost API Latency 10× with Spring Boot 3 and a Local Cache Pyramid
LuTiao Programming
LuTiao Programming
Feb 1, 2026 · Backend Development

Why Ticket Sales Fail: A Deep Dive into Concurrency, Locks, and Building a Reliable Ticket‑Booking System

When half a million users simultaneously try to buy 5,000 concert tickets, naive ordering logic leads to race conditions and double bookings, so the article walks through the root causes, compares pessimistic, optimistic, and Redis distributed locks, and presents an industrial‑grade microservice design with a three‑stage state machine to ensure strong consistency and high availability.

Optimistic LockPessimistic LockRedis
0 likes · 8 min read
Why Ticket Sales Fail: A Deep Dive into Concurrency, Locks, and Building a Reliable Ticket‑Booking System
AI Engineering
AI Engineering
Feb 1, 2026 · Artificial Intelligence

How a Virtual AI Team Built with Clawdbot Can Run Real Business Operations

The article details a founder's implementation of a ten‑agent AI team using the open‑source Clawdbot (now OpenClaw) framework, describing its architecture, cost‑saving heartbeat mechanism, Mission Control collaboration platform, and a concrete workflow that lets the agents autonomously produce competitive analyses, marketing content, and code tasks for a company.

AI agentsClawdbotConvex
0 likes · 8 min read
How a Virtual AI Team Built with Clawdbot Can Run Real Business Operations
Ray's Galactic Tech
Ray's Galactic Tech
Jan 30, 2026 · Cloud Native

Scale a Monolithic Article Interaction Service with Kubernetes Microservices

This article walks through converting a single‑service article interaction module—handling likes, favorites, and reads—into independent microservices deployed on Kubernetes, detailing architecture goals, service separation, Redis‑based high‑concurrency handling, Kafka async persistence, deployment configurations, auto‑scaling, and real‑world performance results.

KafkaRedis
0 likes · 8 min read
Scale a Monolithic Article Interaction Service with Kubernetes Microservices
AI Insight Log
AI Insight Log
Jan 29, 2026 · Artificial Intelligence

Redis Creator Says Stop Fighting AI: Programming Logic Is Being Reshaped

In a candid blog post, Redis founder Salvatore Sanfilippo admits he’s “surrendered” to AI, showing how Claude Code helped him refactor a library, fix transient bugs, build a C‑based BERT inference engine, and rewrite Redis Streams in minutes, arguing that manual coding is no longer the wise choice for most projects.

AIClaude CodeRedis
0 likes · 7 min read
Redis Creator Says Stop Fighting AI: Programming Logic Is Being Reshaped
Java Architect Handbook
Java Architect Handbook
Jan 28, 2026 · Databases

How to Prevent Redis Split‑Brain Disasters with min‑replicas‑to‑write

This article explains the Redis split‑brain problem that can occur in master‑replica clusters, outlines the interview points interviewers look for, and provides a detailed solution using the min‑replicas‑to‑write (or min‑slaves‑to‑write) configuration to sacrifice write availability for data consistency, along with best‑practice recommendations and common pitfalls.

Redisconfigurationdistributed systems
0 likes · 12 min read
How to Prevent Redis Split‑Brain Disasters with min‑replicas‑to‑write
Open Source Tech Hub
Open Source Tech Hub
Jan 28, 2026 · Backend Development

Getting Started with Valkey Glide PHP: A High‑Performance Redis‑Compatible Client

This guide introduces Valkey Glide PHP, the official high‑performance PHP client for the Valkey in‑memory datastore, explains its core Rust‑based architecture, shows three installation methods, highlights key features such as cluster‑aware commands and TLS, and provides ready‑to‑run code examples for single‑node and clustered environments.

BackendClientGlide
0 likes · 7 min read
Getting Started with Valkey Glide PHP: A High‑Performance Redis‑Compatible Client
AI Tech Publishing
AI Tech Publishing
Jan 27, 2026 · Artificial Intelligence

Step‑by‑Step: Adding Skill Capabilities to Your Agent System

This article walks through the design patterns, three‑level loading mechanism, and practical implementation steps for integrating reusable, domain‑specific Skills into an existing Agent system, covering both local and distributed deployments with Redis‑based versioning and sandboxed execution.

AgentLLMMeta-Tool Pattern
0 likes · 14 min read
Step‑by‑Step: Adding Skill Capabilities to Your Agent System
Ray's Galactic Tech
Ray's Galactic Tech
Jan 24, 2026 · Databases

Redis Persistence Design: From Cache to Reliable Data System

Choosing a Redis persistence strategy requires balancing data reliability, recovery speed, performance impact, and storage cost, and this guide compares RDB, AOF, and hybrid approaches, provides configuration examples, and outlines best practices for production, backup, and Kubernetes deployments.

AOFPersistenceRDB
0 likes · 8 min read
Redis Persistence Design: From Cache to Reliable Data System
Java Tech Enthusiast
Java Tech Enthusiast
Jan 24, 2026 · Backend Development

How to Keep Database and Redis Cache Consistent Under High Concurrency

This article examines the common data‑consistency challenges when writing to both a database and a Redis cache, evaluates four write‑order strategies, and presents the most reliable approach—writing to the database first then deleting the cache—along with retry mechanisms using scheduled jobs, message queues, and binlog listeners.

BinlogElastic-JobHigh Concurrency
0 likes · 17 min read
How to Keep Database and Redis Cache Consistent Under High Concurrency
Ubiquitous Tech
Ubiquitous Tech
Jan 23, 2026 · Backend Development

Three Redis Inventory Decrement Lock Patterns Explained

The article analyzes three Redis inventory‑deduction locking strategies—exclusive lock, segmented lock, and lock‑free/key‑quantization—detailing their key structures, suitable scenarios, advantages, drawbacks, and also covers Lua‑script atomic decrement, async queue buffering, and local pre‑deduction techniques.

Exclusive LockInventoryLock-Free
0 likes · 8 min read
Three Redis Inventory Decrement Lock Patterns Explained
IT Services Circle
IT Services Circle
Jan 23, 2026 · Databases

How to Keep Cache and Database Consistent: 4 Common Strategies and Their Pitfalls

This article examines the double‑write consistency problem between databases and caches like Redis, explains why naïve cache‑first or DB‑first updates can cause stale or phantom data under high concurrency, and evaluates four practical solutions with detailed trade‑offs and recommended retry mechanisms.

High ConcurrencyRediscache consistency
0 likes · 17 min read
How to Keep Cache and Database Consistent: 4 Common Strategies and Their Pitfalls
ITPUB
ITPUB
Jan 21, 2026 · Interview Experience

How to Design a Billion‑User Real‑Time Step Leaderboard for Interviews

This article breaks down the interview‑level system design of a WeChat‑style step leaderboard that must support over a billion users, handling massive write spikes, low‑latency friend ranking queries, storage scaling, and relationship complexity with a three‑part architecture using MQ, Redis, and MySQL.

High ConcurrencyKafkaLeaderboard
0 likes · 8 min read
How to Design a Billion‑User Real‑Time Step Leaderboard for Interviews
Su San Talks Tech
Su San Talks Tech
Jan 21, 2026 · Backend Development

How to Track Online Users in Real‑Time with Redis ZSET in SpringBoot

Learn a practical approach to count online users in real time by leveraging Redis sorted sets (zset) with SpringBoot, covering user identification via tokens or browser fingerprinting, key Redis commands (zadd, zrangeByScore, zremrangeByScore, zrem), and scheduled cleanup logic.

JavaRedisSpringBoot
0 likes · 7 min read
How to Track Online Users in Real‑Time with Redis ZSET in SpringBoot
java1234
java1234
Jan 20, 2026 · Databases

Understanding Redis Memory Eviction Strategies

Redis stores data in memory, so when usage reaches the maxmemory limit it triggers one of six eviction policies—noeviction, allkeys‑lru, volatile‑lru, allkeys‑random, volatile‑random, and volatile‑ttl—each suited to different scenarios, and can be set via redis.conf or CONFIG SET, as illustrated with a Java Jedis example.

JavaJedisLRU
0 likes · 6 min read
Understanding Redis Memory Eviction Strategies
AI Tech Publishing
AI Tech Publishing
Jan 20, 2026 · Artificial Intelligence

10 Core Architecture Patterns for Scalable LLM Skills and Context Engineering

The article presents a ten‑step architecture for implementing scalable LLM Skills, covering a meta‑tool pattern to avoid tool explosion, progressive three‑level loading to save tokens, script execution outside the LLM context, Redis‑based storage with pub/sub updates, version locking, dynamic addition, batch loading, and file‑system strategies.

AgentContext EngineeringLLM
0 likes · 10 min read
10 Core Architecture Patterns for Scalable LLM Skills and Context Engineering
LuTiao Programming
LuTiao Programming
Jan 19, 2026 · Backend Development

How to Build a High‑Concurrency Flash‑Sale System with Spring Boot, Redis, and Lua

The article analyzes why flash‑sale systems often crash under extreme traffic and presents a step‑by‑step solution using Spring Boot, Redis, and Lua that prevents overselling, pre‑warms stock, applies token‑bucket rate limiting, executes atomic stock deductions, and decouples order creation asynchronously while adding monitoring and safety measures.

Atomic ScriptHigh ConcurrencyLua
0 likes · 9 min read
How to Build a High‑Concurrency Flash‑Sale System with Spring Boot, Redis, and Lua
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 19, 2026 · Backend Development

How to Ensure Single-Node Execution of Spring Boot @Scheduled Tasks in Distributed Environments

This guide explains why @Scheduled jobs run on every Spring Boot instance in a cluster, and presents three practical solutions—Spring Integration's Redis lock, Redisson, and ShedLock—complete with Maven dependencies, configuration snippets, code examples, and runtime screenshots to guarantee that only one node executes the scheduled task at a time.

RedisRedissonShedLock
0 likes · 9 min read
How to Ensure Single-Node Execution of Spring Boot @Scheduled Tasks in Distributed Environments
java1234
java1234
Jan 17, 2026 · Databases

Do Expired Redis Keys Get Deleted Instantly?

Redis uses both time‑based and lazy expiration, marking keys as expired at their TTL but only removing them on the next access or during periodic cleanup, so expired keys are not deleted the instant they expire.

JavaJedisKey Expiration
0 likes · 5 min read
Do Expired Redis Keys Get Deleted Instantly?
JavaGuide
JavaGuide
Jan 15, 2026 · Interview Experience

Lost the Courage to Switch Jobs After Three Years in a State-Owned Enterprise?

The author explains why state-owned enterprises are not always stable, why their low‑tech projects hinder interview performance, and offers concrete steps—such as adding Redis caching, multithreading, and using the STAR method—to turn a modest Java background into compelling interview material.

BackendJavaRedis
0 likes · 6 min read
Lost the Courage to Switch Jobs After Three Years in a State-Owned Enterprise?
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jan 14, 2026 · Backend Development

How to Handle Hot Account Deduction in High‑Concurrency Systems

This article examines strategies for low‑latency, consistent hot‑account updates under high concurrency, comparing optimistic DB locking, Redis‑based deduction with asynchronous merging, data sharding, and MQ‑driven batch processing, and also addresses read‑side solutions.

High ConcurrencyOptimistic LockRedis
0 likes · 5 min read
How to Handle Hot Account Deduction in High‑Concurrency Systems
JavaGuide
JavaGuide
Jan 13, 2026 · Backend Development

Claude Code Generates Unexpected Bugs: 4 Real-World Spring Pitfalls and Fixes

During a Spring‑based interview platform project, the author discovered four typical bugs introduced by Claude Code—transactional self‑invocation loss, AI‑generated NullPointerExceptions, async task failures after entity deletion, and Redis Stream message buildup—and explains the root causes and concrete remediation steps.

@TransactionalAI code generationBug debugging
0 likes · 11 min read
Claude Code Generates Unexpected Bugs: 4 Real-World Spring Pitfalls and Fixes
Tech Freedom Circle
Tech Freedom Circle
Jan 12, 2026 · Backend Development

Why Sentinel Fails for Per‑User Hourly Limits and How Redis + Lua Solves It

The article compares four user‑level rate‑limiting approaches—Sentinel hotspot parameters, Sentinel ordinary flow control with cluster mode, Redis ZSet + Lua scripts, and Guava RateLimiter—explaining why Sentinel is unsuitable for long‑window low‑frequency limits and why Redis + Lua is the optimal solution for high‑traffic e‑commerce scenarios.

Distributed ConsistencyLong WindowLua
0 likes · 26 min read
Why Sentinel Fails for Per‑User Hourly Limits and How Redis + Lua Solves It
java1234
java1234
Jan 10, 2026 · Backend Development

Designing a Highly Available Service Registry: Key Principles and Java Example

This article explains how to design a highly available service registry for microservice architectures, covering high‑availability mechanisms, performance optimizations, scalability strategies, core registry functions, and provides a complete Java Spring Boot implementation using Redis.

JavaRedisSpring Boot
0 likes · 6 min read
Designing a Highly Available Service Registry: Key Principles and Java Example
Java Architect Handbook
Java Architect Handbook
Jan 10, 2026 · Backend Development

Boost API Speed 14× with a 3‑Level Cache Pyramid in Spring Boot

By combining a local Caffeine cache, a remote Redis layer, and a MySQL database into a three‑tier cache pyramid, this guide shows how to reduce API response time from 28 ms to 2 ms, cut CPU usage by 35 %, and achieve up to 14‑fold performance gains, complete with configuration, code, and monitoring tips.

CaffeineRedisSpring Boot
0 likes · 12 min read
Boost API Speed 14× with a 3‑Level Cache Pyramid in Spring Boot
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 8, 2026 · Artificial Intelligence

How to Build Human‑In‑The‑Loop (HITL) Capabilities into ReactAgent

This article explains how to integrate a Human‑In‑The‑Loop (HITL) mechanism into ReactAgent, detailing the motivation, design of interaction, tool description, XML‑based UI rendering, Redis‑driven waiting loop, and the broader architectural parallels with design patterns and other agent frameworks.

AgentDesign PatternsHITL
0 likes · 14 min read
How to Build Human‑In‑The‑Loop (HITL) Capabilities into ReactAgent
IT Services Circle
IT Services Circle
Jan 7, 2026 · Backend Development

What Tencent Backend Engineers Earn and How to Nail Their Interview

This article shares a collected list of 2023 Tencent backend developer compensation packages—showing total first‑year offers starting above 40 W RMB—followed by detailed explanations of interview questions covering Redis caching, MySQL transactions, hot‑key detection, SQL injection, HTTP/HTTPS differences, API timeout troubleshooting, and microservice migration strategies.

Backend SalaryMySQLRedis
0 likes · 24 min read
What Tencent Backend Engineers Earn and How to Nail Their Interview
php Courses
php Courses
Jan 7, 2026 · Backend Development

Cross‑Platform PHP Caching: File and Redis Strategies with Code Samples

This article explains how to implement cross‑platform caching in PHP using both file‑based storage and Redis, providing complete code examples, describing key functions for checking, reading, writing, and expiring cache entries, and highlighting compatibility considerations for different environments.

FileCacheRedis
0 likes · 5 min read
Cross‑Platform PHP Caching: File and Redis Strategies with Code Samples
Ray's Galactic Tech
Ray's Galactic Tech
Jan 6, 2026 · Backend Development

Scalable GPS Data Backend: SpringBoot, Kafka, MongoDB & Redis Design

This guide outlines a complete backend architecture for high‑volume GPS data, detailing the overall system flow, technology stack choices, Maven dependencies, data models, Kafka producer/consumer configurations, SpringBoot controllers, asynchronous processing, Redis caching, health checks, Docker deployment, and performance tuning recommendations to ensure stability and scalability.

DockerKafkaMongoDB
0 likes · 11 min read
Scalable GPS Data Backend: SpringBoot, Kafka, MongoDB & Redis Design
java1234
java1234
Jan 6, 2026 · Backend Development

Boost API Latency 10× with Spring Boot 3 and a Three‑Level Local Cache Pyramid

The article explains why adding Redis alone often remains slow, introduces a three‑level cache pyramid (L1 Caffeine, L2 Redis, L3 MySQL) built with Spring Boot 3, and shows how this design reduces request latency from 28 ms to 2 ms, cuts CPU usage by 35 % and achieves up to 14‑fold throughput improvement.

CaffeineJavaRedis
0 likes · 10 min read
Boost API Latency 10× with Spring Boot 3 and a Three‑Level Local Cache Pyramid
Architect's Guide
Architect's Guide
Jan 4, 2026 · Backend Development

Mastering JetCache: A SpringBoot Guide to Distributed Caching

This article introduces JetCache, an open‑source distributed cache built on Spring and Redis, explains its core features and typical use cases, details the main API and annotation support, and provides a step‑by‑step SpringBoot integration guide with full code examples.

JavaJetCacheRedis
0 likes · 7 min read
Mastering JetCache: A SpringBoot Guide to Distributed Caching
Java Companion
Java Companion
Jan 4, 2026 · Backend Development

Achieve 10× Faster APIs with Spring Boot 3’s Three‑Level Cache Pyramid

The article demonstrates how to combine Spring Boot 3, Caffeine local cache, and Redis into a three‑level cache pyramid, reducing API response time from 28 ms to 2 ms, cutting CPU usage by 35 %, and providing detailed configuration, code examples, performance benchmarks, and mitigation strategies for common high‑concurrency pitfalls.

CaffeineJavaRedis
0 likes · 10 min read
Achieve 10× Faster APIs with Spring Boot 3’s Three‑Level Cache Pyramid
dbaplus Community
dbaplus Community
Jan 2, 2026 · Information Security

How We Built a High‑Performance, Low‑Cost Content Moderation System with Trie + Aho‑Corasick

Faced with minutes‑long posting delays and exploding review costs in a fast‑growing social app, the team introduced 24‑hour shift staffing, a local blacklist stored in MySQL, an in‑memory Trie + Aho‑Corasick matcher, Redis‑driven hot updates and a machine‑audit fallback with a feedback loop, dramatically cutting latency, cost and false‑positives.

Aho-CorasickGoMySQL
0 likes · 33 min read
How We Built a High‑Performance, Low‑Cost Content Moderation System with Trie + Aho‑Corasick
Java Architect Handbook
Java Architect Handbook
Dec 31, 2025 · Backend Development

Mastering API Rate Limiting with Spring Interceptor and Redis

This article walks through building a Spring MVC interceptor that leverages Redis to enforce per‑IP request limits, explains configurable parameters, shows how to apply protection selectively via mapping rules or custom annotations, and discusses practical pitfalls such as sliding‑window logic, path‑parameter handling, and real‑IP detection.

API SecurityBackendInterceptor
0 likes · 20 min read
Mastering API Rate Limiting with Spring Interceptor and Redis
Architect
Architect
Dec 29, 2025 · Backend Development

Can Redis Replace Kafka? Comparing List, Pub/Sub, and Stream Queues

This article examines whether Redis can serve as a reliable message queue by exploring its List, Pub/Sub, and Stream data structures, comparing their features, limitations, and durability against professional brokers like Kafka and RabbitMQ, and offering practical usage guidelines.

Message QueueRedisStream
0 likes · 18 min read
Can Redis Replace Kafka? Comparing List, Pub/Sub, and Stream Queues
Ray's Galactic Tech
Ray's Galactic Tech
Dec 27, 2025 · Databases

Why Redis Handles Millions of QPS: The Four Core Design Secrets

Redis achieves single‑machine million‑level QPS not merely because it stores data in memory, but through a tightly coordinated set of four core design principles—pure in‑memory operation, single‑threaded architecture, I/O multiplexing, and highly optimized data structures—that together deliver ultra‑low latency and massive throughput.

In-MemoryRedisdatabases
0 likes · 5 min read
Why Redis Handles Millions of QPS: The Four Core Design Secrets
Ray's Galactic Tech
Ray's Galactic Tech
Dec 25, 2025 · Backend Development

Mastering Delayed Messaging: When to Use RabbitMQ, RocketMQ, or Redis

This guide explains why delayed messages are essential for distributed system stability, compares RabbitMQ's TTL+DLX and delayed‑message plugin, details RocketMQ's precise timing and delay‑level features, and offers custom Redis and time‑wheel solutions with practical Java code examples and deployment tips.

Delayed MessagingJavaMessage Queue
0 likes · 8 min read
Mastering Delayed Messaging: When to Use RabbitMQ, RocketMQ, or Redis