-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
kprofefeIt is in the continuous collector and kprofefe binary spaceIt is in the continuous collector and kprofefe binary space
Description
At the moment the number of goroutines kprofefe spin up is fixed to 10. We can do better.
First, we should look at GOMAXPROCS has to a limit. No more goroutines that what it specifies.
The GOMAXPROCS variable limits the number of operating system threads that can execute user-level Go code simultaneously. There is no limit to the number of threads that can be blocked in system calls on behalf of Go code; those do not count against the GOMAXPROCS limit. This package's GOMAXPROCS function queries and changes the limit.
In second based on the number of pods to gather, we can calculate the right number of goroutines.
Metadata
Metadata
Assignees
Labels
kprofefeIt is in the continuous collector and kprofefe binary spaceIt is in the continuous collector and kprofefe binary space