A summary of data about the Ruby ecosystem.

https://github.com/drbrain/net-http-persistent

Thread-safe persistent connections with Net::HTTP
https://github.com/drbrain/net-http-persistent

Keywords from Contributors

activerecord activejob mvc rubygems rack sinatra ruby-gem sidekiq rake multithreading

Last synced: about 1 hour ago
JSON representation

Repository metadata

Thread-safe persistent connections with Net::HTTP

README.rdoc

          = net-http-persistent

home :: https://github.com/drbrain/net-http-persistent
rdoc :: https://rubydoc.info/gems/net-http-persistent

== DESCRIPTION:

Manages persistent connections using Net::HTTP including a thread pool for
connecting to multiple hosts.

Using persistent HTTP connections can dramatically increase the speed of HTTP.
Creating a new HTTP connection for every request involves an extra TCP
round-trip and causes TCP congestion avoidance negotiation to start over.

Net::HTTP supports persistent connections with some API methods but does not
make setting up a single persistent connection or managing multiple
connections easy.  Net::HTTP::Persistent wraps Net::HTTP and allows you to
focus on how to make HTTP requests.

== FEATURES/PROBLEMS:

* Supports TLS with secure defaults
* Thread-safe
* Pure ruby

== SYNOPSIS

The following example will make two requests to the same server.  The
connection is kept alive between requests:

    require 'net/http/persistent'

    uri = URI 'http://example.com/awesome/web/service'

    http = Net::HTTP::Persistent.new name: 'my_app_name'

    # perform a GET
    response = http.request uri

    # create a POST
    post_uri = uri + 'create'
    post = Net::HTTP::Post.new post_uri.path
    post.set_form_data 'some' => 'cool data'

    # perform the POST, the URI is always required
    response = http.request post_uri, post

    # if you are done making http requests, or won't make requests for several
    # minutes
    http.shutdown

Please see the documentation on Net::HTTP::Persistent for more information,
including SSL connection verification, header handling and tunable options.

== INSTALL:

  gem install net-http-persistent

== LICENSE:

(The MIT License)

Copyright (c) Eric Hodel, Aaron Patterson

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

        

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 2 days ago

Total Commits: 310
Total Committers: 48
Avg Commits per committer: 6.458
Development Distribution Score (DDS): 0.326

Commits in past year: 11
Committers in past year: 4
Avg Commits per committer in past year: 2.75
Development Distribution Score (DDS) in past year: 0.364

Name Email Commits
Eric Hodel d****n@s****t 209
David Rodríguez d****z@r****t 17
Aaron Patterson t****e@r****g 16
James Tucker j****r@g****m 9
Hiroshi Hatake c****c@g****m 3
Jakauppila J****d@K****a 3
S. Brent Faulkner b****r@s****m 3
Jean Boussier j****r@g****m 3
Michael Grosser m****l@g****t 3
Peter Goldstein p****n@g****m 2
Joe Van Dyk j****e@t****m 2
Hiroshi SHIBATA h****t@r****g 2
T.J. Schuck tj@g****m 2
Víctor Roldán Betancort v****t@g****m 2
284km k****0@g****m 1
Aaron Stone a****n@s****x 1
Bart de Water b****r@g****m 1
Cedric Maion c****c@m****m 1
Zachary Scott z****y@z****t 1
Torsten Schönebaum t****m@p****e 1
Tomas Koutsky t****s@s****t 1
Peter Bakkum p****c@v****u 1
Joseph West j****e@k****m 1
James White j****e@s****m 1
fatkodima f****3@g****m 1
Yoshihiro TAKAHARA y****a@g****m 1
Yohei Kitamura y****a@m****m 1
Yap Sok Ann s****n@g****m 1
Vít Ondruch v****h@r****m 1
Vladimir Kochnev h****e@y****u 1
and 18 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 6 days ago

Total issues: 44
Total pull requests: 80
Average time to close issues: about 2 years
Average time to close pull requests: over 1 year
Total issue authors: 42
Total pull request authors: 54
Average comments per issue: 2.25
Average comments per pull request: 1.78
Merged pull request: 53
Bot issues: 0
Bot pull requests: 0

Past year issues: 4
Past year pull requests: 4
Past year average time to close issues: 26 days
Past year average time to close pull requests: N/A
Past year issue authors: 3
Past year pull request authors: 3
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.25
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/drbrain/net-http-persistent

Top Issue Authors

  • brauliobo (2)
  • nachojorge (2)
  • olleolleolle (1)
  • jweir (1)
  • felixonmars (1)
  • dreilly1982 (1)
  • semaperepelitsa (1)
  • tablecell (1)
  • jogendrajangid1 (1)
  • miyazakt (1)
  • tunepolo (1)
  • confact (1)
  • jjb (1)
  • AnilRh (1)
  • gdubicki (1)

Top Pull Request Authors

  • grosser (4)
  • casperisfine (4)
  • deivid-rodriguez (4)
  • petergoldstein (3)
  • joevandyk (2)
  • miyataka (2)
  • saiqulhaq (2)
  • cosmo0920 (2)
  • sbfaulkner (2)
  • sodabrew (2)
  • olleolleolle (2)
  • hsbt (2)
  • fatkodima (2)
  • stefanmb (2)
  • dominicm (2)

Top Issue Labels

  • Bug (3)
  • Support (2)
  • Feature (1)

Top Pull Request Labels

  • Feature (1)
  • Bug (1)

Package metadata

gem.coop: net-http-persistent

Manages persistent connections using Net::HTTP including a thread pool for connecting to multiple hosts. Using persistent HTTP connections can dramatically increase the speed of HTTP. Creating a new HTTP connection for every request involves an extra TCP round-trip and causes TCP congestion avoidance negotiation to start over. Net::HTTP supports persistent connections with some API methods but does not make setting up a single persistent connection or managing multiple connections easy. Net::HTTP::Persistent wraps Net::HTTP and allows you to focus on how to make HTTP requests.

  • Homepage: https://github.com/drbrain/net-http-persistent
  • Documentation: http://www.rubydoc.info/gems/net-http-persistent/
  • Licenses: MIT
  • Latest release: 4.0.8 (published 4 months ago)
  • Last Synced: 2026-04-28T20:31:08.921Z (2 days ago)
  • Versions: 54
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 195,114,887 Total
  • Docker Downloads: 591,399,457
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.072%
    • Downloads: 0.135%
    • Docker downloads count: 0.155%
  • Maintainers (2)
ubuntu-24.10: ruby-net-http-persistent

  • Homepage: https://github.com/drbrain/net-http-persistent
  • Licenses:
  • Latest release: 4.0.2-2 (published 3 months ago)
  • Last Synced: 2026-03-09T17:02:12.136Z (about 2 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.407%
    • Forks count: 0.692%
    • Stargazers count: 0.934%
rubygems.org: net-http-persistent

Manages persistent connections using Net::HTTP including a thread pool for connecting to multiple hosts. Using persistent HTTP connections can dramatically increase the speed of HTTP. Creating a new HTTP connection for every request involves an extra TCP round-trip and causes TCP congestion avoidance negotiation to start over. Net::HTTP supports persistent connections with some API methods but does not make setting up a single persistent connection or managing multiple connections easy. Net::HTTP::Persistent wraps Net::HTTP and allows you to focus on how to make HTTP requests.

  • Homepage: https://github.com/drbrain/net-http-persistent
  • Documentation: http://www.rubydoc.info/gems/net-http-persistent/
  • Licenses: MIT
  • Latest release: 4.0.8 (published 4 months ago)
  • Last Synced: 2026-04-28T18:30:17.237Z (2 days ago)
  • Versions: 54
  • Dependent Packages: 307
  • Dependent Repositories: 18,866
  • Downloads: 195,101,543 Total
  • Docker Downloads: 591,399,457
  • Rankings:
    • Downloads: 0.136%
    • Dependent packages count: 0.143%
    • Docker downloads count: 0.231%
    • Dependent repos count: 0.263%
    • Average: 1.046%
    • Forks count: 2.388%
    • Stargazers count: 3.118%
  • Maintainers (2)
proxy.golang.org: github.com/drbrain/net-http-persistent

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/drbrain/net-http-persistent#section-documentation
  • Licenses:
  • Latest release: v4.0.8+incompatible (published 4 months ago)
  • Last Synced: 2026-04-29T02:21:17.442Z (2 days ago)
  • Versions: 34
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Forks count: 2.404%
    • Stargazers count: 3.055%
    • Average: 6.459%
    • Dependent packages count: 9.576%
    • Dependent repos count: 10.802%
debian-13: ruby-net-http-persistent

  • Homepage: https://github.com/drbrain/net-http-persistent
  • Documentation: https://packages.debian.org/trixie/ruby-net-http-persistent
  • Licenses:
  • Latest release: 4.0.2-2 (published 3 months ago)
  • Last Synced: 2026-03-13T14:09:43.896Z (about 2 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-24.04: ruby-net-http-persistent

  • Homepage: https://github.com/drbrain/net-http-persistent
  • Licenses:
  • Latest release: 4.0.2-2 (published 3 months ago)
  • Last Synced: 2026-03-06T16:46:17.112Z (about 2 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
guix: ruby-net-http-persistent

Persistent HTTP connection manager

  • Homepage: https://github.com/drbrain/net-http-persistent
  • Documentation: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/ruby-xyz.scm#n4371
  • Licenses: expat
  • Latest release: 4.0.2 (published about 2 months ago)
  • Last Synced: 2026-04-27T16:17:18.965Z (3 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%

Dependencies

Gemfile rubygems
  • minitest ~> 5.15 development
  • rdoc >= 4.0, < 7 development
  • rake ~> 13.0
  • rake-manifest ~> 0.2
.github/workflows/release.yml actions
  • actions/checkout v4 composite
  • ruby/setup-ruby v1 composite
  • rubygems/release-gem v1 composite
  • step-security/harden-runner v2 composite
.github/workflows/test.yml actions
  • actions/checkout v2 composite
  • ruby/setup-ruby v1 composite
net-http-persistent.gemspec rubygems

Score: 31.01618172650889