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

(wibl-python): meta-tool performance #52

Open
selimnairb opened this issue Apr 26, 2024 · 1 comment
Open

(wibl-python): meta-tool performance #52

selimnairb opened this issue Apr 26, 2024 · 1 comment
Labels
enhancement New feature or request minor

Comments

@selimnairb
Copy link
Member

Original report by Brian Calder (Bitbucket: brian_r_calder, ).


The wibl meta-tool appears to take a significant time to start under some circumstances, potentially related to the connectivity of the system on which it’s running. This can lead to wait times of order seconds when the operation itself is sub-second, leading to significant productivity issues.

This feels like some underlying code “call home for update” functionality; it would be better removed.

@selimnairb
Copy link
Member Author

Original comment by Brian Calder (Bitbucket: brian_r_calder, ).


Further investigation seems to suggest that the delay here is in getting AWS credentials in the boto3 library. It isn’t clear why these are requested at startup (they appear to be cached for some time, which explains the variable performance at startup), but appears to be something to do with instantiating the library (e.g., on import).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor
Projects
None yet
Development

No branches or pull requests

1 participant