From: Peter Vandenabeele Date: 2012-02-07T18:40:55+09:00 Subject: Re: [ANN] net-http-persistent 2.4.1 Released --00235429d75c3ba66904b85c93e1 Content-Type: text/plain; charset=UTF-8 On Mon, Feb 6, 2012 at 1:14 PM, Eric Hodel wrote: > net-http-persistent version 2.4.1 has been released! > > * http://docs.seattlerb.org/net-http-persistent > * https://github.com/drbrain/net-http-persistent > > Manages persistent connections using Net::HTTP 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. Could net-http-persistent be used with Faraday so that consecutive API calls (e.g. for paginating through a long list, where only 200 entries are returned per API call) could be more efficient? Would this be a useful use case for net-http-persistent? Searching for 'net-http-persistent' on the Faraday project https://github.com/technoweenie/faraday/ did not reveal any existing references. And searching for Faraday on the net-http-persistent project did not reveal relevant results. Thanks, Peter --00235429d75c3ba66904b85c93e1--