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

Spdy slow start..

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • SPDY

    Description

      When production testing with spdy/5.0.0, we ran into an issue in some of our systems, where, the spdy hosts would flap constantly due to the flood of requests. We further noticed that, where the 4.0.x version or 5.0.0 w/ spdy turned off, would recover quickly following a restart, spdy enabled hosts would continue to receive flood of requests and continue to flap. During this time, traffic server is generally busy reading from the disk and can not handle too many requests, and is made miserable by spdy's support of multiple concurrent streams.

      To handle such a sudden flood of requests, I'm implementing a simple slow start mechanism with spdy. The idea is to increase the max_concurrent_streams_in gradually based on a configured timer, rather than use the configured value right away. The steps I chose to implement are 1, 25, 50, 75 and 100% of the configured max_concurrent_streams_in. Note that, currently,
      max_concurrent_streams_in only affects new spdy sessions. Existing sessions (if any) would continue to use their older values.

      Not too sure, if everyone would be interested in this..but, thought of still uploading my patch, incase, someone is interested.

      Attachments

        1. TS-2894.diff
          6 kB
          Sudheer Vinukonda

        Activity

          People

            sudheerv Sudheer Vinukonda
            sudheerv Sudheer Vinukonda
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: