AlgoViz

CDN operations

medium 30 min

Running a CDN day by day: what to measure, when to wake somebody, how to keep attackers away, how to make it faster and cheaper, and how to find out why a user got a slow, stale or broken answer.

Where it shows up

The same pattern appears across everyday software.

  • Fastly, June 2021

    A hidden bug was triggered by a valid customer change. 85% of the network returned errors, and 95% worked normally within 49 minutes.

  • Cloudflare, July 2019

    One firewall rule with heavy backtracking used up CPU everywhere. The service was down for 27 minutes.

  • CloudFront metrics

    Cache hit rate and origin latency are additional metrics that must be turned on for each distribution.

  • AWS WAF

    Rate-based rules count requests per key in an evaluation window and act above a limit.

  • Verifying crawlers

    Google explains how to check that a visitor who says Googlebot really is Google, by DNS in both directions.

  • Campaign day

    The team warms the landing page through the shield, checks the headers from three continents and freezes configuration.