-
Notifications
You must be signed in to change notification settings - Fork 180
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
Enable O to configure failover -ethUrl endpoint #1959
Comments
It may also be worth noting, that Prysmatic Labs' beacon-chain client implements such failover functionality in From the
Codebase is here: https://github.com/prysmaticlabs/prysm/ |
Thanks for the suggestion! An alternative that is possible to setup today without any changes to That being said, I can see why the support of a fallback in |
Thank you for the suggestions @yondonfu I will look into that. And I get that everyone has their own priorities. But perhaps in general, we could be careful not to dampen any potential enthusiasm which may ever come from the many permissionless outsiders, by labeling things as not going to be prioritised soon, by the few permissioned insiders. What do you think? |
Sure. To clarify on my previous comment - I don't think support for a fallback in |
I had a quick look at this issue and here are a few thoughts:
|
There’s still a lot of need for this so it’s good to know there’s still hope! |
https://docs.ethers.io/v5/api/providers/#providers-getDefaultProvider |
Problem Statement
When an Orchestrator loses connection to its
-ethUrl
, it drops all its streams.Such a disconnection will occur when the configured
-ethUrl
RPC service becomes unavailable.An
-ethUrl
RPC service will become unavailable when it is stopped, or restarted, perhaps due to a software update.Proposed Solution
As an Orchestrator, I want to be able to configure a failover option for the
-ethUrl
, such that if the primary-ethUrl
becomes unavailable, then the Orchestrator service can failover to secondary (or tertiary etc.) Ethereum RPC endpoint.Alternative Solution
Alternatively, we can maintain the status quo, and accept that streams will be interrupted whenever an Orchestrator's Ethereum RPC endpoint becomes unavailable. This may become more frequent as we approach the merge of eth1 + eth2 = Ethereum, and may not be desirable.
Additional Context
See below for chart showing Orchestrator Sessions during a time window when the service providing the Orchestrator's
-ethUrl
was restarted, in order to upgrade to a new version ofgeth
, for the London Hardfork:The text was updated successfully, but these errors were encountered: