stuartsierra/component
Managed lifecycle of stateful objects in Clojure observed · 2026-08-28
Health v2 · maintenance only
54/100
- Activity 48
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4699
- days_rel: n/a
- days_push: 312
- n_releases_24m: 0
Adoption not part of the score
2161 stars · 95 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small Clojure library for managing the lifecycle and dependencies of stateful components such as database connections, web servers, and caches. It implements a dependency-injection design pattern using immutable data structures, with start/stop lifecycle management.
Use cases
- manage database connection lifecycle in a Clojure app
- dependency injection for stateful services in Clojure
- start and stop application components in a defined order
- structure a large Clojure application with clear boundaries
- share runtime state like HTTP connection pools across functions
- handle in-memory caches with explicit lifecycle
When to choose
- building a Clojure application with multiple stateful resources that need ordered startup and shutdown
- you want explicit, declarative dependency graphs between services
- you prefer a lightweight design pattern over a heavyweight DI framework
When to avoid
- writing mostly pure functional code with no shared runtime state
- using a language other than Clojure or ClojureScript
- you need a full-featured dependency injection container with auto-wiring
Facets
library · maturity stable
middleware developer-tools backend developer-tools programming-languages jvm jvm-scripting clojure dependency-injection lifecycle-management stateful-components system-architecture
1 source
- readme: https://github.com/stuartsierra/component · fetched 2026-08-28 · 244f77f14b38
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| stuartsierra/component | main | 54 |
For agents
markdown · JSON · MCP: product_card(name="stuartsierra/component")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem