Skip to content

Conversation

@sami-alajrami
Copy link
Contributor

@sami-alajrami sami-alajrami commented Jan 19, 2026

related to kosli-dev/server#4467

  • limit the number of concurrent goroutines (and therefore requests) that read pods from a namespace to k8s sdk client's (Burst / 2) -1. This achieves best utilization of concurrency while preventing request queue explosion and eliminating throttling.
  • add a test to confirm scanning 200 namespaces does not take more than 5 seconds (should take 4.x seconds)

@sami-alajrami sami-alajrami merged commit 9eb27b0 into main Jan 20, 2026
10 checks passed
@sami-alajrami sami-alajrami deleted the bound-concurrency-for-k8s-snapshotting branch January 20, 2026 06:18
github-actions bot pushed a commit that referenced this pull request Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants