{"adoption": {"forks": 326, "observed_at": "2026-08-28T04:07:22.045209+00:00", "stars": 2790}, "canonical_url": "https://ross.abutalabs.com/products/bucket4j", "card": {"archived": false, "artifact_type": "library", "description": "Java rate limiting library based on token-bucket algorithm.", "domain": ["backend", "developer-tools", "microservices", "apis"], "enriched": true, "function": ["rate-limiting", "caching", "middleware"], "health_score": 95, "homepage": "https://bucket4j.com", "language": "Java", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["bucket4j/bucket4j"], "name": "bucket4j/bucket4j", "platform": ["jvm", "cross-platform"], "pushed_at": "2026-07-23T15:14:57+00:00", "repo": "bucket4j/bucket4j", "stars": 2790, "tags": ["token-bucket", "jcache", "hazelcast", "infinispan", "apache-ignite", "distributed-rate-limiting", "java"], "topics": ["token-bucket", "hazelcast", "rate-limiter", "apache-ignite", "jcache", "infinispan", "rate-limit", "rate-limiting", "oracle-coherence"], "urls": [], "use_cases": ["rate limit api requests in java", "throttle requests per user in a spring boot app", "distributed rate limiting across a cluster of jvms", "implement token bucket throttling with hazelcast", "protect an endpoint from too many requests", "limit bandwidth consumption in a java service"], "what_it_is": "Bucket4j is a Java rate-limiting library based on the token-bucket algorithm, offering lock-free, high-precision integer arithmetic implementations. It supports distributed rate limiting across JVM clusters via JCache-compatible grids like Hazelcast, Ignite, and Infinispan, as well as custom backends.", "when_to_avoid": ["you need rate limiting in a non-JVM language", "you want a ready-made API gateway or proxy rather than an embedded library", "your use case is simple single-node throttling where a smaller utility would suffice"], "when_to_choose": ["you need precise, high-performance rate limiting in a JVM application", "you need clustered/distributed rate limiting backed by JCache-compatible grids or databases", "you want lock-free concurrency and low GC overhead", "you need to change rate limit configuration at runtime"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/bucket4j", "repo": "bucket4j/bucket4j", "role": "main", "score": 88}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.045209+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:49:17.719688+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e794f802c04cd999af64eadd9d6ebbfec5441b8723614136989aa845e17eeeb", "fetched_at": "2026-08-28T04:07:22.045209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bucket4j/bucket4j"}, {"content_hash": "b24b4cd9999789e1b1cc33286fc6a99a28514d9dba98c3fdcb99b9820be61500", "fetched_at": "2026-08-29T09:55:06.280714+00:00", "kind": "homepage", "missing": false, "url": "https://bucket4j.com"}, {"content_hash": "a7c7c098e19757c3c1946fb2c0d703250b67586ba9a558a130dbd89a086e176f", "fetched_at": "2026-08-29T09:55:06.289533+00:00", "kind": "site_page", "missing": false, "url": "http://bucket4j.com/previous-releases.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.045209+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:49:17.719688+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e794f802c04cd999af64eadd9d6ebbfec5441b8723614136989aa845e17eeeb", "fetched_at": "2026-08-28T04:07:22.045209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bucket4j/bucket4j"}, {"content_hash": "b24b4cd9999789e1b1cc33286fc6a99a28514d9dba98c3fdcb99b9820be61500", "fetched_at": "2026-08-29T09:55:06.280714+00:00", "kind": "homepage", "missing": false, "url": "https://bucket4j.com"}, {"content_hash": "a7c7c098e19757c3c1946fb2c0d703250b67586ba9a558a130dbd89a086e176f", "fetched_at": "2026-08-29T09:55:06.289533+00:00", "kind": "site_page", "missing": false, "url": "http://bucket4j.com/previous-releases.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:49:17.719688+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e794f802c04cd999af64eadd9d6ebbfec5441b8723614136989aa845e17eeeb", "fetched_at": "2026-08-28T04:07:22.045209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bucket4j/bucket4j"}, {"content_hash": "b24b4cd9999789e1b1cc33286fc6a99a28514d9dba98c3fdcb99b9820be61500", "fetched_at": "2026-08-29T09:55:06.280714+00:00", "kind": "homepage", "missing": false, "url": "https://bucket4j.com"}, {"content_hash": "a7c7c098e19757c3c1946fb2c0d703250b67586ba9a558a130dbd89a086e176f", "fetched_at": "2026-08-29T09:55:06.289533+00:00", "kind": "site_page", "missing": false, "url": "http://bucket4j.com/previous-releases.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.045209+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.045209+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.045209+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:49:17.719688+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e794f802c04cd999af64eadd9d6ebbfec5441b8723614136989aa845e17eeeb", "fetched_at": "2026-08-28T04:07:22.045209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bucket4j/bucket4j"}, {"content_hash": "b24b4cd9999789e1b1cc33286fc6a99a28514d9dba98c3fdcb99b9820be61500", "fetched_at": "2026-08-29T09:55:06.280714+00:00", "kind": "homepage", "missing": false, "url": "https://bucket4j.com"}, {"content_hash": "a7c7c098e19757c3c1946fb2c0d703250b67586ba9a558a130dbd89a086e176f", "fetched_at": "2026-08-29T09:55:06.289533+00:00", "kind": "site_page", "missing": false, "url": "http://bucket4j.com/previous-releases.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.045209+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.045209+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:49:17.719688+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e794f802c04cd999af64eadd9d6ebbfec5441b8723614136989aa845e17eeeb", "fetched_at": "2026-08-28T04:07:22.045209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bucket4j/bucket4j"}, {"content_hash": "b24b4cd9999789e1b1cc33286fc6a99a28514d9dba98c3fdcb99b9820be61500", "fetched_at": "2026-08-29T09:55:06.280714+00:00", "kind": "homepage", "missing": false, "url": "https://bucket4j.com"}, {"content_hash": "a7c7c098e19757c3c1946fb2c0d703250b67586ba9a558a130dbd89a086e176f", "fetched_at": "2026-08-29T09:55:06.289533+00:00", "kind": "site_page", "missing": false, "url": "http://bucket4j.com/previous-releases.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.045209+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.045209+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.045209+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:49:17.719688+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e794f802c04cd999af64eadd9d6ebbfec5441b8723614136989aa845e17eeeb", "fetched_at": "2026-08-28T04:07:22.045209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bucket4j/bucket4j"}, {"content_hash": "b24b4cd9999789e1b1cc33286fc6a99a28514d9dba98c3fdcb99b9820be61500", "fetched_at": "2026-08-29T09:55:06.280714+00:00", "kind": "homepage", "missing": false, "url": "https://bucket4j.com"}, {"content_hash": "a7c7c098e19757c3c1946fb2c0d703250b67586ba9a558a130dbd89a086e176f", "fetched_at": "2026-08-29T09:55:06.289533+00:00", "kind": "site_page", "missing": false, "url": "http://bucket4j.com/previous-releases.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.045209+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.045209+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:49:17.719688+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e794f802c04cd999af64eadd9d6ebbfec5441b8723614136989aa845e17eeeb", "fetched_at": "2026-08-28T04:07:22.045209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bucket4j/bucket4j"}, {"content_hash": "b24b4cd9999789e1b1cc33286fc6a99a28514d9dba98c3fdcb99b9820be61500", "fetched_at": "2026-08-29T09:55:06.280714+00:00", "kind": "homepage", "missing": false, "url": "https://bucket4j.com"}, {"content_hash": "a7c7c098e19757c3c1946fb2c0d703250b67586ba9a558a130dbd89a086e176f", "fetched_at": "2026-08-29T09:55:06.289533+00:00", "kind": "site_page", "missing": false, "url": "http://bucket4j.com/previous-releases.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:49:17.719688+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e794f802c04cd999af64eadd9d6ebbfec5441b8723614136989aa845e17eeeb", "fetched_at": "2026-08-28T04:07:22.045209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bucket4j/bucket4j"}, {"content_hash": "b24b4cd9999789e1b1cc33286fc6a99a28514d9dba98c3fdcb99b9820be61500", "fetched_at": "2026-08-29T09:55:06.280714+00:00", "kind": "homepage", "missing": false, "url": "https://bucket4j.com"}, {"content_hash": "a7c7c098e19757c3c1946fb2c0d703250b67586ba9a558a130dbd89a086e176f", "fetched_at": "2026-08-29T09:55:06.289533+00:00", "kind": "site_page", "missing": false, "url": "http://bucket4j.com/previous-releases.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:49:17.719688+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e794f802c04cd999af64eadd9d6ebbfec5441b8723614136989aa845e17eeeb", "fetched_at": "2026-08-28T04:07:22.045209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bucket4j/bucket4j"}, {"content_hash": "b24b4cd9999789e1b1cc33286fc6a99a28514d9dba98c3fdcb99b9820be61500", "fetched_at": "2026-08-29T09:55:06.280714+00:00", "kind": "homepage", "missing": false, "url": "https://bucket4j.com"}, {"content_hash": "a7c7c098e19757c3c1946fb2c0d703250b67586ba9a558a130dbd89a086e176f", "fetched_at": "2026-08-29T09:55:06.289533+00:00", "kind": "site_page", "missing": false, "url": "http://bucket4j.com/previous-releases.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:49:17.719688+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e794f802c04cd999af64eadd9d6ebbfec5441b8723614136989aa845e17eeeb", "fetched_at": "2026-08-28T04:07:22.045209+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bucket4j/bucket4j"}, {"content_hash": "b24b4cd9999789e1b1cc33286fc6a99a28514d9dba98c3fdcb99b9820be61500", "fetched_at": "2026-08-29T09:55:06.280714+00:00", "kind": "homepage", "missing": false, "url": "https://bucket4j.com"}, {"content_hash": "a7c7c098e19757c3c1946fb2c0d703250b67586ba9a558a130dbd89a086e176f", "fetched_at": "2026-08-29T09:55:06.289533+00:00", "kind": "site_page", "missing": false, "url": "http://bucket4j.com/previous-releases.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 94, "longevity": 100, "rhythm": 72}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4343, "days_push": 41, "days_rel": 106, "gap_med": 35, "n_releases_24m": 6}, "score": 88, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}