mperham/connection_pool
Generic connection pooling for Ruby observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 88
- 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: 5590
- days_rel: n/a
- days_push: 72
- n_releases_24m: 0
Adoption not part of the score
1692 stars · 144 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A generic connection pooling library for Ruby that manages a shared pool of objects (network clients, connections) across threads and fibers. It provides blocking checkout with timeouts, a wrapper for easy migration, and shutdown/reload lifecycle support.
Use cases
- pool redis connections across threads in ruby
- share a memcached client among fibers
- limit concurrent connections to a network service
- migrate a global connection to a pool gradually
- fail fast when pooled resources are exhausted
- pool any ruby client object, not just databases
When to choose
- you need to share limited connections (redis, memcached, http clients) across threads or fibers
- your client library lacks its own pooling
- you want timeout-based backpressure when the pool is exhausted
When to avoid
- your ORM or client (ActiveRecord, MongoDB driver) already provides its own pool
- you need pooling in a language other than ruby
Facets
library · maturity stable
concurrency database-driver developer-tools developer-tools backend databases performance ruby connection-pooling threading fibers redis memcached
1 source
- readme: https://github.com/mperham/connection_pool · fetched 2026-08-28 · efab0005c1ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mperham/connection_pool | main | 72 |
For agents
markdown · JSON · MCP: product_card(name="mperham/connection_pool")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem