You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GPBFT implementation here silently logs errors that occur as a result of requesting broadcast.
In practice, if such situations occur it may be better to backoff from sending consecutive requests, e.g. that may be caused by pubsub congestion.
Using a circuit breaker pattern at host implementation in f3 package might just do the trick without the need for larger refactor across the core gpbft package/protocol changes.
2024-09-09: Discussed in the daily sync that it is lower on the priority list and therefore I will not assign Milestone 2: Hardening and Mainnet Deployment Readiness to this ticket. Might be revisited during the colo
GPBFT presciently ignores broadcast and rebroadcast requests as it is
beyond its boundaries of responsibility to do something about. In
practice such failures may be a sign that pubsub is overwhelmed with
messages. Therefore, ideally the system should avoid aggravating the
situation by requesting further broadcasts. This is specially important
in re-broadcast requests because it often involves batch message
publication.
The changes here wrap the pubsub publication calls with a circuit
breaker that will open on consecutive errors (set to `5`), and will not
attempt to actually publish messages until a reset timeout (set to `3s`)
has passed.
Fixes#632
GPBFT silently ignores broadcast and rebroadcast requests as it is
beyond its boundaries of responsibility to do something about. In
practice such failures may be a sign that pubsub is overwhelmed with
messages. Therefore, ideally the system should avoid aggravating the
situation by requesting further broadcasts. This is specially important
in re-broadcast requests because it often involves batch message
publication.
The changes here wrap the pubsub publication calls with a circuit
breaker that will open on consecutive errors (set to `5`), and will not
attempt to actually publish messages until a reset timeout (set to `3s`)
has passed.
Fixes#632
The GPBFT implementation here silently logs errors that occur as a result of requesting broadcast.
In practice, if such situations occur it may be better to backoff from sending consecutive requests, e.g. that may be caused by pubsub congestion.
Using a circuit breaker pattern at host implementation in
f3
package might just do the trick without the need for larger refactor across the coregpbft
package/protocol changes.Originally posted by @Stebalien in #627 (comment)
The text was updated successfully, but these errors were encountered: