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

Connections queued when hitting `proxy.config.http.origin_max_connections` don't honor order

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • sometime
    • Network
    • None

    Description

      As of today when you hit `proxy.config.http.origin_max_connections` requests are queued waiting for an available connection to origin. Today this is done by simply rescheduling 100ms in the future. Ideally this would honor the order with which the requests came in.

      Attachments

        Activity

          Commit fa1bb2951475ddb92e624fde011843a9a905c603 in trafficserver's branch refs/heads/master from jacksontj
          [ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=fa1bb29 ]

          TS-4342 Add tests for queued/max connections in addition to base tests

          jira-bot ASF subversion and git services added a comment - Commit fa1bb2951475ddb92e624fde011843a9a905c603 in trafficserver's branch refs/heads/master from jacksontj [ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=fa1bb29 ] TS-4342 Add tests for queued/max connections in addition to base tests

          The current plan is to remove this kind of queuing entirely.

          "Kill it with fire" - Leif

          amc Alan M. Carroll added a comment - The current plan is to remove this kind of queuing entirely. "Kill it with fire" - Leif
          jacksontj Thomas Jackson added a comment -

          And replace it with what? Or are we planning on just dropping when we hit limits? I agree we should get rid of these sleep queues, but I'm not really for no queuing at all.

          jacksontj Thomas Jackson added a comment - And replace it with what? Or are we planning on just dropping when we hit limits? I agree we should get rid of these sleep queues, but I'm not really for no queuing at all.

          People

            jacksontj Thomas Jackson
            jacksontj Thomas Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: