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

Implement exponential back-off strategy for protocol messages retry #2019

Closed
andrevmatos opened this issue Aug 1, 2020 · 0 comments · Fixed by #2021
Closed

Implement exponential back-off strategy for protocol messages retry #2019

andrevmatos opened this issue Aug 1, 2020 · 0 comments · Fixed by #2021
Assignees
Labels
optimization ⚡ Optimizations for the implementation or protocol sdk 🖥

Comments

@andrevmatos
Copy link
Contributor

Description

It's more efficient than a constant value, as we use currently, since it can retry over shorter delays in the beginning, when there's a higher probability of the partner catching up and responding to our message.
This is the same strategy as used in raiden-py

Acceptance criteria

  • Message are retried using an exponential back-off spacing of delays

Tasks

  • [ ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimization ⚡ Optimizations for the implementation or protocol sdk 🖥
Projects
None yet
1 participant