gloo icon indicating copy to clipboard operation
gloo copied to clipboard

kubernetes: Optimize computing gloo endpoints

Open davidjumani opened this issue 11 months ago • 2 comments

Description

Optimize computing gloo endpoints by using resource sets to efficiently find resources.

Code changes

Use resourceSets instead of lists find and iterate over lists of resources Since a lot of the iteration involves iterating over a list to find a NamespacedName resource, opted to use the ResourceSet to efficiently find the resource to avoid unnecessarily iterating over the same list multiple times

Context

This is a simple optimization to reduce CPU utilization https://github.com/solo-io/solo-projects/issues/7369

davidjumani avatar Dec 13 '24 14:12 davidjumani

Issues linked to changelog: https://github.com/solo-io/solo-projects/issues/7369

solo-changelog-bot[bot] avatar Dec 13 '24 14:12 solo-changelog-bot[bot]

Visit the preview URL for this PR (updated for commit 3695c29):

https://gloo-edge--pr10478-optimize-compute-glo-8gknko0g.web.app

(expires Wed, 29 Oct 2025 16:00:46 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 77c2b86e287749579b7ff9cadb81e099042ef677

github-actions[bot] avatar Dec 13 '24 14:12 github-actions[bot]