Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3185

Increase the default spdy initial_window_size_in setting to 1 mb

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.0
    • Component/s: SPDY
    • Labels:
      None

      Description

      Currently, proxy.config.spdy.initial_window_size_in is set to the default value 64K (suggested in
      http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3-1). This suggested value is perhaps due to historic reasons when the window_size was only allowed 2 octets in the older spdy versions.

      Note that, ideally, the client (sender) should still be able to defer the upload when the send window is exhausted until the server (receiver) sends an WINDOW_UPDATE frame indicating to resume the sending.

      Even so, 64K may still be too small and may result in increasing upload
      latencies, especially, in case of large concurrent upload scenarios. Hence, I would like to bump up the default value for the spdy initial window
      size to a higher value (preferably to 1 mb like some of the more popular spdy enabled web servers are using).

      Here's some basic benchmarking data (thanks to Ethan Lai):

      5 parallel uploads from APAC to the US with a total of 2,299,250 bytes.

      spdy=off, 2.34 secs
      spdy=on, spdy.initial_window_size_in=64k: 11.28 secs
      spdy=on, spdy.initial_window_size_in=1M: 1.99 secs
      spdy=on, spdy.initial_window_size_in=10M: 2.01 secs

        Attachments

          Activity

            People

            • Assignee:
              sudheerv Sudheer Vinukonda
              Reporter:
              sudheerv Sudheer Vinukonda
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: