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

Improve Client-side SSM API robustness to reduce getting Rate-limited in Pubsys #455

Open
sumukhballal opened this issue Feb 11, 2025 · 0 comments

Comments

@sumukhballal
Copy link
Contributor

sumukhballal commented Feb 11, 2025

Description

We have been seeing issues where multiple instances of twoliter ssm commands, cause us to get rate-limited across Get/Put Parameter API's. We would like to improve upon this by extending some of @cbgbt's previous work.

@cbgbt implemented a async rate-limiting function for the SSM Get Parameter API, this can be extended for the Put Parameter API.

Additionally, @cbgbt also implemented retries for SSM Validation which can be extended to the Get/Put parameter calls in case they fail due to network issues.

** What I'd like **

  • get_parameter/set_parameter function calls use retries along with a async rate-limiting function to avoid getting rate-limited.
  • Tested against several parallel ssm calls across several variants & regions.
@sumukhballal sumukhballal changed the title Improve Client-side SSM API calls to reduce getting Rate-limited in Pubsys Improve Client-side SSM API robustness to reduce getting Rate-limited in Pubsys Feb 11, 2025
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

No branches or pull requests

1 participant