Tagged articles

Redis

3508 articles · Page 3 of 36
Java Tech Workshop
Java Tech Workshop
Apr 22, 2026 · Information Security

Stateless Authentication in SpringBoot with JWT: Complete Implementation Guide

This article explains why traditional session authentication is unsuitable for distributed micro‑service systems, introduces JWT as a stateless alternative, and provides a step‑by‑step SpringBoot implementation—including double‑token handling, Redis blacklist logout, interceptor configuration, and end‑to‑end testing—complete with code snippets and best‑practice recommendations.

AuthenticationJWTRedis
0 likes · 30 min read
Stateless Authentication in SpringBoot with JWT: Complete Implementation Guide
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 protectionAnnotationRedis
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.

AuthenticationInterview TipsJWT
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
Programmer XiaoFu
Programmer XiaoFu
Apr 20, 2026 · Artificial Intelligence

How Java + LangChain4j Can Eliminate Messy Chunking for High‑Quality RAG Document Splitting

The article explains why fixed‑size chunking harms RAG recall, demonstrates three semantic‑chunking strategies—including recursive punctuation splitting, overlapping windows, and parent‑child document mapping—and provides complete Java/LangChain4j code that integrates tokenizers, Redis, and Qdrant to boost retrieval performance.

JavaLangChain4jQdrant
0 likes · 10 min read
How Java + LangChain4j Can Eliminate Messy Chunking for High‑Quality RAG Document Splitting
Tech Ocean
Tech Ocean
Apr 19, 2026 · Backend Development

Day 10: Building a Multi‑Container FastAPI App with PostgreSQL, Redis, and Celery

This tutorial extends the previous FastAPI example by adding Redis caching and Celery asynchronous tasks, showing the project layout, a complete docker‑compose configuration, required Python packages, sample FastAPI and Celery worker code, startup commands, health‑check setup, and key takeaways.

Docker ComposeFastAPIPostgreSQL
0 likes · 4 min read
Day 10: Building a Multi‑Container FastAPI App with PostgreSQL, Redis, and Celery
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.

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

CAPTCHARedisSecurity
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 InsertMySQLPerformance Tuning
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
Java Tech Workshop
Java Tech Workshop
Apr 16, 2026 · Backend Development

Implementing API Rate Limiting in Spring Boot with AOP

This tutorial walks through why API rate limiting is a critical first line of defense for backend services, compares fixed‑window and sliding‑window strategies, and shows how to create a custom @RateLimit annotation, utility classes, an AOP aspect, Redis or local storage, and unified exception handling, providing complete code and test scenarios for Spring Boot 2.7.x.

AOPFixed WindowJava
0 likes · 31 min read
Implementing API Rate Limiting in Spring Boot with AOP
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.

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

MySQLRedisSpring Boot
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.

PerformancePostgreSQLRedis
0 likes · 17 min read
Can PostgreSQL Replace Redis? Performance, Cost, and Migration Insights
Cloud Architecture
Cloud Architecture
Apr 11, 2026 · Backend Development

Redis Cache Penetration Guide: From Fundamentals to Production‑Ready Protection

This comprehensive guide explains why cache penetration is a high‑risk issue for high‑concurrency systems, distinguishes it from cache breakdown and avalanche, and presents a layered, production‑grade defense that combines parameter validation, gateway rate‑limiting, empty‑object caching, Bloom filters, local caches, distributed locks, and observability to protect both Redis and the underlying database.

Bloom filterCache PenetrationRedis
0 likes · 52 min read
Redis Cache Penetration Guide: From Fundamentals to Production‑Ready Protection
LuTiao Programming
LuTiao Programming
Apr 11, 2026 · Backend Development

Why Simple Spring Boot APIs Slow Down Under Load and How Proper Redis Caching Fixes It

The article walks through a step‑by‑step integration of Redis caching into a Spring Boot application, showing how to add dependencies, configure connections, enable caching annotations, customize serialization, simulate slow data sources, and fine‑tune TTLs to turn laggy endpoints into smooth, high‑throughput services.

JavaRedisSpring Boot
0 likes · 11 min read
Why Simple Spring Boot APIs Slow Down Under Load and How Proper Redis Caching Fixes It
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 StructuresLeaderboardRedis
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.

Data StructuresMessage QueueRedis
0 likes · 9 min read
16 Powerful Ways to Leverage Redis in Your Applications
Cloud Architecture
Cloud Architecture
Apr 9, 2026 · Databases

Redis Cluster Deep Dive: Sharding, Replication, Failover & Smart Client

This article provides a comprehensive technical analysis of Redis Cluster, covering its data sharding via 16,384 hash slots, master‑slave replication, automated failover mechanisms, and the essential role of smart clients in routing, along with practical engineering guidelines and production‑grade code examples.

ClusterFailoverRedis
0 likes · 41 min read
Redis Cluster Deep Dive: Sharding, Replication, Failover & Smart Client
LuTiao Programming
LuTiao Programming
Apr 8, 2026 · Backend Development

From Chaos to Production: Building a Real Food-Delivery Backend with Spring Boot

The article chronicles the step‑by‑step evolution of a small team’s chaotic food‑delivery backend into a production‑ready system, detailing how they introduced layering, transactions, security, caching, async processing, messaging, observability, scalability, resilience, containerization, and testing using Spring Boot, Kafka, Redis, JWT, and Docker.

DockerKafkaRedis
0 likes · 10 min read
From Chaos to Production: Building a Real Food-Delivery Backend with Spring Boot
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.

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

How to Build a High‑Performance Sign‑In System with Spring Boot & Redis BitMap

This article walks through the design and production‑grade implementation of a high‑throughput sign‑in service using Spring Boot, Redis BitMap, Lua scripts, and asynchronous reward processing, covering why traditional relational tables fall short, key generation, offset calculation, continuous‑sign‑in logic, architecture layering, scaling, monitoring, and testing strategies.

BitMapRedisSpring Boot
0 likes · 35 min read
How to Build a High‑Performance Sign‑In System with Spring Boot & Redis BitMap
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 protectionRedisbackend
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.

BitMapCacheLeaderboard
0 likes · 11 min read
16 Powerful Redis Use Cases Every Backend Engineer Should Know
Java Tech Workshop
Java Tech Workshop
Apr 4, 2026 · Backend Development

Mastering SpringBoot Cache Annotations: @Cacheable and @CacheEvict

This article explains why and how to use SpringBoot's built‑in cache annotations—@Cacheable, @CacheEvict, @CachePut and @Caching—covering environment setup, annotation attributes, practical code examples, common pitfalls, and a concise comparison to help developers simplify caching logic and keep data consistent.

AnnotationCacheEvictCachePut
0 likes · 9 min read
Mastering SpringBoot Cache Annotations: @Cacheable and @CacheEvict
Java Tech Workshop
Java Tech Workshop
Apr 3, 2026 · Backend Development

How to Integrate Redis Cache into Spring Boot: Step‑by‑Step Guide

This article explains why Redis is essential for Spring Boot projects, walks through adding dependencies, configuring connection and serialization, demonstrates CRUD operations for all Redis data types, shows @Cacheable usage, and lists common pitfalls with practical solutions.

CacheJavaRedis
0 likes · 26 min read
How to Integrate Redis Cache into Spring Boot: Step‑by‑Step Guide
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 StructuresDatabase
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.

Large KeyRedisTTL
0 likes · 3 min read
How to Effectively Resolve Large Keys in Redis
Java Tech Workshop
Java Tech Workshop
Mar 29, 2026 · Backend Development

Custom SpringBoot Interceptor for Login Authentication

This article explains how to implement a SpringBoot HandlerInterceptor to perform login authentication, configure it with a whitelist, return a unified 401 JSON response, and extend it with Redis token validation, advanced usage, and a comparison with servlet filters.

HandlerInterceptorInterceptorLogin Authentication
0 likes · 9 min read
Custom SpringBoot Interceptor for Login Authentication
Cloud Architecture
Cloud Architecture
Mar 27, 2026 · Backend Development

Spring Boot 3 + Redis Multi-Level Cache: From Single-Node to Production Hotspot Management

This article presents a production-ready multi-level caching architecture for Spring Boot 3 using Caffeine as L1, Redis as L2, and a database as L3, detailing design goals, hotspot mitigation, consistency handling, failure protection, implementation code, monitoring, and performance evaluation for high-concurrency e-commerce scenarios.

Cache invalidationCaffeineHotspot Management
0 likes · 36 min read
Spring Boot 3 + Redis Multi-Level Cache: From Single-Node to Production Hotspot Management
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.

CaffeineJavaPerformance Optimization
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.

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

CronHigh throughputJava
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 ArchivingJavaPerformance Optimization
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.

GoLeaderboardMessage Queue
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%.

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

LuaRedisSliding Window
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.

RedisScheduled TasksSpring 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.

Delayed QueueRedisSpring Boot
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.

Database MigrationDragonflyDBRedis
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.

DockerGoInterview Questions
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.

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

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

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.

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

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

AOFJavaRedis
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 GUIInstallationKubernetes
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.

Cache DesignMemory TableMySQL
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 GuardAnnotationAnti-duplicate Submission
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.

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

Redishigh-concurrencyticketing 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 TypesHashRedis
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.

Memory ManagementPerformance TuningRedis
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.

Hybrid SearchPythonRediSearch
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 PerformanceDoris
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 testingElasticsearchPipeline
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.

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

Redisconcurrencydistributed lock
0 likes · 8 min read
Why Ticket Sales Fail: A Deep Dive into Concurrency, Locks, and Building a Reliable Ticket‑Booking System