Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

incident.io 5 min read Case study mediumAdept

Building On-call: The complexity of phone networks

Delivering on-call notifications via SMS and phone calls means routing through a telecom API provider and its carrier partners, where status signals are often unreliable. Some carriers reject international calls with a SIP 486 Busy code, Twilio's 'high-risk' number ranges include legitimate numbers, and networks like Ireland's Eir silently drop international SMS without ever reporting Delivered or Undelivered. incident.io now marks SMS as 'stuck' when they don't reach a terminal state quickly and retries from a different number. Other pitfalls include country-specific restrictions on buying numbers and shortcodes, time-of-day SMS rules in China, and carriers that block replies to shortcodes or international numbers.

Related posts

  • Customers over control: how we measure On-call reliability

    incident.io mediumAdept

    incident.io measures On-call reliability with two customer-centric SLIs, alert ingestion availability and notification delivery latency under 5 minutes, both targeted at 99.99% monthly. Ingestion is measured at the GCP load balancer as good minutes (under 10% error rate) over total minutes, which tolerates self-healing blips. Notification latency stops only when any provider acknowledges, backed by active-active telecom providers added after an October 2025 AWS outage. User-configured delays such as grouping windows, working-hours escalation and staged notification rules are subtracted so intentionally delayed pages still count.

  • Enhancing the security of WhatsApp calls

    Meta Engineering easyNovice

    WhatsApp's "Silence Unknown Callers" goes beyond muting the ringer: a stripped-down, server-enforced notification protocol keeps the recipient's device from processing attacker-controlled call-setup data, which cuts off zero-click exploit paths seen in calling stacks like WebRTC and PJSIP. To decide whether a call may ring without logging social graphs, clients hand out "privacy tokens" to contacts they trust. Callers present the token, and the server validates it without learning the caller-recipient relationship. A separate "Protect IP Address in Calls" setting routes calls through WhatsApp relays instead of peer-to-peer connections, hiding participants' IP addresses at some cost to call quality, while calls stay end-to-end encrypted.

  • Risk-driven backbone management during COVID-19 and beyond

    Meta Engineering hardMaster

    Facebook's global backbone withstood the COVID-19 traffic surge by computing risk metrics (demand loss, availability, latency stretch) over enumerated failure scenarios. Component failure likelihood and duration come from MTBF/MTTR estimates built with clustering and Bayesian regression on features like vendor and region. A sharded simulation runs the production SD-WAN controller code per failure scenario. The resulting metrics pointed to at-risk regions, which drove proactive capacity deployment and downgrading latency-insensitive traffic from QoS class 3 to class 4, so the same SLOs could be met with less capacity.

  • Incident Report: July 2, 2026 — US East Services Outage

    Railway mediumAdept

    An upstream Tier 1 carrier's backbone degradation caused packet loss between Railway's US regions, and while routing around it, engineers disconnected the last carrier supplying a default route to a first-generation US East site, leaving it without a stable internet route for about 20 minutes. That instability exposed latent bugs: Linux hosts fell back to a slow management network for storage traffic, and connections stayed pinned there after recovery, capping throughput at a third and pushing I/O wait to 58%. WireGuard-style mesh tunnels also learned a NAT device's address as their peer and, being silent when idle, never self-corrected, blackholing about 20,000 links until agents were restarted. Fixes include self-generated default routes at older sites, making missing fabric routes fail closed instead of falling back, and alerting on management-network utilization and blackholed links.

  • Break chatbot speed limits with speculative tool calls

    incident.io mediumAdept

    incident.io cut its incident chatbot's response latency by about 50% (saving 2-3s per interaction) by speculatively executing LLM tool calls in both directions. Tools are started in parallel with the main chat prompt when simple keyword matching suggests they will be needed, and the follow-up chat prompt is run optimistically by assuming the tool succeeded, then re-run on error. Side effects are prevented with a Go write barrier: speculative tools do all their LLM 'thinking' but block before writing until the main prompt confirms the call, otherwise the context is cancelled. The tradeoff is occasional wasted LLM spend, which effectively lets the team buy speed with money.

The quest for software engineering knowledge.

Look:
Layout: