-
Notifications
You must be signed in to change notification settings - Fork 4
feat(rpc): add rpc pool for endpoint fallback #102
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
Open
SeUkKim
wants to merge
23
commits into
main
Choose a base branch
from
feat/rpc-pool
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
f8bec03
feat(rpc): add rpc pool for endpoint fallback
SeUkKim 0bb912a
chore: fix typo
SeUkKim 46f740a
chore: sort imports.
SeUkKim a447897
wip(rpc): apply feedbacks
SeUkKim eac5605
refactor(rpc): deduplicate retry logic in ExecuteWithFallback using t…
SeUkKim 54e90de
refactor(config): rename RPCAddress to RPCAddresses for clarity
SeUkKim 79a23d6
chore: add missed files
SeUkKim a81e174
fix(rpc): add mutex to ensure tread-safe access to HTTP client.
SeUkKim a531045
fix(rpc): use pointer receivers for RCPClient methods
SeUkKim ccfe38e
chore: fix lint error
SeUkKim a78ae66
refactor(rpcclient): pass rpc-timeout via context instead of env var
SeUkKim 44aa89a
chore(challenger): update comments to reflect challenger
SeUkKim 7547280
feat(rpcclient): implement advanced RPC pool with health scoring
SeUkKim 7f7520d
fix(rpcclient): fix race condition when accessing client score
SeUkKim dc458b2
fix(rpcpool): delete invalid endpoints from the slice instead of mark…
SeUkKim 395f427
docs(rpcpool): add a more descriptive comment for function
SeUkKim d721e33
test(rpcpool): add and fix tests.
SeUkKim c3f4e03
fix(rpcpool): mark client healthy for retry rather than recreating it
SeUkKim f46d2f5
style(rpcpool): format code with gofmt
SeUkKim 114601b
fix(rpcpool): fix data race
SeUkKim ea3bf90
refactor(rpcpool): refactor client-health and scoring methods to take…
SeUkKim 1980ef5
style(rpcpool): format code with gofmt
SeUkKim dd3db87
test(rpcpool): use fully qualified urls in tests.
SeUkKim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.