Error Triage Hub (9)
Federation Sender Queue Timeout & Exponential Backoff Lag
Offline remote homeservers force outbound federation retries into exponential backoff, stalling delivery and piling pending PDUs in RAM.
Delivery Delay: 10m-4h backoff | Metric: synapse_federation_client
How Dead Remote Domains Accumulate Outbound Transaction Queues
Every room containing unreachable or decommissioned remote homeservers triggers HTTP TLS connection timeouts and exponential retry windows. In a single-process Synapse deployment, DNS stalls and TLS handshakes compete directly with local /sync responses on the same Twisted reactor loop.
Spotting Backoff Saturation in Prometheus Metrics
Check synapse_federation_transaction_queue_pending and destinations_retry_timings in Synapse metrics. Offloading outbound traffic to a dedicated federation_sender worker isolates retry storms from local client latency.
Measured Thresholds & Configuration
| Deployment Topology | Dead-Destination Impact | P95 Local Send Latency |
|---|---|---|
| Monolith Python Synapse | Reactor loop stalls + queue pileup | 350 - 2,400 ms |
| Synapse + federation_sender worker | Isolated to worker process | 35 - 75 ms |
| Continuwuity / Conduit Rust | Tokio async pool + backoff cache | 18 - 45 ms |