Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-19794

[Research] Implement a long/backoff cache for the gateway

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • None
    • Platform A&M Sprint Tech Debt, A&M Tech Debt Sprint 2024-Q2
    • Moderate

      We should implemented a tiered fallback cache for entries (at least for entitlements, maybe not auth?):

      Happy Path:

      • cache miss
      • call service
      • populate short TTL cache and long (fallback) TTL cache (hours)
      • cache hit
      • serve from short TTL cache
      • repeat

      Sad Path:

      • cache miss
      • call service
      • populate short TTL cache and long (fallback) TTL cache (hours)
      • cache hit
      • serve from short TTL cache
      • cache miss
      • service call fails
      • serve from long TTL cache as "last known state"
      • ensure we check the live service at set intervals to prevent from serving from the long cache longer than necessary

              kwalsh@redhat.com Keith Walsh
              kwalsh@redhat.com Keith Walsh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: