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

Consider better timeout handling to optimize all parts of Hop #583

Open
shanefontaine opened this issue Feb 14, 2024 · 0 comments
Open

Consider better timeout handling to optimize all parts of Hop #583

shanefontaine opened this issue Feb 14, 2024 · 0 comments

Comments

@shanefontaine
Copy link
Member

Consider a more robust mental model for how long a timeout should be for various situations (RPC calls, web2 service calls, etc.). Could possibly dramatically increase TPS.

Possible Implementation

Strict timeout for tx lifecycle stuff that affects TPS and less-strict for non-tx lifecycle

Considerations

  • Different RPC providers have different speeds and handling them all might be impossible.
  • A long timeout (seconds) could block the bonder and we should not allow that.
  • Linea’s (Infura) RPC took 7s and 9s for two respective txs during their quest…
@shanefontaine shanefontaine converted this from a draft issue Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant