May 26, 2018

Manages persistent connections using Net::HTTP

net-http-persistent manages persistent connections using NetHTTP plus a speed fix for Ruby 1.8. It’s thread-safe too! 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. NetHTTP supports persistent connections with some API methods but does not handle reconnection gracefully. NetHTTPPersistent supports reconnection and retry according to RFC 2616.

WWW https//