IOSOR Learn
Detecting Route Flapping Before It Triggers Failover
Quantitative flap-detection thresholds separate transient blips from sustained degradation so engineers can compare backup routes that meet stability SLAs in the Decision Brief.
Lead Telecom & Routing Architect · Lausanne, CH
Engineers need quantitative flap-detection thresholds to distinguish transient blips from sustained degradation, then compare backup routes that meet stability SLAs in the Decision Brief.
Flap Definition and Counting Window
A flap event is recorded when a primary route transitions between healthy and degraded states within a rolling observation window. The default window is 300 seconds with a minimum state-hold of 30 seconds to suppress measurement noise. Each transition increments the flap counter; sustained degradation without recovery does not count as additional flaps.
Threshold Tiers and Escalation
Three tiers govern escalation: Tier 1 at 3 flaps per window triggers enhanced monitoring and synthetic probe frequency increase; Tier 2 at 6 flaps per window raises a circuit-breaker pre-alert and logs DLR receipt anomalies; Tier 3 at 10 flaps per window forces automatic failover evaluation. Thresholds are configurable per corridor via IOSOR policy API.
Metric Collection and Webhook Latency
Flap metrics are aggregated from webhook-delivered DLR receipts and synthetic probe results. Webhook latency must stay below 500 ms p99 to avoid stale state decisions. Missing or delayed webhooks are treated as implicit degradation events after a 2-second grace period, ensuring flap counts reflect real-time path health.
Sender and Template Gate Impact
Sender ID reputation and template approval status affect flap sensitivity. Routes with pending template verification or low-reputation senders receive a 1.5x flap-weight multiplier, accelerating escalation. Verified templates and high-reputation senders use the base multiplier of 1.0, reducing false positives during transient carrier issues.
Partner Route Stability Comparison
Backup routes are scored on historical flap frequency, mean time between flaps, and SLA adherence over the prior 30 days. Routes exceeding 0.5 flaps per day or showing Tier 2 breaches in more than 5% of windows are excluded from the failover candidate pool. The Decision Brief surfaces only routes meeting the stability SLA for the target corridor.
Start with IOSOR
Use the Decision Brief to compare verified partner routes for your channel and corridor, then apply the flap-detection thresholds above to lock in a stable failover path.
IOSOR takeaway
A flap event is recorded when a primary route transitions between healthy and degraded states within a rolling observation window. The Decision Brief surfaces only routes meeting the stability SLA for the target corridor (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Calibrate Route Health Probe Cadence Before Failover Switch
Set probe intervals per SMS, voice, and email route so failover fires on real DLR and webhook degradation, not probe noise. Compare partner health-signal depth in /tools/brief.
- Failover Route Switch Rollback Verification Gate for Safe Reversion
Verify rollback readiness before committing a failover route switch: DLR receipts, webhook latency, sender gates, and partner route comparison via /tools/brief.
- Verify Consent Scope Sync Before Failover Route Switch
Audit opt-in, opt-out, and channel consent parity across primary and backup routes before switching. Compare partners on consent handoff and audit evidence.












