Tagged articles

Bucket4j

3 articles · Page 1 of 1
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 7, 2026 · Backend Development

Why Skip Your Own Rate Limiter? Using Spring Boot’s Built‑in ConcurrencyThrottleInterceptor

The article explains how Spring Boot 3.5 provides the ConcurrencyThrottleInterceptor for limiting concurrent method calls, demonstrates basic configuration and execution, reveals that all intercepted methods share a single limit, and proposes two fixes—per‑pointcut advisors or a BeanPostProcessor with a custom @ConcurrencyLimit annotation—before recommending dedicated libraries such as Bucket4j or Resilience4j for business‑level throttling.

AOPBeanPostProcessorBucket4j
0 likes · 8 min read
Why Skip Your Own Rate Limiter? Using Spring Boot’s Built‑in ConcurrencyThrottleInterceptor
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Oct 9, 2021 · Backend Development

Mastering Rate Limiting in Spring Cloud Gateway: Algorithms, Implementations, and Best Practices

This article explores the evolution of Spring Cloud Gateway, explains common rate‑limiting scenarios and algorithms, reviews open‑source libraries such as Guava, Bucket4j and Resilience4j, and provides detailed guidance for implementing both local and distributed request‑frequency and concurrency limits within the gateway.

Bucket4jJavaResilience4j
0 likes · 40 min read
Mastering Rate Limiting in Spring Cloud Gateway: Algorithms, Implementations, and Best Practices