{"adoption": {"forks": 570, "observed_at": "2026-08-28T04:08:39.103154+00:00", "stars": 4211}, "canonical_url": "https://ross.abutalabs.com/products/shedlock", "card": {"archived": false, "artifact_type": "library", "description": "Distributed lock for your scheduled tasks", "domain": ["microservices", "backend", "developer-tools"], "enriched": true, "function": ["scheduling", "concurrency", "middleware"], "health_score": 80, "homepage": null, "language": "Java", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["lukas-krecan/ShedLock"], "name": "lukas-krecan/ShedLock", "platform": ["jvm"], "pushed_at": "2026-08-25T16:35:55+00:00", "repo": "lukas-krecan/ShedLock", "stars": 4211, "tags": ["distributed-lock", "scheduled-tasks", "java", "spring", "micronaut", "job-locking"], "topics": [], "urls": [], "use_cases": ["prevent duplicate execution of scheduled tasks in a clustered app", "run cron jobs on multiple nodes but only once at a time", "distributed locking for Spring @Scheduled methods", "ensure a task runs on only one instance of a microservice", "coordinate background jobs across nodes using a database lock", "lock scheduled tasks with Redis or Mongo as the coordination store"], "what_it_is": "ShedLock is a Java library that ensures scheduled tasks are executed at most once at the same time across multiple nodes by acquiring time-based locks in an external store. It supports many lock providers including JDBC databases, Mongo, Redis, ZooKeeper, Hazelcast, and various cloud stores.", "when_to_avoid": ["you need a full distributed scheduler with queuing, retries, or job management - use db-scheduler or JobRunr", "your nodes' clocks are not synchronized, since locks are time-based", "you need tasks to wait for a lock rather than be skipped"], "when_to_choose": ["you have scheduled tasks that must not run in parallel across nodes", "you use Spring, Micronaut, or plain Java and need a lightweight lock, not a full scheduler", "you already have a database, Redis, or other supported store for coordination"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/shedlock", "repo": "lukas-krecan/ShedLock", "role": "main", "score": 77}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.103154+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:22:29.439978+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f4f4efcf4ec28bd8e21f1953733e84942ed481180783018482086bd7d413bb", "fetched_at": "2026-08-28T04:08:39.103154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukas-krecan/ShedLock"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.103154+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:22:29.439978+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f4f4efcf4ec28bd8e21f1953733e84942ed481180783018482086bd7d413bb", "fetched_at": "2026-08-28T04:08:39.103154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukas-krecan/ShedLock"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:22:29.439978+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f4f4efcf4ec28bd8e21f1953733e84942ed481180783018482086bd7d413bb", "fetched_at": "2026-08-28T04:08:39.103154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukas-krecan/ShedLock"}], "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:08:39.103154+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.103154+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.103154+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:22:29.439978+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f4f4efcf4ec28bd8e21f1953733e84942ed481180783018482086bd7d413bb", "fetched_at": "2026-08-28T04:08:39.103154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukas-krecan/ShedLock"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.103154+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.103154+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:22:29.439978+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f4f4efcf4ec28bd8e21f1953733e84942ed481180783018482086bd7d413bb", "fetched_at": "2026-08-28T04:08:39.103154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukas-krecan/ShedLock"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.103154+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.103154+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.103154+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:22:29.439978+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f4f4efcf4ec28bd8e21f1953733e84942ed481180783018482086bd7d413bb", "fetched_at": "2026-08-28T04:08:39.103154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukas-krecan/ShedLock"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.103154+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:39.103154+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:22:29.439978+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f4f4efcf4ec28bd8e21f1953733e84942ed481180783018482086bd7d413bb", "fetched_at": "2026-08-28T04:08:39.103154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukas-krecan/ShedLock"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:22:29.439978+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f4f4efcf4ec28bd8e21f1953733e84942ed481180783018482086bd7d413bb", "fetched_at": "2026-08-28T04:08:39.103154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukas-krecan/ShedLock"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:22:29.439978+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f4f4efcf4ec28bd8e21f1953733e84942ed481180783018482086bd7d413bb", "fetched_at": "2026-08-28T04:08:39.103154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukas-krecan/ShedLock"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:22:29.439978+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f4f4efcf4ec28bd8e21f1953733e84942ed481180783018482086bd7d413bb", "fetched_at": "2026-08-28T04:08:39.103154+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lukas-krecan/ShedLock"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3552, "days_push": 8, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 77, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}