Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-246

Performance drop when targeting two agents on single IIS

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 5.0.0.0, 4.1.0
    • Component/s: Web Agents
    • Labels:
      None
    • Environment:
      Windows 2012 server, 12 cores cpu, 4GB ram

      Description

      *Setup as following: *

      IIS

      • Two application pools
      • Two folders with resources (same structure)

      Agents

      Tests

      OpenAM config:

      • 1000 users (user.1 - user.1000)
      • 2000 policies(agent:port/Resource1-1000.html)
      • Each user can access only resource matching his number

      Gatling:

      • Flow:
        • Access protected resource
        • Expect redirect
        • Rest login
        • Access same resource in loop during 10 minutes

      Observations:

      When both agents are targeted at once (requests randomly go to 80 or 81), there is a significant slowdown (10x slower) compared to targeting single agent or non-protected resource. When this happen, CPU load on windows box goes down to ~10% utilization.

      Tested also from two separated clients (2 gatling instances), each targeting single target.

      NOTE: Retested also with 2x 64 bit application pool and results is the same.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mareks Mareks Malnacs
                Reporter:
                pavel.balcarek Pavel Balcárek
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: