Tagged articles
3240 articles
Page 1 of 33
Ops Community
Ops Community
May 20, 2026 · Backend Development

Redis Cache Avalanche, Penetration, and Breakdown: The Three Must‑Know Issues for Interviews

This article explains the three classic Redis cache problems—avalanche, penetration, and breakdown—detailing their definitions, typical symptoms, step‑by‑step troubleshooting procedures, root‑cause analysis, and practical mitigation strategies such as random expiration, empty‑value caching, Bloom filters, distributed locks, and multi‑level cache architectures.

bloom-filtercache-avalanchecache-breakdown
0 likes · 35 min read
Redis Cache Avalanche, Penetration, and Breakdown: The Three Must‑Know Issues for Interviews
IT Services Circle
IT Services Circle
May 20, 2026 · Databases

Why Can Redis Sustain Over 100k QPS? A Deep Technical Dive

The article explains how Redis achieves more than 100,000 queries per second by leveraging in‑memory storage, highly optimized data structures, a single‑threaded core with epoll‑based I/O multiplexing, optional I/O multithreading, and performance tricks such as pipelining and careful key sizing.

Data StructuresI/O MultiplexingIn-Memory Database
0 likes · 9 min read
Why Can Redis Sustain Over 100k QPS? A Deep Technical Dive
Java Architect Essentials
Java Architect Essentials
May 19, 2026 · Backend Development

Why Storing Tokens in Redis Is the Right Answer in Interviews

The article explains why many interviewers mock the Redis‑based token design, then systematically presents technical and security reasons—controllable logout, multi‑device SSO, high performance, dynamic permissions—and provides concrete implementation details, comparison with pure JWT, and best‑practice responses.

AuthenticationBackend SecurityJWT
0 likes · 6 min read
Why Storing Tokens in Redis Is the Right Answer in Interviews
Java Tech Enthusiast
Java Tech Enthusiast
May 14, 2026 · Information Security

Why JWT Still Needs Redis Despite Its Stateless Promise

Although JWT is marketed as a stateless, database‑free authentication method, real‑world applications often store token identifiers in Redis to handle logout, password changes, and token renewal, which reintroduces state and a database lookup.

AuthenticationJWTRefresh token
0 likes · 6 min read
Why JWT Still Needs Redis Despite Its Stateless Promise
Architect's Guide
Architect's Guide
May 11, 2026 · Backend Development

Why UUID Falls Short and How Snowflake Solves Distributed ID Generation

The article examines the limitations of UUIDs for distributed systems, outlines the strict requirements for global unique IDs, compares common approaches such as database auto‑increment and Redis, and provides a detailed analysis of Twitter's Snowflake algorithm with its structure, Java implementation, advantages, drawbacks, and mitigation strategies.

BackendJavadistributed-id
0 likes · 14 min read
Why UUID Falls Short and How Snowflake Solves Distributed ID Generation
Java Tech Enthusiast
Java Tech Enthusiast
May 10, 2026 · Databases

Why Can Redis Handle Over 100k QPS? A Deep Technical Breakdown

Redis can sustain over 100,000 queries per second thanks to four key factors: pure in‑memory storage, highly optimized data structures such as SDS and ziplist, a single‑threaded event loop with epoll‑based I/O multiplexing, and optional multi‑threaded network handling introduced in Redis 6.0.

Data StructuresIO MultiplexingIn-Memory Database
0 likes · 10 min read
Why Can Redis Handle Over 100k QPS? A Deep Technical Breakdown
Su San Talks Tech
Su San Talks Tech
May 9, 2026 · Databases

Why Can Redis Handle Over 100,000 QPS? A Deep Technical Breakdown

Redis can sustain over 100,000 queries per second thanks to four key pillars—memory‑first storage, highly optimized data structures like SDS and skip lists, a single‑threaded event loop with epoll multiplexing, and multi‑core I/O threading—each explained with benchmarks, code samples, and real‑world comparisons.

Data StructuresIO MultiplexingPipeline
0 likes · 10 min read
Why Can Redis Handle Over 100,000 QPS? A Deep Technical Breakdown
Node.js Tech Stack
Node.js Tech Stack
May 9, 2026 · Artificial Intelligence

Redis Founder Crafts DeepSeek V4 AI Inference Engine, Node.js Star Applauds

Redis creator Salvatore Sanfilippo (antirez) released DS4, a Metal‑only C inference engine tailored for DeepSeek V4 Flash on high‑end Macs, featuring narrow model focus, 2‑bit quantization, disk‑based KV cache, benchmark speeds around 26 tokens/s, and a dual OpenAI/Anthropic compatible server.

2-bit quantizationAI inference engineDeepSeek-V4
0 likes · 13 min read
Redis Founder Crafts DeepSeek V4 AI Inference Engine, Node.js Star Applauds
Ops Community
Ops Community
May 7, 2026 · Databases

How to Prevent Redis Data Loss: In‑Depth RDB and AOF Backup Strategies

This article walks operations engineers through the root causes of Redis data loss, explains the inner workings of RDB snapshots and AOF append‑only files, compares their trade‑offs, and provides concrete configuration, backup scripts, recovery procedures, and scenario‑based recommendations to keep data safe while maintaining performance.

AOFBackupConfiguration
0 likes · 34 min read
How to Prevent Redis Data Loss: In‑Depth RDB and AOF Backup Strategies
dbaplus Community
dbaplus Community
May 6, 2026 · Backend Development

Why Scheduled Tasks Fail for Million‑Scale Order Cancellation and How Redis Solves It

The article dissects a common interview question about automatically canceling unpaid orders after 30 minutes, explains why naïve cron‑based scans are unsuitable for tens of millions of rows, and presents three progressively robust solutions using Redis expiration, Redis ZSet polling, and message‑queue or time‑wheel architectures.

Delayed TaskDistributed SystemsMessage Queue
0 likes · 10 min read
Why Scheduled Tasks Fail for Million‑Scale Order Cancellation and How Redis Solves It
Su San Talks Tech
Su San Talks Tech
May 6, 2026 · Backend Development

11 Essential Redis Use Cases Every Backend Engineer Should Know

This article walks through eleven practical Redis scenarios—from classic caching and distributed locks to rate limiting, leaderboards, timelines, social graph operations, lightweight queues, Bloom filters, hash‑based object storage, unique‑counting, and delayed tasks—providing code samples, advantages, drawbacks, and when to apply each pattern.

Sorted SetStreambloom-filter
0 likes · 15 min read
11 Essential Redis Use Cases Every Backend Engineer Should Know
MaGe Linux Operations
MaGe Linux Operations
Apr 30, 2026 · Databases

How a Redis Connection Saturation Triggered a Service Avalanche – A Detailed Investigation

An online education platform experienced a massive outage when Redis hit its maxclients limit, causing authentication, session, and cache services to fail, which cascaded into a business avalanche; the article walks through the connection mechanism, root‑cause analysis, rapid mitigation steps, and long‑term safeguards.

Connection PoolJedisOperations
0 likes · 20 min read
How a Redis Connection Saturation Triggered a Service Avalanche – A Detailed Investigation
Architect Chen
Architect Chen
Apr 29, 2026 · Backend Development

The Ultimate Redis Guide: In‑Depth Overview of Architecture, Data Types, and Advanced Features

This comprehensive Redis guide covers its role as a core component in large‑scale architectures, explains common use cases, walks through installation and configuration options, details all primary data structures with commands and examples, and explores persistence, transactions, Lua scripting, replication, Sentinel, and cluster modes.

CacheClusterData Structures
0 likes · 18 min read
The Ultimate Redis Guide: In‑Depth Overview of Architecture, Data Types, and Advanced Features
Architect's Tech Stack
Architect's Tech Stack
Apr 29, 2026 · Databases

Redis 8.0 Beyond Simple Caching: 16 Powerful Use Cases You Must Try

Redis 8.0 consolidates many previously external modules—JSON, time‑series, vector search, probabilistic data structures, and more—into a single package, and this article walks through 16 concrete scenarios ranging from field‑level cache expiration to AI‑ready vector similarity search, showing exact commands and when to prefer each feature.

Full‑Text SearchRedis 8.0caching
0 likes · 19 min read
Redis 8.0 Beyond Simple Caching: 16 Powerful Use Cases You Must Try
IoT Full-Stack Technology
IoT Full-Stack Technology
Apr 29, 2026 · Databases

16 Practical Redis Use Cases You Should Know

This article walks through sixteen common Redis scenarios—including caching hot data, sharing state across services, implementing distributed locks, generating global IDs, counting events, rate limiting, bitmap statistics, shopping carts, timelines, message queues, lotteries, likes, tagging, product filtering, and leaderboards—each illustrated with concrete commands and code snippets.

BitmapsMessage Queuecaching
0 likes · 9 min read
16 Practical Redis Use Cases You Should Know
IoT Full-Stack Technology
IoT Full-Stack Technology
Apr 29, 2026 · Databases

10+ Practical Redis Use Cases You Can Implement Today

This article walks through more than ten common Redis scenarios—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmap statistics, shopping carts, timelines, message queues, lotteries, likes, product tagging, filtering, follow/fan relationships, and ranking—showing concrete command examples and code snippets for each.

BitmapFollow SystemMessage Queue
0 likes · 9 min read
10+ Practical Redis Use Cases You Can Implement Today
Top Architect
Top Architect
Apr 28, 2026 · Backend Development

Elegant API Rate Limiting with Spring Interceptor and Redis

This article demonstrates a step‑by‑step implementation of API anti‑brush (rate limiting) using a Spring Interceptor combined with Redis, explains how to configure time windows and request limits, introduces a custom @AccessLimit annotation for fine‑grained control, discusses path‑parameter pitfalls, real‑IP handling, and shares practical testing results.

API SecurityInterceptorJava
0 likes · 20 min read
Elegant API Rate Limiting with Spring Interceptor and Redis
Code Mala Tang
Code Mala Tang
Apr 28, 2026 · Backend Development

Redis No Longer Dominates: Discover the Best Python Caching Alternatives

A benchmark of Redis, Memcached, DragonflyDB, and Cashews using the same FastAPI workload reveals that Redis falls behind on latency, throughput, and memory efficiency, while DragonflyDB and Cashews offer superior performance and developer experience for Python caching.

CashewsDragonflyDBMemcached
0 likes · 11 min read
Redis No Longer Dominates: Discover the Best Python Caching Alternatives
Java Backend Full-Stack
Java Backend Full-Stack
Apr 27, 2026 · Databases

Proven Redis Tuning Techniques for Production Environments

This article compiles practical, interview‑ready Redis tuning tips—from strict memory limits and eviction policies to avoiding big keys, hot keys, slow commands, and optimizing persistence, networking, and high‑availability settings—so you can confidently handle Redis performance questions in real‑world deployments.

ConfigurationMemory Managementhigh availability
0 likes · 9 min read
Proven Redis Tuning Techniques for Production Environments
Java Backend Full-Stack
Java Backend Full-Stack
Apr 26, 2026 · Databases

Mastering Redis: Core Concepts, Practical Roadmap, and Advanced Techniques

This comprehensive guide outlines a step‑by‑step learning path for Redis, covering foundational commands, core data structures, high‑performance internals, persistence options, clustering, common caching pitfalls, performance tuning, monitoring, source‑code exploration, and recommended resources for becoming a Redis expert.

ClusterData StructuresPersistence
0 likes · 9 min read
Mastering Redis: Core Concepts, Practical Roadmap, and Advanced Techniques
Architect's Guide
Architect's Guide
Apr 26, 2026 · Backend Development

Building a Distributed Captcha Login with SpringBoot and Redis

This article walks through the design and implementation of a distributed image‑captcha login system using SpringBoot, Kaptcha, and Redis, comparing traditional session‑based approaches with a front‑back‑end separated architecture and providing complete code examples for each component.

BackendCaptchaDistributed Login
0 likes · 14 min read
Building a Distributed Captcha Login with SpringBoot and Redis
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 24, 2026 · Backend Development

Build a Millisecond‑Level Real‑Time Online System with Spring Boot, WebSocket, and Redis

This article demonstrates how to create a millisecond‑level real‑time online user tracking system using Spring Boot 3.5, WebSocket with STOMP, and Redis pub/sub, covering environment setup, Maven dependencies, server‑side configuration, presence services, event listeners, and a simple front‑end page.

JavaReal-TimeSpring Boot
0 likes · 10 min read
Build a Millisecond‑Level Real‑Time Online System with Spring Boot, WebSocket, and Redis
Architect Chen
Architect Chen
Apr 23, 2026 · Databases

The Most Complete Redis Configuration Guide with Illustrated Examples

This article provides a thorough walkthrough of Redis configuration, covering the location of the redis.conf file, how to list all settings with CONFIG GET *, modify parameters via CONFIG SET, and detailed explanations of common options such as bind address, port, timeout, log level, database count, daemonization, log file, client limits, memory limits, persistence settings, replication, and password protection, each illustrated with concrete command examples.

CONFIGConfigurationSecurity
0 likes · 6 min read
The Most Complete Redis Configuration Guide with Illustrated Examples
Architect Chen
Architect Chen
Apr 23, 2026 · Databases

How Redis Handles 1 Million Concurrent Connections: 4 Key Techniques

Redis achieves million‑level concurrency by keeping all data in RAM, using epoll/kqueue for non‑blocking I/O, employing highly optimized data structures with O(1) or O(log N) operations, and evolving from a single‑threaded core to optional multi‑threaded I/O, boosting throughput up to 12×.

Data StructuresI/O MultiplexingIn-Memory
0 likes · 4 min read
How Redis Handles 1 Million Concurrent Connections: 4 Key Techniques
IoT Full-Stack Technology
IoT Full-Stack Technology
Apr 22, 2026 · Backend Development

A Lightweight Spring Boot Starter for Anti‑Repeat Submissions and Rate Limiting – Now on Maven Central

Guardian is a lightweight Spring Boot starter that provides both anti‑repeat‑submission protection and API rate limiting; it supports annotation and YAML configuration, flexible key scopes (user, IP, global), Redis or local storage, customizable response modes, white‑list handling, and built‑in observability, making it a drop‑in solution for single‑service projects.

API protectionSpring BootYAML
0 likes · 16 min read
A Lightweight Spring Boot Starter for Anti‑Repeat Submissions and Rate Limiting – Now on Maven Central
Java Captain
Java Captain
Apr 21, 2026 · Backend Development

Why Storing Tokens in Redis Beats Stateless JWT in Real‑World Interviews

The article explains why many interviewers dismiss Redis‑backed token storage as a bad design, then systematically demonstrates how Redis + token offers controllable logout, multi‑device support, high performance, dynamic permission refresh, and scenario‑driven architecture choices, providing concrete response scripts and advanced enhancements for interview success.

AuthenticationBackendInterview Tips
0 likes · 6 min read
Why Storing Tokens in Redis Beats Stateless JWT in Real‑World Interviews
Black & White Path
Black & White Path
Apr 21, 2026 · Information Security

A Full-Scale Penetration Test Walkthrough: From MSSQL Weak Passwords to Nacos N‑Day Exploits

This article documents a complete penetration test on a newly deployed environment, detailing how weak credentials, unauthenticated services, and misconfigurations in MSSQL, Nacos, Oracle, Telnet, OA, NC, Redis, Spring, and frontend assets were systematically discovered and exploited, with step‑by‑step screenshots illustrating each compromise.

MSSQLNacosOracle
0 likes · 6 min read
A Full-Scale Penetration Test Walkthrough: From MSSQL Weak Passwords to Nacos N‑Day Exploits
Coder Trainee
Coder Trainee
Apr 19, 2026 · Backend Development

How to Optimize Performance and Deploy a Production‑Ready Blog System

This article walks through a complete performance‑optimization and deployment pipeline for a Spring Boot blog, covering multi‑level caching with Caffeine and Redis, database indexing and cursor pagination, read‑write splitting, asynchronous processing, rate limiting, Docker multi‑stage builds, Nginx reverse‑proxy setup, Actuator monitoring, custom metrics, health checks, alerting, JMeter load testing, and JVM tuning.

CaffeineDockerPerformance Optimization
0 likes · 17 min read
How to Optimize Performance and Deploy a Production‑Ready Blog System
Java Architect Handbook
Java Architect Handbook
Apr 18, 2026 · Databases

Redis Persistence Deep Dive: RDB, AOF, and Hybrid Strategies for Interview Success

This article provides a comprehensive analysis of Redis persistence mechanisms—including RDB snapshots, AOF append‑only logs, and the hybrid RDB+AOF mode—covering their architectures, trigger methods, performance trade‑offs, rewrite processes, interview‑focused questions, and practical recommendations for production environments.

AOFHybridPersistence
0 likes · 11 min read
Redis Persistence Deep Dive: RDB, AOF, and Hybrid Strategies for Interview Success
java1234
java1234
Apr 18, 2026 · Backend Development

Beyond Simple Caching: 8 Essential Redis Use Cases for Java Backend Engineers

This guide walks Java backend developers through Redis’s eight core scenarios—caching, distributed locks, rate limiting, session sharing, leaderboards, counters, message and delay queues, bitmap statistics, and geolocation—providing complete code, diagrams, and production‑grade best practices.

BitmapCacheGEO
0 likes · 21 min read
Beyond Simple Caching: 8 Essential Redis Use Cases for Java Backend Engineers
Java Web Project
Java Web Project
Apr 18, 2026 · Information Security

How a Midnight SMS Scam Revealed the Need for a Multi‑Layer Anti‑Abuse System

A night‑time SMS billing attack that drained ¥11,500 in two hours exposed flaws in a naïve Session‑based verification design, prompting a detailed, five‑layer defense architecture that combines gateway rate limiting, Redis token‑bucket controls, advanced captcha tracking, device fingerprinting, blacklist automation, and honey‑pot tactics to raise attack costs.

CaptchaNGINXSecurity
0 likes · 14 min read
How a Midnight SMS Scam Revealed the Need for a Multi‑Layer Anti‑Abuse System
Architect's Guide
Architect's Guide
Apr 18, 2026 · Databases

How to Import 1 Billion Records into MySQL at Lightning Speed

This article analyzes the constraints of loading a billion 1‑KB log records from HDFS/S3 into MySQL, evaluates single‑table limits, proposes batch inserts, sharding, file‑reading techniques, task coordination with Redis, Redisson, and Zookeeper, and offers practical performance‑tuning recommendations.

Bulk InsertZooKeeperdata import
0 likes · 21 min read
How to Import 1 Billion Records into MySQL at Lightning Speed
AI Tech Publishing
AI Tech Publishing
Apr 16, 2026 · Cloud Native

Deploying a Stateful AI Agent on a Stateless Web Architecture: Challenges, Solutions, and Code Walkthrough

This article analyzes the fundamental conflict between stateful AI agents and the inherently stateless, distributed nature of modern web services, explores time, state, and execution model mismatches, and presents a practical Agent‑as‑API solution using FastAPI, Redis, SSE, and Kubernetes to achieve scalable, fault‑tolerant deployments.

AI AgentFastAPIKubernetes
0 likes · 30 min read
Deploying a Stateful AI Agent on a Stateless Web Architecture: Challenges, Solutions, and Code Walkthrough
Lobster Programming
Lobster Programming
Apr 15, 2026 · Databases

Choosing the Right Redis Architecture: From Single Node to Cluster

This article reviews the main Redis deployment options—including single‑node, master‑slave with Sentinel, sharding via consistent hashing, and Redis Cluster—explaining their advantages, high‑availability mechanisms, scalability limits, and recommending suitable scenarios for each architecture.

ClusterDeploymenthigh availability
0 likes · 7 min read
Choosing the Right Redis Architecture: From Single Node to Cluster
Coder Trainee
Coder Trainee
Apr 14, 2026 · Operations

5 Production Nightmares in an Education Mini‑Program and How to Avoid Them

The author recounts five critical production incidents that crippleed an education mini‑program—Redis connection‑pool exhaustion, duplicate bookings, double refunds, mis‑firing no‑show jobs, and inventory oversell—detailing root causes, concrete fixes, and hard‑won lessons for building resilient backend services.

IdempotencySpring Bootdistributed-lock
0 likes · 10 min read
5 Production Nightmares in an Education Mini‑Program and How to Avoid Them
dbaplus Community
dbaplus Community
Apr 12, 2026 · Backend Development

Can PostgreSQL Replace Redis? Performance, Cost, and Migration Insights

This article examines how PostgreSQL can take over Redis' roles—caching, pub/sub, and job queues—by leveraging unlogged tables, LISTEN/NOTIFY, and SKIP LOCKED, presenting cost savings, benchmark results, migration steps, and code examples for a practical backend replacement.

BackendPostgreSQLcaching
0 likes · 17 min read
Can PostgreSQL Replace Redis? Performance, Cost, and Migration Insights
Architect's Tech Stack
Architect's Tech Stack
Apr 10, 2026 · Backend Development

Unlock Redis: 12 Powerful Patterns Every Backend Engineer Should Know

Redis offers far more than simple key‑value caching; by leveraging its rich data structures—strings, hashes, lists, sets, sorted sets, bitmaps, HyperLogLog, GEO, and streams—developers can implement distributed locks, rate limiting, leaderboards, session storage, counters, geolocation, delayed queues, messaging, bloom filters, and more, all with concise commands.

Data Structurescachingdistributed-lock
0 likes · 9 min read
Unlock Redis: 12 Powerful Patterns Every Backend Engineer Should Know
Java Tech Enthusiast
Java Tech Enthusiast
Apr 10, 2026 · Databases

16 Powerful Ways to Leverage Redis in Your Applications

This article presents sixteen practical Redis use cases—from simple caching and distributed sessions to global IDs, rate limiting, bitmaps, shopping carts, timelines, message queues, likes, tags, filtering, follow relationships, and ranking—each illustrated with commands and code snippets for real‑world backend development.

Backend DevelopmentData StructuresDistributed Systems
0 likes · 9 min read
16 Powerful Ways to Leverage Redis in Your Applications
dbaplus Community
dbaplus Community
Apr 8, 2026 · Information Security

Why Storing JWT Tokens in Redis Isn’t a Flaw – When and How to Do It

The article analyzes the debate over placing JWT tokens in Redis, compares traditional session and JWT approaches, discusses security and performance trade‑offs, shows practical blacklist code, and explains when a centralized store is justified versus when true stateless JWTs are preferable.

AuthenticationJWTSecurity
0 likes · 13 min read
Why Storing JWT Tokens in Redis Isn’t a Flaw – When and How to Do It
Top Architect
Top Architect
Apr 8, 2026 · Backend Development

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

This article explains how the Guardian Spring Boot starter provides a lightweight solution for preventing duplicate API submissions and applying rate‑limiting, covering Maven dependencies, annotation and YAML configurations, key generation strategies, response handling modes, Redis versus local storage, context‑path compatibility, concurrency safety, and built‑in monitoring features.

API protectionBackendduplicate submission
0 likes · 16 min read
How to Prevent Duplicate Submissions and Rate‑Limit APIs with the Guardian Spring Boot Starter
Lobster Programming
Lobster Programming
Apr 8, 2026 · Big Data

How to Implement Real‑Time API Traffic Counting at Scale

This article compares three practical approaches—direct database storage, a Flink‑Kafka‑Redis‑Grafana pipeline, and an ELK stack—to achieve real‑time API request counting for high‑concurrency scenarios, outlining their architectures, advantages, and trade‑offs.

API analyticsELKFlink
0 likes · 6 min read
How to Implement Real‑Time API Traffic Counting at Scale
java1234
java1234
Apr 5, 2026 · Databases

Beyond Caching: 16 Powerful Redis Use Cases

This article explores sixteen practical Redis applications—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, product tags, filtering, follow relationships, and ranking—demonstrating how Redis can serve as a versatile data store beyond simple caching.

BitmapsData StructuresMessage Queue
0 likes · 9 min read
Beyond Caching: 16 Powerful Redis Use Cases
Java Architect Handbook
Java Architect Handbook
Apr 4, 2026 · Backend Development

16 Powerful Redis Use Cases Every Backend Engineer Should Know

This article presents a comprehensive guide to 16 practical Redis applications—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmaps, shopping carts, timelines, queues, lotteries, likes, product tagging, filtering, social graphs, and leaderboards—complete with command examples, code snippets, and visual illustrations to help developers implement these patterns efficiently.

BitmapCacheShopping Cart
0 likes · 11 min read
16 Powerful Redis Use Cases Every Backend Engineer Should Know
Architecture Digest
Architecture Digest
Apr 3, 2026 · Databases

16 Powerful Ways to Leverage Redis in Your Applications

This article presents a comprehensive guide to 16 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‑recommendation models, and ranking—complete with code snippets and data‑structure examples.

CacheData StructuresMessage Queue
0 likes · 10 min read
16 Powerful Ways to Leverage Redis in Your Applications
Ray's Galactic Tech
Ray's Galactic Tech
Apr 1, 2026 · Operations

High‑Availability Log Platform for Ten‑Million‑Level Concurrency

This article presents a comprehensive, production‑grade design for a log collection and analysis pipeline that can reliably handle ten‑million‑level concurrent writes by combining Filebeat, Redis, Logstash, and Elasticsearch with careful buffering, scaling, and observability strategies.

ELKFilebeatLogstash
0 likes · 32 min read
High‑Availability Log Platform for Ten‑Million‑Level Concurrency
Coder Trainee
Coder Trainee
Mar 31, 2026 · Databases

How to Effectively Resolve Large Keys in Redis

This article explains why oversized Redis values cause performance issues and presents four practical techniques—splitting the key, compressing the value, applying TTL expiration, and monitoring usage—to mitigate large‑key problems.

TTLkey splittinglarge key
0 likes · 3 min read
How to Effectively Resolve Large Keys in Redis
Top Architect
Top Architect
Mar 25, 2026 · Backend Development

Boost API Performance 10× with a Three‑Tier Cache Pyramid in Spring Boot 3

This article explains how to design and implement a three‑level cache pyramid (Caffeine → Redis → MySQL) in Spring Boot 3, covering configuration, a reusable CacheTemplate, hot‑key handling, random TTL, warm‑up, monitoring, and load‑test results that show latency dropping from tens of milliseconds to a few milliseconds while cutting CPU and network usage dramatically.

Backend DevelopmentCaffeineJava
0 likes · 11 min read
Boost API Performance 10× with a Three‑Tier Cache Pyramid in Spring Boot 3
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.

ClusterQPSdatabase
0 likes · 6 min read
How High Can Redis Really Scale? Real-World QPS Limits Explained
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 promptingBackend DevelopmentPrompt engineering
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.

JavaPerformance OptimizationSQL
0 likes · 12 min read
How We Cut 1‑Second Query Times in a Legacy WAF Dashboard Using Redis Caching
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%.

CacheCaffeineJava
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 protectionSpring BootYAML
0 likes · 17 min read
Boost Your Spring Boot APIs with a DIY Anti‑Duplicate and Rate‑Limiting Starter
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.

Order ManagementRabbitMQScheduled Tasks
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.

Order CancellationSpring 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.

Cost OptimizationDragonflyDBdatabase migration
0 likes · 7 min read
Boosting Performance 25× and Cutting Costs 80%: Our Switch from Redis to DragonflyDB
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.

GUIInstallationRedisInsight
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.

GoNGINXhigh concurrency
0 likes · 19 min read
How to Build a Million‑User Ticket‑Snatching System with Nginx, Redis, and Go
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.

JavaSpring BootStarter
0 likes · 17 min read
Prevent Duplicate Submissions and Rate‑Limit APIs with the Guardian Spring Boot Starter
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.

CompatibilityIn-Memory Databasememory compression
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 GUIInstallationKubernetes
0 likes · 8 min read
Master RedisInsight: Install, Deploy on Kubernetes, and Use the GUI
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 SubmissionSpring Boot
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.

BackendFingerprintJSJava
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.

CacheHashJava
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 TypesHashList
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.

BackendMemory Managementdatabases
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.

ClickHouseDatabase PerformanceFlink
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.

BenchmarkMultithreaded QueryRAG
0 likes · 6 min read
Redis’s Multithreaded Query Engine Boosts RAG Performance
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.

AOFBackupPersistence
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.

Token Bucketgolang.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.

CacheCaffeineJava
0 likes · 8 min read
Boost API Latency 10× with Spring Boot 3 and a Local Cache Pyramid