Skip to content

Discovery Performance #134

@kadaan

Description

@kadaan

The performance of discovery is pretty slow as it is a serial process for all available resources.

The improvements I see are:

  1. Parallelize discovery by type
  2. Initial filtering of discovered resources. If all data for filtering exists on the resources then apply the filter and take the result.
    If all data for filtering is not available then include the result for later processing.
  3. Parallelize updating of resource state by using a worker pool which handles resources after 2.
  4. Final filtering of discovered resources, this time with state
  5. Collect all results from 4. and return them as the result from List()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions