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
PR #62 drops a registration attempt when the ticket's cumulative WaitTime exceeds RegAttemptTimeout (1.5×AdLifetime), to avoid spending forever on a registrar that keeps returning long wait times.
Concern
A high-wait-time registrar may still be the only useful candidate for its bucket. Unconditionally giving up:
discards a registrar that would eventually admit us, with no guarantee a better one exists.
Proposal
Instead of dropping when WaitTime > threshold, demote the attempt to low priority (Standby) and abandon it only when there is a replacement candidate for the same bucket with a shorter wait time — opportunistic replacement, not unconditional give-up.
This mirrors #70's "demote-on-expiry instead of drop": prefer demotion over deletion; evict only when a strictly-better candidate is available.
Open questions
How to compare wait times across candidates (a replacement may not have a TICKET response yet).
Whether to keep the slow registrar's ticket warm in the background.
Interaction with RegBucketStandbyLimit (standby pool cap).
PR #62 drops a registration attempt when the ticket's cumulative
WaitTimeexceedsRegAttemptTimeout(1.5×AdLifetime), to avoid spending forever on a registrar that keeps returning long wait times.Concern
A high-wait-time registrar may still be the only useful candidate for its bucket. Unconditionally giving up:
Proposal
Instead of dropping when
WaitTime > threshold, demote the attempt to low priority (Standby) and abandon it only when there is a replacement candidate for the same bucket with a shorter wait time — opportunistic replacement, not unconditional give-up.This mirrors #70's "demote-on-expiry instead of drop": prefer demotion over deletion; evict only when a strictly-better candidate is available.
Open questions
RegBucketStandbyLimit(standby pool cap).Design/discussion issue.