connection_pool 3.0.3
“Generic connection pool for Ruby”
Basename is uppercase README.mdContains an unbounded block loop
SHA-256e0f8ee3ee0039396753e06e8a2dde0ef028e40f7df29e97f57da7577c489cb5e
MaleculeK(Am)H₄(Cm₂DbOs)Md₄(BkPa₂Pt)
Evidence
1---
2SHA256:
3 metadata.gz: e605c5eee4bf9cbc123ae068f893f55b930529255ed52e9e1219d45c5182d5d7
4 data.tar.gz: 9f604dda5745eb5522308ccfd5834c181fc38dd01b3255fdfa62abfe48cbc5a7
5SHA512:
6 metadata.gz: f3581866a887e9666d289303f438afe265d48573c670b5fbef0740e103602262ff5433489076d4a81623f8e0582456d8d7321c5396bc2550385e90f48b9771a8
7 data.tar.gz: 1026ac2eb3009c52fa69299ad9e1a0ffa4b66cceadfc0d5f21923bfaee7f5afaf7504a29ce38f9eca819c15bb6417931e50ae4279e1f91b9cb4099ee6fd69469
1connection\_pool
2=================
3[](https://github.com/mperham/connection_pool/actions/workflows/ci.yml)
4
5Generic connection pooling for Ruby.
6
7MongoDB has its own connection pool.
8ActiveRecord has its own connection pool.
9This is a generic connection pool that can be used with anything, e.g. Redis, Dalli and other Ruby network clients.
10
11Usage
12-----
13
14Create a pool of objects to share amongst the fibers or threads in your Ruby application:
15
16``` ruby
17$memcached = ConnectionPool.new(size: 5, …
51:60… you are comfortable blocking longer on a particular resource.
52
53## Migrating to a Connection Pool
54
55You can use `ConnectionPool::Wrapper` to wrap a single global connection, making it easier to migrate existing connection code …
63:29… sing` to checkout a connection, run the requested method and then immediately check the connection back into the pool.
64It's **not** high-performance so you'll want to port y …
1require "./lib/connection_pool/version"
2
3Gem::Specification.new do |s|
4 s.name = "connection_pool"
5 s.version = ConnectionPool::VERSION
6 s.platform = Gem::Platform::RUBY
7 s.authors = ["Mike Perham", "Damian Janowski"]
8 s.email = ["mperham@gmail.com", "[email protected]"]
9 s.homepage = "https://github.com/mperham/connection_pool"
10 s.description = s.summary = "Generic connection pool for Ruby"
11
12 s.files = ["Changes.md", "LICENSE", "README.md", "connection_pool.gemspec",
⋯4 lines
17 "lib/connection_pool/wrapper.rb"]
18 s.executables = []
19 s.require_paths = ["lib"]
20 s.license = "MIT"
21
⋯5 lines
27
28 s.metadata = {
29 "bug_tracker_uri" => "https://github.com/mperham/connection_pool/issues",
30 "documentation_uri" => "https://github.com/mperham/connection_pool/wiki",
31 "changelog_uri" => "https://github.com/mperham/connection_pool/blob/main/Changes.md",
32 "source_code_uri" => "https://github.com/mperham/connection_pool",
33 "homepage_uri" => "https://github.com/mperham/connection_pool",
34 "rubygems_mfa_required" => "true"
35 }
36end
No evidence locations were recorded for this file. Raw result