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

cache usage is much smaller than expected

    XMLWordPrintable

    Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.1.0, 4.2.0.0
    • None
    • Web Agents

      Description

      Cache usage is unusually low in the gc logging.

      This looks likely that it is due to a problem in the expiry date calculations, leading to items being garbage collected early.

      This could cause a performance problem in terms of more round-trips to the server.

      Reproduction

      start the agent, open any protected resource, login, check agent log - entry is validated against policy service and stored in cache.
      wait a little (5 sec), refresh page, check log - entry is read from the cache

      wait 20 seconds, refresh page

      Expected

      Resource is retrieved without a round-trip to the server

      Actual

      refresh page -> agent goes out to AM (policy call) instead of reading it from cache

        Attachments

          Activity

            People

            mareks Mareks Malnacs
            alex.levin@forgerock.com Alex Levin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: