Spring Boot Rate Limiter Spring Boot Rate Limiter

Spring Boot Rate Limiter

Features

  • IP-based rate limiting using in-memory cache (Caffeine)
  • Configurable request limits through annotation parameters
  • Easy to use with a simple annotation-based approach
  • Automatically returns HTTP 429 (Too Many Requests) when rate limit is exceeded
  • Secure IP resolution using request.getRemoteAddr() to avoid header spoofing
  • Comprehensive rate limit status information in JSON format for all endpoints

← Back to projects