Rate Limiting API with Spring-Security and Bucket4J

This page summarizes the projects mentioned and recommended in the original post on /r/java

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • rate-limiting-api-spring-boot

    Rate limiting private APIs with Token Bucket Algorithm employing Bucket4J, Redis and Spring Security.


  • bucket4j

    Java rate limiting library based on token-bucket algorithm.

    Implemented rate-limiting on REST-APIs by creating a custom spring security filter and adding it to the filter-chain. Bucket4j library is used to manage and handle the users configured quota to consume services per hour using token-bucket algorithm. The quota of the user is based upon the type of plan selected during account-creation.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts