Latest / Ship It Weekly - DevOps, SRE, Platform and Cloud Engineering News / Cloudflare Saves 100TB of RAM, AI Drives Server Prices Up, AWS Adds a Fourth London AZ, Route 53 DNS Self-Service, AKS eBPF Routing, Go 1.27, and the Danger of Hidden Infrastructure Assumptions
Transcript
- 0:00Cloudflare shaved about 100 terabytes of memory
- 0:03from the cache behind 1.1.1.1. OVHcloud says
- 0:10AI demand has helped push memory costs up roughly
- 0:15six-fold. And AWS added a fourth Availability
- 0:19zone in London, exposing infrastructure that
- 0:23quietly assumed there would always be three.
- 0:27This week is mostly about assumptions that work
- 0:30fine until scale or reality changes underneath
- 0:34them. I'm Brian Teller from Teller's Tech, and
- 0:37this is Ship It Weekly. Welcome back to Ship
- 0:57It Weekly, the show about the DevOps, SRE, cloud,
- 1:01platform, and security stories that matter when
- 1:05you're the person that keeps the thing running
- 1:07at three in the morning. For the weekly story
- 1:10list and source links, check out OnCallBrief.com. For past episodes and show notes, head
- 1:17over to ShipItWeekly.fm. This week, Cloudflare
- 1:21shows what saving a few bytes means. when you
- 1:25have more than 250 billion DNS cache entries.
- 1:31OVHcloud is raising infrastructure prices as
- 1:35AI changes the memory supply chain. AWS added
- 1:39a fourth Availability Zone to London. And Route
- 1:4353 Global Resolver is getting a better model
- 1:47for cross-account DNS self-service. Then we
- 1:52have four quick lightning round stories and a
- 1:55human closer about something that almost every
- 1:58Kubernetes engineer eventually worries about.
- 2:01Running the right command against the wrong cluster.
- 2:05Let's get into it. First up, Cloudflare published
- 2:14a really good engineering deep dive into the
- 2:17cache behind 1.1.1.1. Cloudflare's DNS services
- 2:23hold more than 250 billion cached DNS entries
- 2:29at any given time. At that scale, one wasted
- 2:33byte per entry is more than 250 gigabytes of
- 2:37memory across the fleet. So Cloudflare went looking
- 2:42for bytes, not more servers, not a new caching
- 2:46layer, bytes. They made five changes to how cache
- 2:50entries are represented and stored in memory.
- 2:53Together, those changes cut the memory footprint
- 2:57of each entry by more than half. Across the fleet,
- 3:01Cloudflare says that that freed roughly 100 terabytes
- 3:05of RAM. And performance improved too. Insert
- 3:10throughput went up 43% and lookup latency dropped
- 3:1519%. That is what makes this one interesting.
- 3:19We tend to think of optimization as a trade.
- 3:23Spend more CPU to save memory. Add complexity
- 3:27to reduce latency. But better memory layout and
- 3:31fewer allocations can make the whole system faster
- 3:35and smaller. It also shows how different optimization
- 3:39looks at scale. If your application has 10,000
- 3:44objects in memory, shaving eight bytes from each
- 3:48one probably does not matter. If you have 250
- 3:51billion of them, suddenly the exact layout of
- 3:56a Rust struct matters a lot. Premature optimization
- 4:00is still real. But once you find something that
- 4:04exists billions of times, tiny inefficiencies
- 4:08stop being tiny. Sometimes the big infrastructure
- 4:12optimization is not a new architecture. It is
- 4:16one field in a struct. Next, OVHcloud is raising
- 4:26prices on some infrastructure starting in September.
- 4:30And the reason is memory. OVHcloud says RAM costs
- 4:35roughly six times more in June than it did a
- 4:39year earlier. Suppliers are shifting manufacturing
- 4:42capacity. toward high-bandwidth memory for AI
- 4:47workloads which is affecting the supply and price
- 4:50of more traditional RAM some newer servers are
- 4:54reportedly going up around 40 to 59 percent certain
- 5:00gaming servers are increasing even more this
- 5:03is a good example of the second-order effects
- 5:06of the ai infrastructure boom you do not need
- 5:10to run an LLM You do not need GPUs. You do not
- 5:15even need an AI project. You can still end up
- 5:19paying for the demand AI creates further down
- 5:22the supply chain. For FinOps teams, this changes
- 5:25some assumptions. Right-sizing still matters.
- 5:29Commit discounts still matter. Reducing idle
- 5:33capacity still matters. But none of that completely
- 5:37offsets the underlying hardware becoming dramatically
- 5:41more expensive. It can also change whether an
- 5:45optimization project is worth doing. Maybe nobody
- 5:49cared about squeezing another 20% out of a memory-heavy database cluster last year. A 50% infrastructure
- 5:58price increase can change that calculation quickly.
- 6:02Cloud abstracts the hardware. It does not make
- 6:06hardware economics disappear. Eventually, those
- 6:10economics show up in the invoice. Third, AWS
- 6:18added a fourth Availability Zone to the London
- 6:22region. The new zone is eu-west-2d. More capacity
- 6:28and more fault isolation are obviously good things.
- 6:34But some customer automation immediately exposed
- 6:37an assumption. London had three availability
- 6:41zones. Maybe Terraform discovers all availability
- 6:44zones and creates a subnet in each one. But the
- 6:49module only has three CIDR blocks. Maybe there
- 6:53are three NAT gateways, three route tables, three
- 6:57entries in a configuration array. The code was
- 7:01dynamic enough to discover the fourth zone. The
- 7:05architecture was not dynamic enough to support
- 7:08it. That is a subtle difference. Dynamic discovery
- 7:11does not automatically mean dynamic compatibility.
- 7:16If a module supports exactly three zones, validate
- 7:20that and fail clearly. If it is supposed to support
- 7:24any number of zones, make sure every dependent
- 7:28resource actually scales with that number. Do
- 7:32not let a cloud provider adding capacity accidentally
- 7:36change your production architecture. Cloud APIs
- 7:40are dynamic inputs. Regions change. Services expand.
- 7:45Instance types appear. Availability Zones get
- 7:49added. Sometimes the cloud provider changing underneath
- 7:53you is not the outage. It is just your assumptions
- 7:57finally getting tested. Fourth, AWS published
- 8:05a useful pattern for shared DNS views with Route
- 8:1053 Global Resolver. The cross-account capability
- 8:14itself is not brand new. The operating model
- 8:18is what I like. In a typical multi-account AWS
- 8:22environment, a central networking team owns DNS
- 8:27resolution. That makes sense. You probably do
- 8:30not want every application team independently
- 8:33changing the organization-wide resolver. But
- 8:36application teams still own their services. So
- 8:40when they create a private hosted zone, somebody
- 8:44has to make that zone visible through central
- 8:47DNS. Historically, that often becomes a ticket.
- 8:51App team creates the zone. Networking team gets
- 8:55the request. Networking team associates it. App
- 8:58team waits. That works with five teams. It becomes
- 9:03a bottleneck with 50. Shared DNS views let the
- 9:07networking account keep control of the resolver,
- 9:10while application accounts associate their own
- 9:13private hosted zones through AWS Resource Access
- 9:17Manager. The platform team keeps the guardrails.
- 9:21The application team gets the self-service action
- 9:24it actually needs. That is the balance I like
- 9:29in platform engineering. Centralize the decisions
- 9:32that need governance. Delegate the actions team
- 9:36can safely own. You are not removing control.
- 9:40You are removing a human scheduling dependency
- 9:43from a routine deployment path. Quick lightning
- 9:54round. First, some strange hardware security
- 9:57research. A project called skitter-creek-bath-
- 10:01salts demonstrates manipulation of memory-controller
- 10:06translation registers in ways that can undermine
- 10:10security assumptions higher in the CPU stack.
- 10:13This mostly affects older AMD families and requires
- 10:18significant privilege in practice, so this is
- 10:22not a panic-and-patch story, but it is a useful
- 10:26reminder that higher-level security boundaries
- 10:29only protect what they can actually see. Second,
- 10:33eBPF Host Routing is now generally available
- 10:37in Advanced Container Networking Services for
- 10:41AKS. Routing and masquerading can move away from
- 10:46the traditional iptables path and into eBPF,
- 10:51which can improve latency, throughput, and CPU
- 10:54usage. But host-level iptables rules are bypassed.
- 10:59So understand what your workloads and node tooling
- 11:03depend on before you flip the switch. Third,
- 11:07CloudFront Functions has a nice observability
- 11:11improvement. Functions can now add custom context
- 11:15directly into CloudFront access logs. That means
- 11:19less work correlating separate Function logs
- 11:23with the request that triggered them. Small feature,
- 11:26much nicer debugging. And fourth, Go 1.27 is
- 11:31out. The headline language feature is generic
- 11:34methods. There are also improvements around type
- 11:37inference, JSON, UUID support, runtime profiling,
- 11:43and tooling. If Go is a big part of your environment,
- 11:47this is worth actually reading the release notes
- 11:50instead of just bumping the version in CI. The
- 12:02human closer this week is about a mistake that
- 12:05is painfully easy to make. Running kubectl against
- 12:09the wrong cluster. The scenario is simple. You
- 12:13have multiple terminal tabs open. In one tab,
- 12:16you switch Kubernetes context. Later, in another
- 12:20tab, you run a command believing you are still
- 12:23pointed at the environment you were using before.
- 12:26The command works perfectly. That is the problem.
- 12:31kubectl context lives in the kubeconfig. It is
- 12:35not tied to your terminal tab. So if two shells
- 12:39use the same kubeconfig and one changes the current
- 12:43context, the other silently sees that change
- 12:47too. No warning. No authentication failure. Your
- 12:51command just succeeds against a different cluster.
- 12:55Those failures are dangerous because the system
- 12:58behaves exactly as designed while violating the
- 13:01operator's mental model. If kubectl crashed,
- 13:05you would stop. If authentication failed, you
- 13:08would investigate. But if a delete command succeeds
- 13:11against production instead of staging, everything
- 13:15technically worked. There are some simple protections.
- 13:19Show the current cluster and namespace in your
- 13:21shell prompt. Pass the context explicitly for
- 13:25destructive actions. Use separate kubeconfigs
- 13:29or session-scoped contexts. And add deliberate
- 13:33friction around production. I like that last
- 13:37one. We spend a lot of time removing friction
- 13:40from engineering workflows. Usually, that is
- 13:44good. But not all friction is waste. Typing the
- 13:48production cluster name before a destructive
- 13:51command costs five seconds. That is cheap compared
- 13:55with restoring a namespace because muscle memory
- 13:58moved faster than your attention. And the strongest
- 14:03protection still belongs upstream of the laptop.
- 14:06RBAC. Admission policy. Scoped credentials. Guardrails
- 14:12that limit how much one accidental command can
- 14:15actually destroy. This connects back to the AWS
- 14:19Availability Zone story. London has three AZs.
- 14:24This terminal is pointed at staging. This array
- 14:28will always have three entries. This kubeconfig
- 14:32belongs to this shell. Those assumptions can
- 14:36be true for years. Then one day, they are not.
- 14:39Good infrastructure engineering is not eliminating
- 14:43assumptions. That is impossible. It is knowing
- 14:46which assumptions can hurt you when they stop
- 14:49being true, then either enforcing them or designing
- 14:53around them. If the module only supports three
- 14:56zones, validate three zones. If a destructive
- 15:00command must only run against staging, make staging
- 15:04explicit. If production deletion is dangerous,
- 15:08put a control somewhere stronger than someone
- 15:11remembering which terminal they used twenty minutes
- 15:14ago. A lot of incidents happen when reality changes
- 15:18before our mental model does. The boring fix
- 15:22is making reality harder to misunderstand. That's
- 15:27it for this week of Ship It Weekly. We covered
- 15:30Cloudflare saving about 100 terabytes of memory
- 15:34in its DNS cache. OVHcloud's AI-driven infrastructure
- 15:39price increases. AWS adding a fourth London availability
- 15:44zone, and cross-account DNS views with Route
- 15:4853 Global Resolver, plus hardware memory-isolation
- 15:52research, AKS eBPF Host Routing, CloudFront Functions
- 15:59unified logging, and Go 1.27. Follow or subscribe
- 16:05wherever you are watching or listening. You can
- 16:08find the weekly story list and source links at
- 16:12OnCallBrief.com and past episodes and show notes
- 16:16at ShipItWeekly.fm. I'm Brian Teller from Teller's
- 16:20Tech. Thanks for listening. And remember, the
- 16:24most dangerous assumption is usually the one
- 16:27that has been true for so long that nobody remembers
- 16:30it is an assumption.