Skip to content

kubernetes: Optimize computing gloo endpoints - #10478

Open
davidjumani wants to merge 59 commits into
mainfrom
optimize-compute-gloo-eps
Open

kubernetes: Optimize computing gloo endpoints#10478
davidjumani wants to merge 59 commits into
mainfrom
optimize-compute-gloo-eps

Conversation

@davidjumani

Copy link
Copy Markdown
Collaborator

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

@solo-changelog-bot

Copy link
Copy Markdown

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

@davidjumani davidjumani changed the title gateway2: Optimize computing gloo endpoints kubernetes: Optimize computing gloo endpoints Dec 13, 2024
@github-actions

github-actions Bot commented Dec 13, 2024

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 415f9b7):

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

(expires Fri, 12 Dec 2025 16:36:56 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 77c2b86e287749579b7ff9cadb81e099042ef677

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants