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

Add a more flexible grpc call wrapper #23

Open
philipjames44 opened this issue Mar 16, 2022 · 0 comments
Open

Add a more flexible grpc call wrapper #23

philipjames44 opened this issue Mar 16, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers refactor

Comments

@philipjames44
Copy link
Contributor

philipjames44 commented Mar 16, 2022

Per #22 (comment), we should add in a wrapper around gRPC connections/calls that:

1.) Adds in an ability to do optional backoff retries
2.) Keeps track of healthy gRPC endpoints on the fly and update cache

This PR should be done after #31. This is split into 2 issues to separate actual cache implementation and utilization bc the latter will require a bit of a refractor.

This PR should also extend the cache hashset into a hashmap with values indicating how many times in a row connection attempts have failed and remove endpoints that have failed more than some threshold value

@philipjames44 philipjames44 added enhancement New feature or request good first issue Good for newcomers refactor labels Mar 16, 2022
This was referenced May 4, 2022
@philipjames44 philipjames44 self-assigned this May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers refactor
Projects
None yet
Development

No branches or pull requests

1 participant