Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add alternative pod client implementation #388

Closed
wants to merge 1 commit into from

Conversation

swiatekm-sumo
Copy link
Contributor

This is a sketch of an alternative implementation of WatchClient, which is completely synchronous and doesn't cache any values aside from what informers do. In principle, this trades CPU for memory, but in limited testing this implementation has performed around 10% better than the current one, while also being significantly simpler. We can even add a cache to it later if need be, and it should be easier to manage given that we can always recompute the values on demand.

This implementation is missing two features at the moment:

@github-actions github-actions bot added the go label Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants