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

[Spike] Client Side Node Load Balancing (aka Node Pool) #102

Open
solanoepalacio opened this issue Sep 14, 2023 · 4 comments
Open

[Spike] Client Side Node Load Balancing (aka Node Pool) #102

solanoepalacio opened this issue Sep 14, 2023 · 4 comments

Comments

@solanoepalacio
Copy link
Collaborator

solanoepalacio commented Sep 14, 2023

  • This process should be on wallet-manager and should pick a node before instantiating the provider/wallet
@solanoepalacio
Copy link
Collaborator Author

scrape from conversation:

  • can we run a process that checks the health of a pool of nodes and decides what’s the most “trustable” node
  • Monitoring evm nodes forking. Bsc case:
    • on aug 29 several providers “forked” on bsc (if you looked at the last block or nonces returned by the node they wouldn’t match the block and/or nonces exposed on bsc explorer)
    • maybe we can sample

@solanoepalacio
Copy link
Collaborator Author

@scnale mentions that it might be a good idea to send the transaction to many nodes instead of one

@solanoepalacio
Copy link
Collaborator Author

Ethers fallback providers might be a solution:
https://docs.ethers.org/v5/api/providers/other/#:~:text=The%20FallbackProvider%20is%20the%20most,a%20priority%20and%20a%20weight%20

One of the drawbacks of this solution is that doesn't solve the problem for non evm chains

@solanoepalacio
Copy link
Collaborator Author

To pick the healthiest node out, we also have to option to do it based on the behaviour of the node on the last transactions

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