Java rate limiting library based on token/leaky-bucket algorithm. (by vladimir-bukhtoyarov)

Bucket4j Alternatives

Similar projects and alternatives to bucket4j

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better bucket4j alternative or higher similarity.

Suggest an alternative to bucket4j

Reviews and mentions

Posts with mentions or reviews of bucket4j. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-17.
  • Rate Limiting API with Spring-Security and Bucket4J
    2 projects | reddit.com/r/java | 17 Nov 2021
    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.
  • Rate Limit APIs with Bucket4J via Java
    1 project | reddit.com/r/java | 14 Aug 2021
    I found this example of rate limiting users based on IP address. It should be easy enough to use a different key (instead of IP) such as username, API key, etc. There's a discussion on the GitHub repo about it here as well.
  • London Clojurians Talk: Building a RESTful Web API in Clojure: a new approach (by Malcolm Sparks)
    2 projects | reddit.com/r/Clojure | 14 Apr 2021
    However, if you're serving a public resource, authorization isn't going to help restrict requests. If you're concerned about Denial of Service attacks, and aren't relying on infrastructure upstream of you to manage those, you'd focus your mitigations in Step 2. For example, you could use something like https://github.com/vladimir-bukhtoyarov/bucket4j to create rate-limited buckets on IP addresses or ranges.


Basic bucket4j repo stats
6 days ago

vladimir-bukhtoyarov/bucket4j is an open source project licensed under Apache License 2.0 which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
Find remote Java jobs at our new job board 99remotejobs.com. There are 2 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.