Infinispan VS bucket4j

Compare Infinispan vs bucket4j and see what are their differences.


Infinispan is an open source data grid platform and highly scalable NoSQL cloud data store. (by infinispan)


Java rate limiting library based on token/leaky-bucket algorithm. (by vladimir-bukhtoyarov)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
Infinispan bucket4j
0 3
921 1,254
1.3% -
9.8 7.2
4 days ago 7 days ago
Java Java
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of Infinispan. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning Infinispan yet.
Tracking mentions began in Dec 2020.


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 | | 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 | | 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 | | 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 to create rate-limited buckets on IP addresses or ranges.

What are some alternatives?

When comparing Infinispan and bucket4j you can also consider the following projects:

Flowable (V6) - A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.

Arthas - Alibaba Java Diagnostic Tool Arthas/Alibaba Java诊断利器Arthas

java-diff-utils - Diff Utils library is an OpenSource library for performing the comparison / diff operations between texts or some kind of data: computing diffs, applying patches, generating unified diffs or parsing them, generating diff output for easy future displaying (like side-by-side view) and so on.

Sentinel - A powerful flow control component enabling reliability, resilience and monitoring for microservices. (面向云原生微服务的高可用流控防护组件)

Hazelcast - Open-source distributed computation and storage platform

OpenSearch - 🔎 Open source distributed and RESTful search engine.

Elasticsearch - Free and Open, Distributed, RESTful Search Engine

vespa - The open big data serving engine.

Apache Solr - Apache Lucene and Solr open-source search software

hazelcast-wm - Hazelcast filter-based Web Session Manager

Homepage - A simple, standalone, self-hosted PHP page that is your window to your server and the web.