Tag

RateLimiting

0 views collected around this technical thread.

Top Architecture Tech Stack
Top Architecture Tech Stack
May 14, 2025 · Backend Development

Implementing IP+URL Rate Limiting with Spring Boot Interceptor and Redis Distributed Lock

This guide demonstrates how to protect a Spring Boot service from malicious requests by creating a custom interceptor that tracks URL‑IP request counts, uses Redis for distributed locking, and disables offending IPs after a configurable threshold, with full code examples and configuration steps.

DistributedLockInterceptorJava
0 likes · 8 min read
Implementing IP+URL Rate Limiting with Spring Boot Interceptor and Redis Distributed Lock
Java Architect Essentials
Java Architect Essentials
Feb 18, 2024 · Databases

Common Redis Use Cases and Implementation Patterns

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

DataStructuresDistributedLockRateLimiting
0 likes · 8 min read
Common Redis Use Cases and Implementation Patterns
JD Tech
JD Tech
Jul 21, 2023 · Backend Development

In‑Depth Analysis of Guava RateLimiter: Architecture, Algorithms, and Usage

This article provides a comprehensive walkthrough of Google Guava's RateLimiter, covering its practical rate‑limiting scenarios, underlying token‑bucket algorithm, detailed source‑code structure, core classes such as RateLimiter, SmoothRateLimiter, SmoothBursty and SmoothWarmingUp, usage examples, and considerations for extending or adapting the component in distributed systems.

GuavaJavaRateLimiter
0 likes · 21 min read
In‑Depth Analysis of Guava RateLimiter: Architecture, Algorithms, and Usage
DeWu Technology
DeWu Technology
Dec 24, 2021 · Backend Development

Understanding Sentinel's Slow Call Ratio Circuit Breaker Mechanism

Sentinel’s slow‑call‑ratio circuit breaker evaluates each request against a sliding‑window rule, opening when the proportion of slow calls exceeds the configured threshold and the minimum request count is met, then entering half‑open after the timeout, so proper window, count, and ratio settings are essential to avoid unexpected activations.

DegradeRuleJavaRateLimiting
0 likes · 13 min read
Understanding Sentinel's Slow Call Ratio Circuit Breaker Mechanism
DeWu Technology
DeWu Technology
Dec 2, 2021 · Backend Development

Analyzing Sentinel's Slow Call Ratio Circuit Breaker

Sentinel’s slow‑call ratio circuit breaker checks each request against a sliding 1‑second window, updating second‑ and minute‑level counters via LeapArray, and can trigger an early circuit break when the first few calls push the slow‑call ratio above the configured threshold, before the window fully accumulates data.

DegradeSlotJavaRateLimiting
0 likes · 16 min read
Analyzing Sentinel's Slow Call Ratio Circuit Breaker
Code Ape Tech Column
Code Ape Tech Column
Aug 6, 2021 · Backend Development

Common Redis Use Cases: Caching, Distributed Locks, Counters, Rate Limiting, and More

This article outlines a variety of practical Redis use cases—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmap statistics, shopping carts, timelines, message queues, lotteries, likes, product tagging, filtering, follow/recommendation models, and ranking—demonstrating how Redis can support diverse backend functionalities.

BackendBitMapDistributedLock
0 likes · 9 min read
Common Redis Use Cases: Caching, Distributed Locks, Counters, Rate Limiting, and More
Java Architect Essentials
Java Architect Essentials
Jul 9, 2021 · Backend Development

Implementing Rate Limiting in Spring Boot Using Custom Annotations and Redis

This article demonstrates how to create a custom @AccessLimit annotation in Spring Boot, implement a rate‑limiting interceptor using Redis, register the interceptor, and apply the annotation to controller methods to restrict request frequency, with full Java code examples.

AnnotationInterceptorJava
0 likes · 6 min read
Implementing Rate Limiting in Spring Boot Using Custom Annotations and Redis
Manbang Technology Team
Manbang Technology Team
May 10, 2021 · Backend Development

Understanding Sentinel Flow Control Rules and FlowSlot Implementation

This article explains Sentinel's flow control rule definition, the attributes of the FlowRule class, and how the FlowSlot, FlowRuleChecker, and related components evaluate and enforce these rules, including code examples and a discussion of different flow control strategies and node types.

BackendFlowControlJava
0 likes · 16 min read
Understanding Sentinel Flow Control Rules and FlowSlot Implementation