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
[MIG-699] Keep k8s clients around to avoid cost of re-generating them all the time #1022
Comments
Wow. I knew this was an issue but not how much of an issue. I just ran a migration that took 3 minutes, 4 seconds to complete. Total Migration Time: 184 seconds That's 3.6 minutes of controller time creating clients (this is possible because there are multiple controllers) but wow. Keeping the clients in memory instead of recreating all over the place looks like it could have a huge impact on how quickly things could run. |
In-cluster results:Not nearly as big of a difference, but definitely still a healthy improvement (10 seconds). It seems that the impact of this change may be related to latency. Running off my laptop it had a much bigger improvement. I suspect we would also see large improvement running across data centers, which is one of the performance areas for improvement we spotted. |
Will be resolved by #1037 |
We should measure how long it takes to build a client. My guess is that with the amount of times we re-build clients we may be incurring a significant cost.
The text was updated successfully, but these errors were encountered: