Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-9764

Improve MCE Discovery scalability by optimizing the queries it makes to RHOCM

XMLWordPrintable

    • Improve MCE Discovery scalability by optimizing the queries it makes to RHOCM
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • Green
    • To Do
    • ACM-8985 - Bucket: Possible Enhancements for MCE/ACM Hub Operators and Discovery
    • 0% To Do, 0% In Progress, 100% Done

      Epic Goal

      To be described better in future edits:

      • Make use of get-subscriptions API's "fields" parameter to trim the returned results to the ones we need.  (Don't send unnecessary bytes over the network.)
      • Do more server-side (RHOCM service) side filtering by extending the use of the API's "search" capability to include the things we're filtering out on the client side (eg. filtering out by Archived etc. status, missing external_cluser_id, etc.).
      • Increase page size to maybe 1000 entries so there are fewer round trips per query (at the cost of some more memory in the controller, of course).  Reducing round trips will speed things up since it reduces the total network latency component of a query cycle.

      Why is this important?

      • Reduce the overhead of each polling/query cycle makes it more practical to enable discovery in envs with lots of clusters in the customer's RH org.
      • Would allow us to increase polling frequency to achieve more responsive updates.

      Scenarios

      ...

      Acceptance Criteria

      ...

      Dependencies (internal and external)

      1. ...

      Previous Work (Optional):

      1. ...

      Open questions:

      Done Checklist

      • CI - CI is running, tests are automated and merged.
      • Release Enablement <link to Feature Enablement Presentation>
      • DEV - Upstream code and tests merged: <link to meaningful PR or GitHub
        Issue>
      • DEV - Upstream documentation merged: <link to meaningful PR or GitHub
        Issue>
      • DEV - Downstream build attached to advisory: <link to errata>
      • QE - Test plans in Polarion: <link or reference to Polarion>
      • QE - Automated tests merged: <link or reference to automated tests>
      • DOC - Doc issue opened with a completed template. Separate doc issue
        opened for any deprecation, removal, or any current known
        issue/troubleshooting removal from the doc, if applicable.

              dbennett@redhat.com Disaiah Bennett
              jgdaniec Joe Gdaniec (Inactive)
              Matthew Smigielski Matthew Smigielski
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: