BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

net-http-persistent

v4.0.8RubyGems· Ruby

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.

The verdict
Solid choice. Well-adopted and active, actively maintained.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceHealthy
PopularityWidely used
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 5 months ago.
Popularity
329K downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
  • 4.0.85 months ago
  • 4.0.75 months ago
  • 4.0.6over a year ago
  • 4.0.5over a year ago
  • 4.0.4over a year ago
  • 4.0.3over a year ago
  • 4.0.23 years ago
  • 4.0.15 years ago
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. (Ruby / RubyGems) · Modules