Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

[5.5.X] Backport: More efficient app endpoints retrieval. (#952) #1869

Merged
merged 2 commits into from
Jul 15, 2020

Conversation

UnderGreen
Copy link
Contributor

Description

Backport of #952 to 5.5.x to improve the speed of collecting endpoints and significantly decrease time for gravity status output in clusters with a lot of endpoints and namespaces.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Linked tickets and other PRs

Implementation

Testing done

  1. Uploaded the built binary on the cluster with 90+ endpoints and 12 namespaces.
  2. Updated gravity-site daemon set to use the new binary.
  3. Tested gravity status.
    Results before: ~10 sec.
    Results after: ~0.3 sec.

Additional information

@UnderGreen UnderGreen requested review from r0mant, a team and a-palchikov July 14, 2020 00:20
@UnderGreen UnderGreen merged commit dec4cf8 into version/5.5.x Jul 15, 2020
@UnderGreen UnderGreen deleted the sergei/status_speed branch July 15, 2020 01:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants