Risk-driven backbone management during COVID-19 and beyond
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.
Related posts
- Not just another network latency issue: How we unraveled a series of hidden bottlenecks
Datadog Engineering mediumAdeptRecurring high-startup-latency pages on every deployment of Datadog's usage estimation `counter` service traced back to four stacked bottlenecks rather than one. The fixes were raising CPU for a throttled Envoy sidecar, patching a Linux kernel bug that pinned all traffic to the first of eight AWS ENA transmit queues, and moving to network-optimized EC2 instances after bandwidth-allowance-exceeded metrics revealed hypervisor packet drops. A Kubernetes preStop hook with a maintenance-mode key then kept Envoy from routing requests to terminating remote-cache pods. With p99 latency back under 100 ms, the team scaled the remote cache down 6x, saving hundreds of thousands of dollars a year, and now alerts on ENA bandwidth and pod- and host-level network drop metrics.
- Network hose: Managing uncertain network demand with model simplicity
Meta Engineering hardMasterMeta plans its backbone network capacity against per-data-center aggregate ingress/egress forecasts (the "network hose") instead of a pairwise traffic matrix. This cuts per-service forecast inputs from O(N^2) to O(N) and builds statistical multiplexing into the forecast. The hard part is that infinitely many traffic matrices satisfy the hose constraints. Meta handles this by deriving a small set of reference demand matrices from simple geographic (straight-line) network cuts, each maximizing traffic across its cut, and feeding them into an integer linear programming cost model under a failure protection policy. Simulations showed the extra capacity cost is small, while the approach lets services treat network as a per-data-center consumable and eliminates many pairwise traffic-surge alarms.
- Infrastructure Observability for Changing the Spend Curve
Slack Engineering mediumAdeptSlack bent the growth curve of its webapp CI spend, which had been rising about 10% month over month, by using observability (dashboards, metrics and tracing) to drive three changes. Adaptive capacity standardized instance types and oversubscribed executors per instance after profiling vCPU and executor-count combinations, cutting costs about 70% and error rates about 50% while targeting 50% busy executors at peak. Circuit breakers in the Checkpoint orchestrator defer or cancel CI work when downstream services such as Jenkins, Vitess, Flannel or Search degrade, which stops cascading failures. Tracing the Cypress test runtime exposed runtime variables tied to flakiness, which had been burning roughly 90k compute hours a week.
- Three Mighty Alerts Supporting Hugging Face’s Production Infrastructure
Hugging Face mediumAdeptHugging Face's infrastructure team relies on three alerts to catch problems early. A static-threshold alert on NAT gateway throughput flags cost-relevant egress changes, such as misrouted traffic that skips cheap private paths to object storage; the fix uses Route53 Resolver DNS overrides managed with CDKTF. An end-to-end alert compares ALB request counts with logs archived through a Filebeat → Logstash → Elasticsearch → Parquet/S3 → Glue/Athena pipeline, catching log loss caused by backpressure, schema-detection failures, OOMs and failed archive jobs. The third alert tracks Kubernetes API error rates and rate limiting, which matter because kube-rs controllers manage certificates, node draining and billing.
- Customers over control: how we measure On-call reliability
incident.io mediumAdeptincident.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.