Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-1735

caching of rbac results for faster responses

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Content
    • None

      Goal: 

      • Currently we make a request to the rbac app on each request in the frontend.  There isn't any caching. This slows down our responses considerably.  We should cache these (likely with redis) with some sort of timeout (3 min by default) timeout should be configurable via an env variable.
      • console dot already provides Elasticache (redis implementation)

      Acceptance Criteria:

      • Rbac requests are cached with some timeout
      • timeout should be configurable via an env variable
      • add redis to local docker compose

      Testing:

      If possible to test against stage rbac instead of ephemeral, you will get more accurate results.

              rhn-engineering-jsherrill Justin Sherrill
              rhn-engineering-jsherrill Justin Sherrill
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: