[tahoe-dev] connection timeouts on VG2
david-sarah at jacaranda.org
Wed Mar 28 20:16:07 UTC 2012
On 28/03/12 19:53, Brian Warner wrote:
> On 3/27/12 3:41 PM, David-Sarah Hopwood wrote:
>> HTTP 1.1 persistent connections are an important latency optimization
>> and I think we should support them when we move to Tahoe-over-HTTP.
>> That's somewhat independent of whether we use HTTP keepalives to
>> attempt to keep idle connections open for longer than 115 seconds [*].
> I think 115 seconds is a great value to pull all the sub-resources for a
> single page through a single TCP connection. It might even let you share
> that TCP connection for a few subsequent hits to the same site (if you
> don't linger too long before following a link).
> For Tahoe, in addition to multiple-requests-per-file (either upload or
> download), it's also very common to touch multiple files in a row, when
> we transfer a whole directory of stuff, or do a deep-check, etc. Or when
> a human browses one directory, navigates to a subdirectory, and finally
> views one or more files (this gives access patterns that are very
> similar to the web browser case).
> So I'm hoping that we can keep connections open for longer than 115
Remember that's the maximum time that Firefox will leave a connection
*idle*, not the duration of the connection.
David-Sarah Hopwood ⚥
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 554 bytes
Desc: OpenPGP digital signature
More information about the tahoe-dev