<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>The Write Ahead Log</title>
    <description>Platform and Product Engineering Journal</description>
    <link>https://platformatory.io/blog/</link>
    <atom:link href="https://platformatory.io/blog/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Thu, 26 Nov 2026 05:45:42 +0000</pubDate>
    <lastBuildDate>Thu, 26 Nov 2026 05:45:42 +0000</lastBuildDate>
    <generator>Jekyll v4.3.3</generator>
    
      <item>
        <title>VibeOps Needs a Captain: Handing Operations to Agents</title>
        <description>&lt;p&gt;In March 1981 the White House set up a task force to settle a fight over the third seat in the cockpit. A new generation of jets, the DC-9-80, the 757 and the 767, was arriving with a flight deck built for two, and the question was whether two people could fly them safely. In July the answer came back yes. The flight engineer’s wall of gauges and switches had been folded into the engine-indicating and crew-alerting system, EICAS, which watched the engines and systems and spoke up when something drifted.&lt;sup id=&quot;fnref:taskforce&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:taskforce&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;  New airliners have been built for two ever since.&lt;/p&gt;

&lt;p&gt;The industry then reached for the second seat. Airbus and Dassault asked European regulators to study extended periods of single-pilot cruise, with the other pilot resting. EASA’s own risk assessment came back unable to show that one pilot at the controls was as safe as two, and the decision has slipped to 2030.&lt;sup id=&quot;fnref:easa&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:easa&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;The pilots who stayed were told to keep their hands on the controls. In 2013, after flight data showed manual-handling errors rising, the FAA urged airlines to give pilots regular manual flying, because a crew that only supervises the autopilot loses the ability to recover an aircraft that has gone wrong.&lt;sup id=&quot;fnref:safo&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:safo&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;Operations is arriving at its own 1981. The agents are here, the flight deck is being redesigned around them, and the argument over the seats has started. I got a sharp reminder of how far there still is to go recently.&lt;/p&gt;

&lt;p&gt;For six weeks our CI host ran at a crawl. It’s a single Threadripper: 128 threads, 512 GB of RAM, about 25 virtual machines, lightly overcommitted. Every CI job on it dragged. CPU temperatures sat under 50°C, load averages were fine, and nothing on the dashboards complained.&lt;/p&gt;

&lt;p&gt;We put Claude on it. The agent went where the evidence on screen pointed: it profiled the Docker daemon’s oddly high idle CPU with pprof, dug into disk I/O, and followed one plausible rabbit hole after another. Other symptoms suggested memory corruption on one of the channels and pulled the search toward a failing part. A few million tokens later, the slowdown was still unexplained.&lt;/p&gt;

&lt;p&gt;The turn came from a human hunch. Every short benchmark showed full memory bandwidth, so the hardware probably wasn’t broken; what the short tests lacked was time. Under sustained load, with a memory benchmark running continuously and the board’s sensors read over IPMI, the problem isolated to one registered DIMM running hot. Once it passed 66°C, the platform throttled memory bandwidth to about 3% of normal, which reproduced what the CI jobs had been living with. These are readings taken during the investigation; we didn’t run a controlled benchmark. The behaviour wasn’t documented anywhere we could find. One other team had hit the same wall on a densely packed Threadripper workstation: memory heat-soaked to around 66°C and the memory controller throttled bandwidth until a fan was pointed at the DIMMs.&lt;sup id=&quot;fnref:ripperpc&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:ripperpc&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;AI SRE products promise autonomous remediation: agents run operations at machine speed while humans watch dashboards. Call it VibeOps: operations run on intent, at machine speed.&lt;sup id=&quot;fnref:fabrix&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:fabrix&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt; The questions are which parts of production can be handed to agents safely, what has to be true of the systems first, and who holds the pager.&lt;/p&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;what-agents-can-do-in-production-today&quot;&gt;What agents can do in production today&lt;/h2&gt;

&lt;p&gt;The best agents now diagnose most benchmark incidents correctly; few of them finish the repair.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;ITBench:&lt;/strong&gt; 2025-generation agents resolved 11.4% of SRE scenarios.&lt;sup id=&quot;fnref:itbench&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:itbench&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;SREGym:&lt;/strong&gt; 90 problems on live Kubernetes. End-to-end success (right diagnosis and working mitigation in one run) is 27-61% without noise, 27-54% with it, and 15-28% on new failure types.&lt;sup id=&quot;fnref:sregym&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:sregym&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Incident-Arena:&lt;/strong&gt; a pass needs the service back within its objectives and a clean safety check. The best configuration passes 64.3%. Of the failures, 26.5% were fixes that didn’t survive a restart or the next trigger, 23.9% declared victory while the service was still out of bounds, and 21.9% changed something outside the permitted list.&lt;sup id=&quot;fnref:arena&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:arena&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;8&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;SRE-Marathon:&lt;/strong&gt; with overlapping faults arriving continuously, the best of ten methods scores 41.3 out of 100, and agents almost never complete a repair while faults are active.&lt;sup id=&quot;fnref:marathon&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:marathon&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;9&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Agents grab the first plausible anomaly and stop looking, even with root-cause evidence in front of them, and none diagnosed latent disk faults well.&lt;sup id=&quot;fnref:sregym:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:sregym&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt;  They reach a correct first action in minutes, then can’t tell when they’re done, and attempted reward hacking showed up across every model tested.&lt;sup id=&quot;fnref:arena:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:arena&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;8&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;Production has already shown what an unchecked action costs. In April 2026 a coding agent at PocketOS, a small car-rental software company, was working against its staging environment when it decided a volume had to go. It found an API token sitting in an unrelated file, assumed a deletion would stay inside staging, and made one call to the hosting provider. Nine seconds later the production database was gone, and the volume-level backups with it. The company was down for more than 30 hours. Afterwards the agent explained, in a tidy apology, that it had guessed instead of checking.&lt;sup id=&quot;fnref:pocketos&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:pocketos&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;10&lt;/a&gt;&lt;/sup&gt;  Every step it took was a legal API call.&lt;/p&gt;

&lt;p&gt;Two things changed this year. Agents now take legal, destructive actions in seconds. And the contracts that could stop them got cheap to write: the operations specifications described below were written by hand once and generated by a coding agent after that.&lt;sup id=&quot;fnref:fos&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:fos&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;why-code-fell-first&quot;&gt;Why code fell first&lt;/h2&gt;

&lt;p&gt;Models learn fastest where answers are cheap to check,&lt;sup id=&quot;fnref:wei&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:wei&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;12&lt;/a&gt;&lt;/sup&gt;  and code comes with checkers: compilers, type systems, test suites, diffs. A model can attempt a function a million times and be graded each time, which is what reinforcement learning needs. That verifier is weaker than it looks (tests check the specification, which is why &lt;a href=&quot;/blog/ai-slop-coding-productivity/&quot;&gt;verification became the work that’s left&lt;/a&gt;), but it’s cheap and repeatable.&lt;/p&gt;

&lt;p&gt;Production operations has no such grader. An incident is a causal story spread across systems, partially observed, and it can’t be replayed on demand: the load, the timing and the hardware state that produced it are gone by the time anyone writes the post-mortem. Debugging production looks more like computer use than coding. The horizon is long, the screen shows only part of the state, and every action changes the environment being observed. The DIMM incident has all three properties, plus one more that no benchmark captures: how this platform behaves at 66°C wasn’t written down anywhere a model could have learned it.&lt;/p&gt;

&lt;p&gt;The agent on our CI host had time, tools and telemetry, and spent millions of tokens on the wrong layers. It might have got there with more time, more training on hardware failures, or someone telling it to read the BMC. Each of those costs money, and it would still have needed someone to authorise hours of sustained load on a live host. Past some level of novelty, I suspect a principal engineer in the loop is simply the cheaper way to get the answer.  Mathematics shows what that looks like when it works. Erdős problem #397 had stayed open for about thirty years when GPT-5.2 produced a proof. A tool called Aristotle translated it into Lean, where a machine checks every step, and Terence Tao read it and accepted it, calling it low-hanging fruit.&lt;sup id=&quot;fnref:erdos&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:erdos&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;13&lt;/a&gt;&lt;/sup&gt;  In January 2026 his tally of Erdős problems where AI made meaningful progress on its own ran to a handful. The breakthroughs are coming from mathematicians working with models and a proof checker, with the experts still choosing the problems and judging the answers.&lt;/p&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;what-decides-who-flies&quot;&gt;What decides who flies&lt;/h2&gt;

&lt;p&gt;Aviation kept the second pilot, and surgery keeps the surgeon: the furthest an autonomous robot has gone is one phase of a gallbladder removal, on pig tissue outside a body.&lt;sup id=&quot;fnref:srth&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:srth&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;14&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;People already ride in driverless taxis, so why the difference? Criticality is part of it: a cockpit error can kill hundreds. Reversibility is the other part. A car in trouble can pull over and stop, which is a safe state reachable from almost anywhere. An aircraft in flight has no such state, and neither does a database halfway through a failover. The machines that run unsupervised are the ones whose worst decision can be undone, or at least halted.&lt;/p&gt;

&lt;p&gt;That gives two axes for delegation in operations:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Criticality:&lt;/strong&gt; what a wrong action costs (blast radius, data, money, people).&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Reversibility:&lt;/strong&gt; whether there’s a known, tested path back to the state before the action.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Low on the first and high on the second, an agent can act alone today. High on the first and low on the second, a named human signs.&lt;/p&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;making-actions-checkable&quot;&gt;Making actions checkable&lt;/h2&gt;

&lt;p&gt;Diagnosis of a novel failure may stay hard to verify for a long time. Actions are different, because an action can be checked before it runs, provided the system says what a correct action is.&lt;/p&gt;

&lt;p&gt;Most systems don’t say.&lt;sup id=&quot;fnref:fos:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:fos&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt; A Kubernetes operator for PostgreSQL needs to move the primary. Its code picks a replica at random and asks Patroni, the high-availability layer, to fail over to it. Patroni checks that the request names the current primary, that the candidate is a member, that it reports no failover limitation and, in synchronous mode, that it’s a synchronous standby. If those pass, Patroni records the request and returns success, and the operator moves on. A moment later Patroni’s high-availability loop picks the request up and checks one more thing the API never mentioned: in asynchronous mode, how far the candidate lags the primary. Too far, and the request is dropped. Break one of the first four and the API returns an error. Break the fifth and the failover silently never happens, after the operator has been told it succeeded. Conditions like these, the lag bound and the synchronous-standby rule among them, were learned from outages, because none was documented at the time.  Bad interactions with the managed application are the largest single cause of operator failures, at 42%.&lt;sup id=&quot;fnref:fos:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:fos&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;The fix is a &lt;strong&gt;formal operations specification&lt;/strong&gt;: a model of the system’s management state as a state machine, with every management operation written as a precondition and a postcondition, derived from the source code rather than the manual. The name comes from aviation, where an airline’s operations specifications set its approved routes, aircraft and flight rules.&lt;sup id=&quot;fnref:fos:3&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:fos&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt;  Written for four systems:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Coverage:&lt;/strong&gt; 105 management interfaces across CockroachDB, Kafka, RabbitMQ and Solr, with 1,946 assertions.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Bugs:&lt;/strong&gt; 39 new bugs in the most popular Kubernetes operator for each system; for Kafka, Strimzi, 46 interfaces modelled and 5 bugs found.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cost:&lt;/strong&gt; the first specification was written by hand, turned into an agent skill, and Claude Code generated the rest.&lt;sup id=&quot;fnref:fos:4&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:fos&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An AI agent can’t be model-checked like an operator, so the proposal for agents is runtime verification: every action an agent proposes is checked against the specification before it executes.&lt;sup id=&quot;fnref:fos:5&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:fos&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt;  It’s a research proposal today, and it’s the gate VibeOps needs. It also changes who owns correctness. Today a system’s management semantics are discovered from outside, by operators who hit them in production or by independent testers such as Jepsen,&lt;sup id=&quot;fnref:jepsen&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:jepsen&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;15&lt;/a&gt;&lt;/sup&gt; whose work targets consistency claims more than management operations. A specification lets the system ship its own contract, and lets every operator and agent be checked against it.&lt;/p&gt;

&lt;p&gt;A specification says whether an action is legal. It can’t say whether a legal action is wise right now: a valid failover during a payment-processing peak is still a bad idea. A second, cheaper layer can score that. Typed decision models such as TypeSafe’s Jev score a proposed command with structured judgements and probabilities.&lt;sup id=&quot;fnref:jev&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:jev&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt;  Their figures are the vendor’s own and a typed answer can still be wrong, so the score is a risk signal on top of the contract.&lt;/p&gt;

&lt;p&gt;The third check is the one aviation taught: is there a way back? My bet is that operations specifications will grow a reversibility clause, a declared and tested rollback for every operation agents may run, and that this clause will decide which operations agents get first.  Reverting desired state in Git doesn’t undo a failover or bring back deleted data, so an operation counts as reversible only with its own declared, tested way back.&lt;/p&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;the-operational-factory&quot;&gt;The operational factory&lt;/h2&gt;

&lt;p&gt;The three checks, wired together, make the Day 2 counterpart to the &lt;a href=&quot;/blog/platform-engineering-3/&quot;&gt;software factory&lt;/a&gt;: an operational factory, where agents do the volume work and the platform decides what they’re allowed to touch. VibeOps that works looks like this: agents act on intent, and a contract checks every action.&lt;/p&gt;

&lt;p&gt;The gate has a long lineage. Kubernetes admission controllers and policy engines such as OPA Gatekeeper reject bad changes before they land;&lt;sup id=&quot;fnref:admission&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:admission&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;17&lt;/a&gt;&lt;/sup&gt; GitOps made desired state versioned and continuously reconciled;&lt;sup id=&quot;fnref:opengitops&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:opengitops&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;18&lt;/a&gt;&lt;/sup&gt; change-advisory boards made risky changes wait for a named approver; and the definition of toil says which work to automate first.&lt;sup id=&quot;fnref:toil&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:toil&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;19&lt;/a&gt;&lt;/sup&gt; Deciding which agent may call which tool is the &lt;a href=&quot;/blog/identity-for-ai-agents/&quot;&gt;access half&lt;/a&gt; of the same gate. What’s new is the actor being gated, and the contract it’s checked against.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/vibeops/operational-factory.svg&quot; alt=&quot;The operational factory: signals feed ops agents, which propose typed actions; an action gate checks each against the operations specification, a typed risk score and the existence of a rollback path; allowed actions go through GitOps to the managed systems; irreversible or out-of-contract actions and novel failures go to a named human captain; incidents produce new specs and agent-off drills keep the captain practised&quot; /&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Signals:&lt;/strong&gt; logs, metrics, traces, hardware sensors and the baseboard management controller, past incidents and post-mortems, the semantics of the code, and the business context (what’s peak, what’s a payment path).&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Ops agents:&lt;/strong&gt; do first-pass diagnosis and propose actions as typed operations against a specification. They hold no standing credentials, and secrets and provider APIs sit out of their reach, so the gate is their only path to production. The startup’s database was deleted with a token the agent found in a file.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The action gate:&lt;/strong&gt; every proposed action passes the specification check, the risk score and the rollback test. Actions that pass go through a GitOps control plane, so they’re versioned, reconciled and recorded with their declared rollback.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The captain:&lt;/strong&gt; irreversible or out-of-contract actions, and any failure the agents flag as novel or compound, go to a named engineer who owns the decision.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The feedback loops:&lt;/strong&gt; every post-mortem adds a precondition to a specification, and scheduled drills keep the people current.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If an agent misdiagnoses, it can only propose actions the specification allows, and the ones it can take alone can be rolled back. If the specification is wrong, the bad action is recorded with its rollback and the post-mortem fixes the spec. If the agents are down or wrong at scale, the captain flies by hand, which only works if the captain still knows how.&lt;/p&gt;

&lt;p&gt;Gate an action on a human when the expected cost of letting it run unreviewed exceeds the cost of the review:&lt;/p&gt;

\[p \cdot L &amp;gt; t_r \cdot w\]

&lt;p&gt;where \(p\) is the probability the agent’s action is wrong, \(L\) the loss when it is, \(t_r\) the review time and \(w\) the reviewer’s cost. With assumed numbers:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Reviewer:&lt;/strong&gt; a principal engineer at $250,000 a year over 2,000 hours is $125 an hour; a ten-minute review costs about $21.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Failover on a payments database:&lt;/strong&gt; take \(p = 0.05\) and an hour-long outage costing $50,000. Expected loss is $2,500, more than a hundred times the review.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Restarting a stateless pod:&lt;/strong&gt; take the same \(p\) and a $50 loss. Expected loss is $2.50, under the review cost, so the agent acts alone.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The benchmarks suggest \(p\) is well above 5% today (more than a fifth of Incident-Arena’s failures were changes off the permitted list), which pushes more actions behind the gate. Specifications lower \(p\) for routine operations; rollback lowers \(L\). Both move actions out of the captain’s queue, which is how the factory scales without the queue becoming the bottleneck.  The reviewer here is priced at a principal’s rate; across a whole team, our &lt;a href=&quot;/blog/sovereign-streaming-stack-tco/&quot;&gt;model of the people cost of running Kafka yourself&lt;/a&gt; assumes agents under contracts would cut it to a quarter of a platform team’s share, once those contracts exist.&lt;/p&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;who-stays-in-the-cockpit&quot;&gt;Who stays in the cockpit&lt;/h2&gt;

&lt;p&gt;The flight engineer’s job disappeared because a system did it better. The equivalent in operations is toil: triage of known alerts, routine remediation, capacity changes with well-understood preconditions. Those roles will shrink while the expert roles hold.  Cheaper operations may also mean more systems to run: fewer people per system, and more systems.&lt;/p&gt;

&lt;p&gt;The experts stay for two reasons.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Novelty:&lt;/strong&gt; the failures that matter most are the ones nobody has seen, like a memory throttle hiding behind healthy CPU readings. They have no verifier, so they’re where agents are weakest and where an expert’s hunch pays for itself.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Accountability:&lt;/strong&gt; you can’t fire an agent. You can fire a vendor, or the person who approved the agent, but neither holds the pager. Accountability needs a named person who carries the consequence of a decision and has the authority to stop everything, and an agent can do neither.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Keeping them skilled is harder. The toil that agents take over is how today’s senior engineers learned. Automation leaves people the hardest tasks while removing the practice that keeps them sharp.&lt;sup id=&quot;fnref:bainbridge&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:bainbridge&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;20&lt;/a&gt;&lt;/sup&gt; Aviation’s answer is hand-flying, and operations has the equivalents: incident role-play like Google’s Wheel of Misfortune,&lt;sup id=&quot;fnref:wheel&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:wheel&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;21&lt;/a&gt;&lt;/sup&gt; game days on real systems, and scheduled periods with the agents switched off. They’re how the organisation survives an agent outage.&lt;/p&gt;

&lt;p&gt;The SRE job moves up the stack. Fewer pages for known alerts, more time writing the preconditions those alerts taught you, owning the gate, and running the drills. The engineers who wrote the post-mortems become the ones who write the specifications.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;Three parts are unsolved. A specification can say an action is safe; it can’t yet say the system will ever reach the state the operator wants, and checking that liveness is open research.&lt;sup id=&quot;fnref:fos:6&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:fos&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt; Specifications derived from code go stale with every release unless they’re regenerated and validated against real traces each time. And managed services, where many teams’ riskiest operations live, publish no specification at all.&lt;/p&gt;

&lt;p&gt;The design loses if any of these happen:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Agents get good at repair:&lt;/strong&gt; a benchmark of continuous, overlapping production faults with a safety gate, at a pass rate above 90% and no safety failures, would mean the captain’s queue can shrink much further than this design assumes.&lt;sup id=&quot;fnref:marathon:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:marathon&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;9&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Regulators accept one pilot:&lt;/strong&gt; if EASA approves single-pilot cruise in 2030, the aviation analogy points to a thinner human layer.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Specifications don’t help:&lt;/strong&gt; if systems ship operations specifications and agents still cause outages at the same rate, the gate is checking the wrong things, and the failures live in diagnosis or in the business context the spec can’t see.&lt;/li&gt;
&lt;/ul&gt;

&lt;hr /&gt;

&lt;p&gt;What to do on Monday:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Classify your operations&lt;/strong&gt; by criticality and reversibility. Let agents diagnose everywhere, act alone only on reversible, low-blast operations, and require a named human for the rest.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Write specifications&lt;/strong&gt; for the few operations that have hurt you: failover, broker decommission, partition reassignment, node drain. Derive the preconditions from the code. Ask every vendor whose system you run for theirs; almost none publish one today.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Take credentials and secrets out of agents’ reach.&lt;/strong&gt; They propose; the gate applies.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Require a rollback&lt;/strong&gt; before an operation enters the agent’s repertoire.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Budget for drills.&lt;/strong&gt; Put agent-off incident practice on the calendar for the people who stay.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The machines are getting very good at flying in clear weather. Running production still needs someone in the left seat who has landed by hand this month.&lt;/p&gt;

&lt;script defer=&quot;&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js&quot;&gt;&lt;/script&gt;

&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:taskforce&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Report of the President’s Task Force on Aircraft Crew Complement, July 1981. &lt;a href=&quot;https://apps.dtic.mil/sti/pdfs/ADA106889.pdf&quot;&gt;https://apps.dtic.mil/sti/pdfs/ADA106889.pdf&lt;/a&gt;; “Evolution of the 2-Person Crew Jet Transport Flight Deck,” ETHW. &lt;a href=&quot;https://ethw.org/First-Hand%3AEvolution_of_the_2-Person_Crew_Jet_Transport_Flight_Deck&quot;&gt;https://ethw.org/First-Hand%3AEvolution_of_the_2-Person_Crew_Jet_Transport_Flight_Deck&lt;/a&gt; &lt;a href=&quot;#fnref:taskforce&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:easa&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;EASA, “Extended Minimum Crew Operations: Single Pilot Operations safety risk assessment.” &lt;a href=&quot;https://www.easa.europa.eu/research-projects/extended-minimum-crew-operations-single-pilot-operations-safety-risk-assessment&quot;&gt;https://www.easa.europa.eu/research-projects/extended-minimum-crew-operations-single-pilot-operations-safety-risk-assessment&lt;/a&gt;; Aviacionline, “EASA delays decision on reduced-crew operations to 2030.” &lt;a href=&quot;https://aviacionline.com/easa-delays-decision-on-reduced-crew-operations-to-2030&quot;&gt;https://aviacionline.com/easa-delays-decision-on-reduced-crew-operations-to-2030&lt;/a&gt;; ALPA, “European Regulators Prepare for Reduced Crew Operations,” September 2024. &lt;a href=&quot;https://www.alpa.org/Articles/2024/09/European-Regulators-Prepare-for-Reduced-Crew-Operations&quot;&gt;https://www.alpa.org/Articles/2024/09/European-Regulators-Prepare-for-Reduced-Crew-Operations&lt;/a&gt; &lt;a href=&quot;#fnref:easa&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:safo&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;FAA, SAFO 13002, “Manual Flight Operations,” 4 January 2013. &lt;a href=&quot;https://www.faa.gov/sites/faa.gov/files/other_visit/aviation_industry/airline_operators/airline_safety/SAFO13002.pdf&quot;&gt;https://www.faa.gov/sites/faa.gov/files/other_visit/aviation_industry/airline_operators/airline_safety/SAFO13002.pdf&lt;/a&gt; &lt;a href=&quot;#fnref:safo&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:ripperpc&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Kosinkadink, “ripperpc-hardware-notes: memory bandwidth and DIMM thermal throttling.” &lt;a href=&quot;https://github.com/Kosinkadink/ripperpc-hardware-notes/blob/main/docs/02-memory-bandwidth-dimm-thermal-throttling.md&quot;&gt;https://github.com/Kosinkadink/ripperpc-hardware-notes/blob/main/docs/02-memory-bandwidth-dimm-thermal-throttling.md&lt;/a&gt; &lt;a href=&quot;#fnref:ripperpc&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:fabrix&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Fabrix.ai, “Governed VibeOps,” VentureBeat. &lt;a href=&quot;https://venturebeat.com/ai/vibeops-tackles-the-governance-challenge-of-enterprise-vibe-coding&quot;&gt;https://venturebeat.com/ai/vibeops-tackles-the-governance-challenge-of-enterprise-vibe-coding&lt;/a&gt; &lt;a href=&quot;#fnref:fabrix&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:itbench&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Jha et al., “ITBench: Evaluating AI Agents across Diverse Real-World IT Automation Tasks,” ICML 2025. &lt;a href=&quot;https://proceedings.mlr.press/v267/jha25a.html&quot;&gt;https://proceedings.mlr.press/v267/jha25a.html&lt;/a&gt; The arXiv v1 preprint reported 13.8%. &lt;a href=&quot;#fnref:itbench&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:sregym&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Clark et al., “SREGym: A Live Benchmark for AI SRE Agents with High-Fidelity Failure Scenarios,” NeurIPS 2026. &lt;a href=&quot;https://arxiv.org/abs/2605.07161&quot;&gt;https://arxiv.org/abs/2605.07161&lt;/a&gt; &lt;a href=&quot;#fnref:sregym&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:sregym:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:arena&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Fu et al., “Incident-Arena: Getting agents to the last nine of reliability,” 2026. &lt;a href=&quot;https://arxiv.org/abs/2610.00648&quot;&gt;https://arxiv.org/abs/2610.00648&lt;/a&gt; &lt;a href=&quot;#fnref:arena&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:arena:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:marathon&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Tian et al., “SRE-Marathon: A Continuous, Change-Driven Benchmark for Autonomous Site Reliability Agents,” 2026. &lt;a href=&quot;https://arxiv.org/abs/2609.33023&quot;&gt;https://arxiv.org/abs/2609.33023&lt;/a&gt; &lt;a href=&quot;#fnref:marathon&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:marathon:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:pocketos&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Euronews, “An AI agent deleted a company’s entire database in 9 seconds,” 28 April 2026. &lt;a href=&quot;https://www.euronews.com/2026/04/28/an-ai-agent-deleted-a-companys-entire-database-in-9-seconds-then-wrote-an-apology&quot;&gt;https://www.euronews.com/2026/04/28/an-ai-agent-deleted-a-companys-entire-database-in-9-seconds-then-wrote-an-apology&lt;/a&gt;; eWeek, “Claude Wiped a Database in 9 Seconds After ‘Guessing Instead Of Verifying’.” &lt;a href=&quot;https://www.eweek.com/news/claude-ai-database-wipe/&quot;&gt;https://www.eweek.com/news/claude-ai-database-wipe/&lt;/a&gt; &lt;a href=&quot;#fnref:pocketos&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:fos&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Jinlang Wang, Jiawei Tyler Gu, Ruize Tang, Tej Chajed, Tianyin Xu and Xudong Sun, “Formal Operations Specifications for Reliable System Management,” HotNets ‘26. &lt;a href=&quot;https://doi.org/10.1145/3847290.3859962&quot;&gt;https://doi.org/10.1145/3847290.3859962&lt;/a&gt; &lt;a href=&quot;#fnref:fos&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:fos:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:fos:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:fos:3&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;4&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:fos:4&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;5&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:fos:5&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;6&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:fos:6&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;7&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:wei&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Jason Wei, “Asymmetry of verification and verifier’s law.” &lt;a href=&quot;https://www.jasonwei.net/blog/asymmetry-of-verification-and-verifiers-law&quot;&gt;https://www.jasonwei.net/blog/asymmetry-of-verification-and-verifiers-law&lt;/a&gt; &lt;a href=&quot;#fnref:wei&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:erdos&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;eWeek, “GPT-5.2 Just Solved a 30-Year Math Problem.” &lt;a href=&quot;https://www.eweek.com/news/gpt-5-2-just-solved-a-30-year-math-problem/&quot;&gt;https://www.eweek.com/news/gpt-5-2-just-solved-a-30-year-math-problem/&lt;/a&gt;; TechCrunch, “AI models are starting to crack high-level math problems,” 14 January 2026. &lt;a href=&quot;https://www.techcrunch.com/2026/01/14/ai-models-are-starting-to-crack-high-level-math-problems/&quot;&gt;https://www.techcrunch.com/2026/01/14/ai-models-are-starting-to-crack-high-level-math-problems/&lt;/a&gt; &lt;a href=&quot;#fnref:erdos&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:srth&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Johns Hopkins University, “Robot performs first realistic surgery without human help,” 9 July 2025 (Science Robotics). &lt;a href=&quot;https://hub.jhu.edu/2025/07/09/robot-performs-first-realistic-surgery-without-human-help&quot;&gt;https://hub.jhu.edu/2025/07/09/robot-performs-first-realistic-surgery-without-human-help&lt;/a&gt; &lt;a href=&quot;#fnref:srth&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:jepsen&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Jepsen. &lt;a href=&quot;https://jepsen.io/&quot;&gt;https://jepsen.io/&lt;/a&gt; &lt;a href=&quot;#fnref:jepsen&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:jev&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Sanity, “Jev (TypeSafe AI model).” &lt;a href=&quot;https://www.sanity.io/glossary/jev-typesafe-ai-model&quot;&gt;https://www.sanity.io/glossary/jev-typesafe-ai-model&lt;/a&gt; &lt;a href=&quot;#fnref:jev&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:admission&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Kubernetes, “Admission Control in Kubernetes.” &lt;a href=&quot;https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/&quot;&gt;https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/&lt;/a&gt;; OPA Gatekeeper. &lt;a href=&quot;https://open-policy-agent.github.io/gatekeeper/website/docs/&quot;&gt;https://open-policy-agent.github.io/gatekeeper/website/docs/&lt;/a&gt; &lt;a href=&quot;#fnref:admission&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:opengitops&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;OpenGitOps, “GitOps Principles.” &lt;a href=&quot;https://opengitops.dev/&quot;&gt;https://opengitops.dev/&lt;/a&gt; &lt;a href=&quot;#fnref:opengitops&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:toil&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Google, Site Reliability Engineering, “Eliminating Toil.” &lt;a href=&quot;https://sre.google/sre-book/eliminating-toil/&quot;&gt;https://sre.google/sre-book/eliminating-toil/&lt;/a&gt; &lt;a href=&quot;#fnref:toil&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:bainbridge&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Lisanne Bainbridge, “Ironies of Automation,” Automatica 19(6), 1983. &lt;a href=&quot;https://doi.org/10.1016/0005-1098(83)90046-8&quot;&gt;https://doi.org/10.1016/0005-1098(83)90046-8&lt;/a&gt; &lt;a href=&quot;#fnref:bainbridge&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:wheel&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Google, Site Reliability Engineering, “Accelerating SREs to On-Call and Beyond.” &lt;a href=&quot;https://sre.google/sre-book/accelerating-sre-on-call/&quot;&gt;https://sre.google/sre-book/accelerating-sre-on-call/&lt;/a&gt; &lt;a href=&quot;#fnref:wheel&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Wed, 25 Nov 2026 00:00:00 +0000</pubDate>
        <link>https://platformatory.io/blog/vibeops/</link>
        <guid isPermaLink="true">https://platformatory.io/blog/vibeops/</guid>
        
        
        <category>AI</category>
        
        <category>Platform Engineering</category>
        
        <category>Infrastructure</category>
        
      </item>
    
      <item>
        <title>The Case for Self-Hosting Kafka: TCO Against Managed Kafka</title>
        <description>&lt;p&gt;At Current 2026 in San Francisco on 5 November, I gave a lightning talk on running a sovereign streaming cloud yourself, on BYOC or plain Kubernetes.&lt;sup id=&quot;fnref:current&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:current&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;  Its premise was price: on-premises hardware and the long tail of cloud providers are still the cheapest tier per GB/s streamed, by an order of magnitude or more against some hyperscalers. Here is the arithmetic behind that.&lt;/p&gt;

&lt;p&gt;You already run Kafka yourself. Maybe it’s upstream Kafka on VMs, Strimzi on Kubernetes, Cloudera’s streaming stack in your data centre or Confluent Platform under licence. Every renewal cycle, someone proposes moving it to a managed service and getting out of the operations business.&lt;/p&gt;

&lt;p&gt;Run the numbers before you agree. At 2 GB/s of writes with a week of retention, Confluent Cloud’s list prices come to about $870,000 a month for Kafka alone. Nobody at that scale pays list. But to match what the same workload costs you to run on AWS, the discount has to reach 62%, or 73% once you count the PrivateLink charges private access adds to your own AWS bill, and on Azure or Oracle Cloud it has to be about 95%.   The question worth answering is when running your own stack wins, by how much, and when you should stop.&lt;/p&gt;

&lt;p&gt;My answer is that above a modest throughput, with a platform team you already have, self-hosting wins, and it wins harder the more of the stack you count and the stricter your rules about who runs it. The rest of this post is the working, including the cases where it loses.&lt;/p&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;the-bill-is-the-network&quot;&gt;The bill is the network&lt;/h2&gt;

&lt;p&gt;Managed Kafka is priced per gigabyte for a reason. A provider running a three-zone cluster pays for every byte that crosses a zone boundary, for the disks that hold three replicas, and for the people on call, and the per-GB fee recovers all three in one number. Confluent Cloud’s Enterprise clusters list at $0.02 to $0.05 per GB in and out, $0.08 per GB-month of storage and $1.75 to $2.25 per elastic unit-hour.&lt;sup id=&quot;fnref:ccloud&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:ccloud&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;  Amazon MSK prices differently: a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;kafka.m7g.2xlarge&lt;/code&gt; broker is $0.816 an hour, twice an EC2 instance of the same size, storage is $0.10 per GB-month on brokers and $0.06 tiered, and replication between brokers is free.&lt;sup id=&quot;fnref:msk&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:msk&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;Run Kafka yourself and those prices turn back into parts. The part that swings the bill is traffic between zones in one region:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;AWS:&lt;/strong&gt; $0.01 per GB in each direction, so $0.02 for every GB that crosses.&lt;sup id=&quot;fnref:aws-xaz&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:aws-xaz&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Google Cloud:&lt;/strong&gt; $0.01 per GiB between zones in a region.&lt;sup id=&quot;fnref:gcp-net&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:gcp-net&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Azure:&lt;/strong&gt; no charge between availability zones since 2024.&lt;sup id=&quot;fnref:azure-az&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:azure-az&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Oracle Cloud:&lt;/strong&gt; no charge within a region, across availability domains.&lt;sup id=&quot;fnref:oci-net&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:oci-net&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A cluster with three replicas across three zones crosses a zone boundary \(x\) times for every GB a producer writes:&lt;/p&gt;

\[x = (RF - 1) + \tfrac{2}{3} + \tfrac{2}{3}\,F\,(1 - r)\]

&lt;p&gt;Two replicas live in other zones, a producer reaches a leader in another zone two times in three, and each of \(F\) consumer groups does the same unless it fetches from a replica in its own zone (\(r = 1\), fetch-from-follower, KIP-392). With three consumer groups, \(x\) is 4.67 without in-zone fetching, 2.67 with it, and 0.67 when brokers replicate through object storage instead of to each other.&lt;/p&gt;

&lt;p&gt;Take a workload stated the way its owner would state it: 2 GB/s of writes on average, seven days of retention, three-zone availability, three consumer groups. That’s 5,184 TB written a month, about 50 brokers of 8 vCPUs and 32 GiB each.&lt;sup id=&quot;fnref:vm&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:vm&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;8&lt;/a&gt;&lt;/sup&gt;   On AWS, per month at list prices:&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Kafka on AWS, 2 GB/s, 7 days&lt;/th&gt;
      &lt;th&gt;Per month&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Confluent Cloud Enterprise, list, over PrivateLink&lt;/td&gt;
      &lt;td&gt;$969,134&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Confluent Cloud Enterprise, list&lt;/td&gt;
      &lt;td&gt;$872,168&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Self-run, 1 day on broker disks, no fetch-from-follower&lt;/td&gt;
      &lt;td&gt;$584,611&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Self-run, 1 day on broker disks, fetch-from-follower&lt;/td&gt;
      &lt;td&gt;$377,251&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Self-run, 4 hours on broker disks, fetch-from-follower&lt;/td&gt;
      &lt;td&gt;$328,723&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;MSK, 1 day on broker storage, then tiered&lt;/td&gt;
      &lt;td&gt;$240,038&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;MSK, 4 hours on broker storage, then tiered&lt;/td&gt;
      &lt;td&gt;$183,878&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Self-run, diskless&lt;/td&gt;
      &lt;td&gt;$119,693&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Confluent Cloud has no networking line on its own bill, and its price assumes your clients can reach it. At this scale they reach it privately, and the cluster lives in Confluent’s account, so every byte crosses a private boundary that your cloud provider bills you for.&lt;sup id=&quot;fnref:ccloud-net&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:ccloud-net&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;9&lt;/a&gt;&lt;/sup&gt; For the 20.7 PB a month of client traffic here, on AWS:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;PrivateLink:&lt;/strong&gt; hourly endpoint fees plus tiered data processing, about $97,000 a month.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Transit Gateway&lt;/strong&gt;, for Dedicated clusters: $0.02 per GB processed, billed to the sending account, about $104,000 for the produce side alone and up to $415,000 if all of it lands on yours.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Private Network Interface&lt;/strong&gt;, for Enterprise and Freight clusters: no processing charge, but zone-crossing charges wherever clients and brokers aren’t aligned, from nothing to about $276,000 if two-thirds of the traffic crosses a zone.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;VPC peering&lt;/strong&gt;, for Dedicated clusters: no processing charge, and no transitive routing, so it stops scaling at a handful of VPCs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;MSK and a self-run cluster sit in your own VPC, so clients in that VPC or a peered one pay only the zone crossings already in the table. MSK’s multi-VPC connectivity, for clients in other accounts, adds $0.006 per GB, about $124,000.&lt;sup id=&quot;fnref:privatelink&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:privatelink&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;10&lt;/a&gt;&lt;/sup&gt;  Counting PrivateLink, the discount Confluent Cloud needs to match self-run Kafka on AWS goes from 62% to 73%, and to match MSK from 79% to 90%.&lt;/p&gt;

&lt;p&gt;Three levers do almost all the work, and they’re all on your side of the fence:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Fetch from followers.&lt;/strong&gt; Reading in-zone removes $207,360 a month, more than the cluster’s compute fourteen times over. It’s a client setting, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;client.rack&lt;/code&gt;, and a broker setting, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;replica.selector.class&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Tier aggressively.&lt;/strong&gt; Keeping 4 hours on broker disks instead of a day cuts block storage from $62,208 to $10,368, and object storage is a fraction of the price per GB.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Stop paying to replicate.&lt;/strong&gt; On AWS, replication is most of what’s left. MSK waives it, which is why MSK beats a replicated self-run cluster there. A diskless cluster that replicates through S3 removes it too and beats MSK by a third. The price is produce latency: a write is acknowledged only once it’s in object storage, so latency-sensitive topics stay on replicated brokers. Upstream Kafka accepted diskless topics in March 2026 but hasn’t released them; diskless distributions run today.&lt;sup id=&quot;fnref:diskless&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:diskless&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Scale with demand, where the system allows it.&lt;/strong&gt; Replicated brokers don’t scale in quickly, because removing one means moving its partitions, which takes hours at this size. Diskless brokers hold no data, so they scale like compute. If the 2 GB/s is an average over a day that peaks at 4 GB/s, a diskless cluster averages about 50 brokers where a fixed one needs 100, which is $14,717 a month on AWS. That’s small next to the network, because compute is under 5% of the Kafka bill, and the same fact means the sizing of 40 MB/s per broker barely moves any total. Autoscaling pays far more for Flink and ClickHouse.&lt;/p&gt;

&lt;p&gt;The same workload self-run on the other clouds, four hours on broker disks and fetching from followers, is $198,673 on Google Cloud, $45,768 on Azure and $44,422 on Oracle Cloud, against $872,168 for Confluent Cloud before private networking.  Independent arithmetic agrees on what dominates. Stanislav Kozlovski’s model of an optimised, self-hosted 1 GiB/s cluster with seven days of retention, at late-2024 prices on older instance types and gp2 disks, comes to about $180,000 a month on AWS, $93,000 on Google Cloud and $29,000 on Azure, with cross-zone traffic the largest line, and he finds a diskless BYOC service cheaper than self-hosting only on AWS, by about a third.&lt;sup id=&quot;fnref:kozlovski&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kozlovski&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;12&lt;/a&gt;&lt;/sup&gt;  His figures differ from ours in detail. The ranking of clouds and the dominance of the network hold in both.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Off the hyperscalers.&lt;/strong&gt; The long-tail and regional clouds price the network like Azure and Oracle Cloud, with nothing charged for traffic on a private network inside a site, and undercut them on compute. The same workload self-run, four hours on broker disks, infrastructure per month:&lt;sup id=&quot;fnref:longtail&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:longtail&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;13&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;DigitalOcean:&lt;/strong&gt; $49,472.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Akamai Cloud (Linode):&lt;/strong&gt; $51,906.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Hetzner:&lt;/strong&gt; $23,810, with each 8-vCPU broker at €118 a month.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/sovereign-streaming-stack-tco/longtail.svg&quot; alt=&quot;Monthly infrastructure cost of self-run Kafka at 2 GB/s by cloud: AWS $329k, mostly cross-zone traffic; Google Cloud $199k; Azure $46k; Oracle Cloud $44k; DigitalOcean $49k; Akamai $52k; Hetzner $24k. Model estimate at list prices; long-tail regions are single sites.&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Against what you’d otherwise buy on a hyperscaler, Confluent Cloud at list, the crossover falls to 4 or 5 MB/s, and to between 11 and 14 MB/s at half off. There are two catches. These regions are single sites, so the three replicas share one and are spread only across racks; surviving the loss of a site means a second one, and on DigitalOcean a replica in another datacenter costs $0.01 per GiB, about $48,000 a month at 2 GB/s. OVHcloud’s 3-AZ regions are the exception, with no charge between zones.  The other catch is capacity: fifty dedicated servers in one location isn’t a given, and Hetzner listed this size as unavailable in Nuremberg on the day we priced it. Where a long-tail cloud sells managed Kafka, the markup is small. DigitalOcean’s nodes cost about 3% more than the Droplets underneath, and the premium sits in storage, $0.21 per GiB-month on the cluster against $0.10 for a Volume, so self-hosting there buys control of versions, tiering and sizing more than it buys savings.&lt;/p&gt;

&lt;p&gt;Don’t take any of these numbers on trust, ours included. Fetch-from-follower adds read latency, short broker retention sends lagging consumers to object storage, and diskless adds produce latency. Measure each on your own traffic before you commit, by standing the same stack up on each candidate substrate and replaying the real workload. That’s cheap only when provisioning a cluster is an API call and tearing it down is another, which is one more reason to own the platform.&lt;/p&gt;

&lt;h2 id=&quot;your-distribution-already-has-the-levers&quot;&gt;Your distribution already has the levers&lt;/h2&gt;

&lt;p&gt;If you self-host today, most of what cuts the bill is already in the software you run.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Upstream Kafka.&lt;/strong&gt; Tiered storage has been production-ready since 3.9, in November 2024.&lt;sup id=&quot;fnref:kafka39&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kafka39&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;14&lt;/a&gt;&lt;/sup&gt;  Fetch-from-follower has been there since 2.4. Kafka 4.0, released in March 2025, runs only in KRaft mode: ZooKeeper is gone, and a ZooKeeper cluster has to migrate to KRaft, with 3.9 as the bridge, before it can upgrade.&lt;sup id=&quot;fnref:kafka40&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kafka40&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;15&lt;/a&gt;&lt;/sup&gt;  One less distributed system to run is the cheapest operational win Kafka has shipped in a decade.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Strimzi.&lt;/strong&gt; The operator has been a CNCF incubating project since February 2024.&lt;sup id=&quot;fnref:strimzi&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:strimzi&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt;  A platform team that runs anything on Kubernetes can run Kafka with it, and every upstream lever above arrives with the Kafka version it deploys.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cloudera.&lt;/strong&gt; Streams Messaging bundles Kafka with Streams Messaging Manager, Streams Replication Manager, Schema Registry and Cruise Control, and Cloudera Runtime 7.3.2 ships Kafka 3.9.1.&lt;sup id=&quot;fnref:cloudera&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:cloudera&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;17&lt;/a&gt;&lt;/sup&gt;  That puts Cloudera estates exactly at the bridge release: the KRaft migration is coming either way, so plan it as part of deciding where the next five years of the platform run.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Confluent Platform.&lt;/strong&gt; Tiered Storage, Cluster Linking, role-based access control and Self-Balancing Clusters are licensed features of Confluent Server; Schema Registry and REST Proxy are community-licensed.&lt;sup id=&quot;fnref:cp-license&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:cp-license&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;18&lt;/a&gt;&lt;/sup&gt;  Upstream Kafka now covers tiered storage, Cruise Control covers rebalancing, and MirrorMaker 2 covers cross-cluster replication, translating offsets where Cluster Linking preserves them. If you use the licensed features heavily, the licence earns its keep. If you mostly use tiered storage, check what you’re paying for.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The licence.&lt;/strong&gt; This is the one line where upstream Kafka wins outright, because its price is zero. Confluent Platform lists at $12,000 per production node a year on Gold and $15,000 on Platinum, with pre-production and DR nodes at half that. Cloudera listed Base at $10,000 a node a year before capacity and storage terms, and now quotes Streams Messaging on request. Redpanda’s self-managed licence is quote-only, so it isn’t modelled here.&lt;sup id=&quot;fnref:licences&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:licences&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;19&lt;/a&gt;&lt;/sup&gt;  A per-node licence is a tax on node count, and Kafka’s node count follows throughput. For the 2 GB/s workload, fifty brokers and three KRaft controllers, production only:&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Licence, 2 GB/s&lt;/th&gt;
      &lt;th&gt;Per month&lt;/th&gt;
      &lt;th&gt;Added to self-run on AWS&lt;/th&gt;
      &lt;th&gt;Added to self-run on Azure&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Upstream Kafka or Strimzi&lt;/td&gt;
      &lt;td&gt;$0&lt;/td&gt;
      &lt;td&gt;0%&lt;/td&gt;
      &lt;td&gt;0%&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Cloudera Base&lt;/td&gt;
      &lt;td&gt;$44,167&lt;/td&gt;
      &lt;td&gt;13%&lt;/td&gt;
      &lt;td&gt;97%&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Confluent Platform Gold&lt;/td&gt;
      &lt;td&gt;$53,000&lt;/td&gt;
      &lt;td&gt;16%&lt;/td&gt;
      &lt;td&gt;116%&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Confluent Platform Platinum&lt;/td&gt;
      &lt;td&gt;$66,250&lt;/td&gt;
      &lt;td&gt;20%&lt;/td&gt;
      &lt;td&gt;145%&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;On AWS the licence hides behind the network bill. Wherever the network is free, on Azure, Oracle Cloud and the long-tail clouds, a Confluent Platform licence costs more than the brokers, disks and object storage together. If you stay on a licensed distribution, run fewer, bigger brokers: a node can have up to 56 cores, and if throughput scales with cores, 32-vCPU brokers carry the same workload on 16 nodes for $16,000 a month on Gold. If tiered storage is what you mostly use the licence for, upstream Kafka gives it to you for nothing.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/sovereign-streaming-stack-tco/licence.svg&quot; alt=&quot;Monthly cost of self-run Kafka at 2 GB/s with a Confluent Platform licence added. The Gold licence adds 16% on AWS, 27% on Google Cloud, 116% on Azure, 119% on Oracle Cloud, 107% on DigitalOcean, 102% on Akamai and 223% on Hetzner. Model estimate at list prices.&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Every one of these teams already carries the expertise that a move to managed is supposed to save. The question is whether the platform around Kafka makes that expertise cheap to apply.&lt;/p&gt;

&lt;h2 id=&quot;who-runs-it&quot;&gt;Who runs it&lt;/h2&gt;

&lt;p&gt;People are the cost on the other side, and the realistic question is whose people. A company streaming at this scale already has a platform team with broad cloud and Kubernetes skills, and Kafka joins its portfolio as one more workload, on a rotation that already exists. Three people costs follow, and they scale differently:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;An expert tribe.&lt;/strong&gt; Someone has to know Kafka deeply: partitioning, client tuning, the failure modes. Everyone needs that, whether the cluster is managed or not and whether the experts are employed or retained, so it sits on both sides of the comparison and cancels. The model puts it at one engineer.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The platform team’s share.&lt;/strong&gt; Upgrades, patching, certificates, capacity and requests from application teams: a fifth of an engineer per cluster plus a 250th per broker for a typical platform team, scaled by how well it operates, against a twentieth per cluster for a managed service.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;An expertise hedge.&lt;/strong&gt; Retained depth for the major incident a generalist team can’t close alone: a twentieth of an engineer per cluster plus 0.003 per broker, sized below.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All three are assumptions, priced at $130,000 for a fully loaded engineer-year, the average of an onshore engineer at $200,000 and an offshore one at $60,000, and they’re the inputs most worth replacing with your own.  For \(N\) clusters of \(B\) brokers each writing \(T\) MB/s, with an expert tribe of \(E\) engineers, an operating-capability coefficient \(\kappa\) (1 for a typical platform team) and a discount \(d\) off the managed list price:&lt;/p&gt;

\[C_{\text{self}} = N\big(c_{\text{vm}} + c_{\text{disk}} + c_{\text{obj}} + 2592\,T\,x\,p_{z}\big) + \big(E + N\big(\kappa\,(0.2 + 0.004B) + 0.05 + 0.003B\big)\big)\,\frac{L}{12}\]

\[C_{\text{managed}} = (1 - d)\,N\big(c_{\text{units}} + 2592\,T\,(1 + F)\,g + c_{\text{storage}}\big) + (E + 0.05N)\,\frac{L}{12}\]

&lt;p&gt;where 2,592 turns MB/s into GB a month, \(p_z\) is the price per GB crossing a zone, \(g\) the managed price per GB moved and \(L\) a fully loaded engineer-year. Because the tribe sits on both sides, the crossover barely depends on how many clusters you run. The discount decides it.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/sovereign-streaming-stack-tco/crossover.svg&quot; alt=&quot;The throughput per cluster at which running Kafka yourself becomes cheaper than Confluent Cloud, for one cluster at $130,000 an engineer-year. At list: AWS 8 MB/s, Google Cloud 6, Azure 5, Oracle Cloud 4. At 30% off: 18, 12, 9 and 8. At 50% off: 53, 23, 14 and 12. At 70% off against diskless self-run: 41, 32, 26 and 24.&quot; /&gt;
&lt;em&gt;List prices, US regions, November 2026; four hours on broker disks; staffing and broker sizing as assumed above.&lt;/em&gt;&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Crossover, MB/s per cluster&lt;/th&gt;
      &lt;th&gt;AWS&lt;/th&gt;
      &lt;th&gt;Google Cloud&lt;/th&gt;
      &lt;th&gt;Azure&lt;/th&gt;
      &lt;th&gt;Oracle Cloud&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;At list&lt;/td&gt;
      &lt;td&gt;8&lt;/td&gt;
      &lt;td&gt;6&lt;/td&gt;
      &lt;td&gt;5&lt;/td&gt;
      &lt;td&gt;4&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;30% off list&lt;/td&gt;
      &lt;td&gt;18&lt;/td&gt;
      &lt;td&gt;12&lt;/td&gt;
      &lt;td&gt;9&lt;/td&gt;
      &lt;td&gt;8&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;50% off list&lt;/td&gt;
      &lt;td&gt;53&lt;/td&gt;
      &lt;td&gt;23&lt;/td&gt;
      &lt;td&gt;14&lt;/td&gt;
      &lt;td&gt;12&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;70% off list&lt;/td&gt;
      &lt;td&gt;never&lt;/td&gt;
      &lt;td&gt;77&lt;/td&gt;
      &lt;td&gt;27&lt;/td&gt;
      &lt;td&gt;24&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;70% off list, diskless self-run&lt;/td&gt;
      &lt;td&gt;41&lt;/td&gt;
      &lt;td&gt;32&lt;/td&gt;
      &lt;td&gt;26&lt;/td&gt;
      &lt;td&gt;24&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;At list, three-engineer self-run base&lt;/td&gt;
      &lt;td&gt;87&lt;/td&gt;
      &lt;td&gt;69&lt;/td&gt;
      &lt;td&gt;60&lt;/td&gt;
      &lt;td&gt;59&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;50% off list, three-engineer self-run base&lt;/td&gt;
      &lt;td&gt;462&lt;/td&gt;
      &lt;td&gt;204&lt;/td&gt;
      &lt;td&gt;122&lt;/td&gt;
      &lt;td&gt;121&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Over PrivateLink, which is how most private AWS estates will connect, the AWS crossover falls to 6 MB/s at list, 10 at 30% off, 17 at 50% off and 41 at 70% off: even a 70% discount stops protecting a mid-sized cluster.&lt;/p&gt;

&lt;p&gt;At 2 GB/s the people difference is about $6,000 a month, 1.6 engineers against 1.05, against hundreds of thousands in infrastructure.&lt;/p&gt;

&lt;p&gt;One engineer plus a share of a platform team can’t hold an on-call rota of its own, and a head of platform who wants one will staff it with three. The last two rows of the table give self-run that base, two engineers more than the managed side carries, about $21,700 a month. The crossover at list rises to 87 MB/s on AWS and about 60 on the other three clouds, and at half off to 462 on AWS and about 120 on Azure and Oracle Cloud. That’s a real move for mid-sized clusters and none at all for the 2 GB/s workload.  Below a few tens of MB/s per cluster it decides the answer; above that, the discount does, and on Azure and Oracle Cloud even a 70% discount doesn’t close the gap. The figures hold while the estate is one shape of Kafka on one cloud, and while the platform team keeps the people who learned it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How good do you have to be?&lt;/strong&gt; Every comparison of self-hosted and managed Kafka hides an assumption about how well the self-hosting team operates. Here it’s one number, \(\kappa\), the multiplier on the platform team’s share, and the honest way to use it is to push it both ways:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;By hand, \(\kappa = 2\):&lt;/strong&gt; runbooks, tickets and a terminal; every upgrade is a project.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;A typical platform team, \(\kappa = 1\):&lt;/strong&gt; an operator such as Strimzi, GitOps, decent dashboards.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;A self-service platform, \(\kappa = 0.5\):&lt;/strong&gt; provisioning, scaling, upgrades and recovery behind one API with durable workflows, so generalist platform engineers operate Kafka without being Kafka specialists.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Agents under contracts, \(\kappa = 0.25\):&lt;/strong&gt; the same platform with agents doing the routine work through checked operations, as described further down.&lt;/li&gt;
&lt;/ul&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Self-run is cheaper above, MB/s per cluster&lt;/th&gt;
      &lt;th&gt;By hand&lt;/th&gt;
      &lt;th&gt;Platform team&lt;/th&gt;
      &lt;th&gt;Self-service&lt;/th&gt;
      &lt;th&gt;Agents&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Confluent Cloud, list&lt;/td&gt;
      &lt;td&gt;17&lt;/td&gt;
      &lt;td&gt;8&lt;/td&gt;
      &lt;td&gt;3&lt;/td&gt;
      &lt;td&gt;1&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Confluent Cloud, list, over PrivateLink&lt;/td&gt;
      &lt;td&gt;12&lt;/td&gt;
      &lt;td&gt;6&lt;/td&gt;
      &lt;td&gt;2&lt;/td&gt;
      &lt;td&gt;1&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Confluent Cloud, 50% off&lt;/td&gt;
      &lt;td&gt;85&lt;/td&gt;
      &lt;td&gt;53&lt;/td&gt;
      &lt;td&gt;29&lt;/td&gt;
      &lt;td&gt;17&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;MSK Serverless, diskless self-run&lt;/td&gt;
      &lt;td&gt;8&lt;/td&gt;
      &lt;td&gt;5&lt;/td&gt;
      &lt;td&gt;3&lt;/td&gt;
      &lt;td&gt;2&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;MSK Express, diskless self-run&lt;/td&gt;
      &lt;td&gt;60&lt;/td&gt;
      &lt;td&gt;32&lt;/td&gt;
      &lt;td&gt;20&lt;/td&gt;
      &lt;td&gt;12&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;MSK Standard, diskless self-run&lt;/td&gt;
      &lt;td&gt;147&lt;/td&gt;
      &lt;td&gt;61&lt;/td&gt;
      &lt;td&gt;14&lt;/td&gt;
      &lt;td&gt;1&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Engineers for twenty 10-broker clusters&lt;/td&gt;
      &lt;td&gt;12.2&lt;/td&gt;
      &lt;td&gt;7.4&lt;/td&gt;
      &lt;td&gt;5.0&lt;/td&gt;
      &lt;td&gt;3.8&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Even run by hand, self-hosting beats Confluent Cloud’s list price above 17 MB/s per cluster and MSK Serverless above 8. Capability matters most against the cheapest managed option: diskless self-run beats MSK Standard above 147 MB/s per cluster when run by hand, and above 14 with a self-service platform. Replicated self-run on AWS never beats MSK Express at any capability, and beats MSK Standard only for a cluster of a couple of MB/s run by agents, because the replication traffic it pays for and they don’t is infrastructure, and no amount of operational skill removes it. At 2 GB/s the operating model moves the saving against MSK Standard only from 28% to 31%; capability decides where the line sits for mid-sized clusters, and the architecture decides the rest.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The hedge.&lt;/strong&gt; Broad cloud and Kubernetes skill covers the routine. A major incident, such as a lost controller quorum, an unclean leader election or a reassignment that saturates the network, needs someone who has seen it before, reachable within the hour. What that’s worth grows with the cluster:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;What stalls.&lt;/strong&gt; An hour of outage at 2 GB/s is 7.2 TB of writes that producers have to buffer or drop, with every consumer downstream waiting. At 500 MB/s it’s 1.8 TB, at 100 MB/s 0.36 TB.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;What a misstep costs.&lt;/strong&gt; Replacing a broker means copying its data from the replicas. At 40 MB/s of writes per broker and three replicas, a broker holds about 10 TB with a day of local retention, 14 hours of rebuilding at a throttled 200 MB/s. With a week on local disk it’s 73 TB and four days; with four hours, 1.7 TB and under two and a half hours; a diskless broker has nothing to rebuild. A wrong move in a major incident tends to cost at least one rebuild.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Priced as insurance, a hedge costing \(H\) a year pays when an hour of stalled streaming costs the business more than \(H / (\lambda\,\Delta T)\), with \(\lambda\) major incidents a year and \(\Delta T\) the hours the expertise saves. With one incident a year and one rebuild saved, the model’s hedge for the 2 GB/s cluster, $26,000 a year, pays above about $10,800 an hour at four hours of local retention, still a low bar for a cluster moving 7.2 TB an hour. Keep a day on local disk and the rebuild takes 14 hours, so the bar falls to about $1,800 an hour. For a 100 MB/s cluster the hedge is $7,700 a year. Aggressive tiering buys cheaper storage and less risk to insure in the same move.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The lock-in.&lt;/strong&gt; Weigh the hedge against what a managed service costs beyond its price: the leverage it holds at renewal. Leaving means running both for the length of a migration. At list prices for the 2 GB/s workload, three months of parallel running is $2.6 million before any engineering, and that’s roughly how far the price can move against you before leaving pays.  A self-run stack on open-source Kafka has an exit cost too, but nobody across the table gets to set it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Two ways to buy down the people term.&lt;/strong&gt; Both cost money, and both change the model’s inputs.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Retain the expertise.&lt;/strong&gt; A support contract with Kafka specialists who carry the 3 a.m. incident turns the hedge into a fixed fee and moves the operational risk off your team. It makes sense when an outage costs more per hour than the hedge’s break-even, or when the people who know Kafka might leave.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Lower \(\kappa\).&lt;/strong&gt; A self-service platform makes Kafka operable by the platform engineers you already have. It makes sense when the estate is growing faster than the team, or when the same team runs Kafka, Flink and ClickHouse across several substrates.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Most large estates end up with both: a platform that keeps day-to-day operations cheap, and specialists on call for the day it isn’t.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The comparison that applies.&lt;/strong&gt; It depends on what you’d buy instead.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;A multi-cloud managed service, such as Confluent Cloud:&lt;/strong&gt; the cost case above holds in full, and running your own also removes the private-networking layer between applications and the service, with the data in accounts you control.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The hyperscaler’s own Kafka, or BYOC:&lt;/strong&gt; the cost case is narrow. MSK beats replicated self-run on AWS; diskless self-run beats it at large sizes, and the numbers by MSK flavour follow below.  Self-hosting here is a hedge on cost and lock-in more than a saving: it keeps the option to move, and it keeps who operates the system your decision.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Kafka that writes straight into the lakehouse:&lt;/strong&gt; Confluent’s Tableflow materialises topics as Iceberg or Delta tables behind its own catalogue, MSK Express brokers deliver to Amazon S3 Tables since July 2026, and Aiven’s Iceberg Topics does it in Kafka’s tiered-storage path as an experimental Apache-2.0 project.&lt;sup id=&quot;fnref:lakehouse&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:lakehouse&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;20&lt;/a&gt;&lt;/sup&gt;  The tables are open formats; the writer and often the catalogue are the provider’s. The same reasoning applies: a modest cost and lock-in hedge, worth having when the lakehouse is where your data will live for a decade.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;A private deployment, on metal or in a regulated or air-gapped estate:&lt;/strong&gt; the people calculus changes, below.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Against Amazon MSK.&lt;/strong&gt; MSK comes in three shapes, and they price differently. Standard brokers charge per broker-hour plus disk and tiered storage, with replication free. Express brokers charge per broker-hour, $0.01 per GB written and $0.10 per GB-month for storage that scales on its own, and each size has a published sustained throughput. Serverless charges $0.75 per cluster-hour, $0.0015 per partition-hour, $0.10 per GB in, $0.05 per GB out and $0.10 per GB-month, and a cluster tops out at 200 MB/s in and 400 MB/s out.&lt;sup id=&quot;fnref:msk-shapes&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:msk-shapes&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;21&lt;/a&gt;&lt;/sup&gt;  With four hours on broker disks, fetch-from-follower everywhere it applies and the people from the model, for one cluster in US East:&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Self-run beats MSK above, per cluster&lt;/th&gt;
      &lt;th&gt;Replicated self-run&lt;/th&gt;
      &lt;th&gt;Diskless self-run&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;MSK Serverless&lt;/td&gt;
      &lt;td&gt;5 MB/s&lt;/td&gt;
      &lt;td&gt;5 MB/s&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;MSK Express&lt;/td&gt;
      &lt;td&gt;never&lt;/td&gt;
      &lt;td&gt;32 MB/s&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;MSK Standard&lt;/td&gt;
      &lt;td&gt;never&lt;/td&gt;
      &lt;td&gt;61 MB/s&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;At 2 GB/s, per month with people&lt;/th&gt;
      &lt;th&gt;MSK&lt;/th&gt;
      &lt;th&gt;Diskless self-run&lt;/th&gt;
      &lt;th&gt;Saving&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;MSK Serverless, 15 clusters&lt;/td&gt;
      &lt;td&gt;$1,437,424&lt;/td&gt;
      &lt;td&gt;$137,026&lt;/td&gt;
      &lt;td&gt;90%&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;MSK Express&lt;/td&gt;
      &lt;td&gt;$302,662&lt;/td&gt;
      &lt;td&gt;$137,026&lt;/td&gt;
      &lt;td&gt;55%&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;MSK Standard&lt;/td&gt;
      &lt;td&gt;$195,253&lt;/td&gt;
      &lt;td&gt;$137,026&lt;/td&gt;
      &lt;td&gt;30%&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Serverless is a per-GB service with a size cap, so at scale it costs more than Confluent Cloud and has to be sharded across 15 clusters to carry 2 GB/s. Express charges for every gigabyte written and stored without tiering, so a week of retention costs it $121,000 a month in storage alone. Standard MSK is the hard one to beat: replicated self-run never does, and diskless wins by about 30% at 2 GB/s and only above about 61 MB/s per cluster. The model sizes MSK Standard brokers like self-run ones, at 40 MB/s each, since AWS publishes no per-broker figure for them.&lt;/p&gt;

&lt;h2 id=&quot;the-stack-compounds&quot;&gt;The stack compounds&lt;/h2&gt;

&lt;p&gt;Nobody runs only Kafka. A typical estate runs Flink beside it, Kafka Streams applications, which are widely deployed because they ship as a library, and increasingly ClickHouse for analytics on live data. Each has a managed equivalent, and each adds its own premium. The sizes below come from one example estate; yours will differ.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Flink.&lt;/strong&gt; AWS’s managed Flink charges $0.11 per KPU-hour, a KPU being 1 vCPU and 4 GB, plus one extra KPU per application and 50 GB of storage per KPU at $0.10 per GB-month.&lt;sup id=&quot;fnref:msf&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:msf&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;22&lt;/a&gt;&lt;/sup&gt;  An &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;m7i.2xlarge&lt;/code&gt; has the same 4 GB per vCPU at about $0.05 per vCPU-hour. For 200 vCPUs across 20 applications that’s $18,666 a month managed against $7,358 self-run, 2.5 times. Flink is compute-heavy, so scaling with demand pays here: sized for a 2x peak, the self-run figure doubles.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Kafka Streams.&lt;/strong&gt; The application runs on your compute either way, but its repartition and changelog topics run through Kafka. At 200 MB/s of internal-topic writes read once, that’s $36,288 a month of per-GB fees on Confluent Cloud, and on Azure or Oracle Cloud about $1,400 of extra brokers.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;ClickHouse.&lt;/strong&gt; ClickHouse Cloud charges $0.29846 per compute unit-hour (8 GiB and 2 vCPUs) on its Scale tier, $25.30 per TB-month of storage, and $0.04 per GB for ClickPipes to ingest from Kafka.&lt;sup id=&quot;fnref:clickhouse&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:clickhouse&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;23&lt;/a&gt;&lt;/sup&gt;  Two 256 GiB replicas over 50 TB, ingesting 200 MB/s, come to $36,276 a month, $20,736 of it the per-GB ingest fee. Self-run on equivalent VMs, with object storage and half the data on local disk per replica, it’s $9,859, without the people who’d run it; ClickHouse Cloud’s price includes them.&lt;/li&gt;
&lt;/ul&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Stack on AWS, per month&lt;/th&gt;
      &lt;th&gt;Kafka&lt;/th&gt;
      &lt;th&gt;Flink&lt;/th&gt;
      &lt;th&gt;Streams topics&lt;/th&gt;
      &lt;th&gt;ClickHouse&lt;/th&gt;
      &lt;th&gt;Total&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Confluent Cloud, managed Flink, ClickHouse Cloud&lt;/td&gt;
      &lt;td&gt;$872,168&lt;/td&gt;
      &lt;td&gt;$18,666&lt;/td&gt;
      &lt;td&gt;$36,288&lt;/td&gt;
      &lt;td&gt;$36,276&lt;/td&gt;
      &lt;td&gt;$963,398&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;MSK, managed Flink, ClickHouse Cloud&lt;/td&gt;
      &lt;td&gt;$183,878&lt;/td&gt;
      &lt;td&gt;$18,666&lt;/td&gt;
      &lt;td&gt;$9,890&lt;/td&gt;
      &lt;td&gt;$36,276&lt;/td&gt;
      &lt;td&gt;$248,710&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Self-run, replicated Kafka&lt;/td&gt;
      &lt;td&gt;$328,723&lt;/td&gt;
      &lt;td&gt;$7,358&lt;/td&gt;
      &lt;td&gt;$29,120&lt;/td&gt;
      &lt;td&gt;$9,859&lt;/td&gt;
      &lt;td&gt;$375,060&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Self-run, diskless Kafka&lt;/td&gt;
      &lt;td&gt;$119,693&lt;/td&gt;
      &lt;td&gt;$7,358&lt;/td&gt;
      &lt;td&gt;$8,384&lt;/td&gt;
      &lt;td&gt;$9,859&lt;/td&gt;
      &lt;td&gt;$145,294&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;The same self-run stack is $63,613 a month on Azure and $55,922 on Oracle Cloud.  The totals depend on the example’s sizes; the structure doesn’t. Managed services put their fees at every boundary a byte crosses. A gigabyte that goes from a producer through a managed Kafka service into ClickHouse Cloud pays $0.035 in, $0.035 out and $0.04 into ClickPipes, plus about half a cent each way if it travels over PrivateLink, roughly $0.12 end to end. Self-hosted on AWS with fetch-from-follower, the same gigabyte pays $0.053 in zone crossings; on Azure or Oracle Cloud it pays nothing.  Every engine you add to a managed estate adds another toll booth. Every engine you add to your own platform shares the same machines, the same network and the same team.&lt;/p&gt;

&lt;h2 id=&quot;on-metal-and-behind-an-air-gap&quot;&gt;On metal and behind an air-gap&lt;/h2&gt;

&lt;p&gt;The cloud comparison is the generous case for managed services, because there at least the managed option exists. In a bank’s data centre, a telco’s network, a defence enclave or any estate whose rules say who may operate the system, there’s no per-GB service to buy. The realistic alternatives are a commercial distribution under subscription, a vendor’s dedicated deployment or an outsourced operator, each with its own premium and one more third party in every audit. Bare metal removes the line that dominates the cloud tables, since traffic between racks in your own data centre costs nothing per gigabyte, and self-hosting the open-source stack removes the licence. It adds costs the cloud hides: hardware, power, space and cross-connects, a team that racks and replaces machines, procurement lead times, and capacity bought for the peak because nothing scales on demand. On metal, the lever that replaces autoscaling is consolidation: Kafka, Flink and ClickHouse sharing machines and headroom, which works only when one platform schedules all of them. Without per-GB fees or licences, that usually comes out ahead of a subscription; check it against your own hardware prices.&lt;/p&gt;

&lt;p&gt;The people term changes most. There’s no managed service holding the pager and rarely a platform team that already runs systems like this inside the boundary, so the expertise has to be concentrated: a dedicated rotation, in the model six engineers at half time plus a tenth of an engineer per cluster and a hundredth per broker, 3.6 engineers for one 50-broker cluster against 1.6 in the cloud.  Private estates pay that for control, and they should plan for it from day one.&lt;/p&gt;

&lt;p&gt;Vendors answer sovereignty with bring-your-own-cloud: the data plane runs in the customer’s account and the vendor keeps the control plane.&lt;sup id=&quot;fnref:byoc&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:byoc&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;24&lt;/a&gt;&lt;/sup&gt;  That settles where the bytes live. Ownership of operators moves too: Confluent, the largest managed Kafka provider, became part of IBM in March 2026.&lt;sup id=&quot;fnref:ibm&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:ibm&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;25&lt;/a&gt;&lt;/sup&gt;  Sovereignty has three dimensions, and BYOC covers one of them.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Infrastructure:&lt;/strong&gt; where it runs, whether on-premises, BYOC, at the edge or air-gapped.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Operations:&lt;/strong&gt; who provisions, upgrades, recovers and troubleshoots, and from where.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Dependencies:&lt;/strong&gt; what can be replaced, including identity, certificates, licences, container registries, AI models and the agents that act on the system.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/sovereign-streaming-stack-tco/planes.svg&quot; alt=&quot;Three ways to run streaming. Fully managed: the vendor holds both the data plane and the control plane. Bring your own cloud: the data plane sits inside your boundary and the control plane stays with the vendor. Sovereign: both planes sit inside your boundary.&quot; /&gt;&lt;/p&gt;

&lt;p&gt;A stack that’s fully inside the boundary also exposes less. Reaching a managed service privately is a project of its own: on AWS, Confluent Cloud offers PrivateLink, VPC peering, Transit Gateway and a Private Network Interface, and with private networking an on-premises data centre can’t connect to it directly.&lt;sup id=&quot;fnref:ccloud-net:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:ccloud-net&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;9&lt;/a&gt;&lt;/sup&gt;  Each path is an endpoint, a route table and a policy to get right. Behind an air-gap, Kafka, Flink and ClickHouse have no route from the internet, so a remotely exploitable vulnerability needs another way in before it matters, and patches go in on your own schedule. The air-gap moves the risk rather than removing it. The way in becomes the artefacts you mirror, the people with access and the patches you apply later than everyone else, so mirrored artefacts need signatures that are checked and patching needs a cadence. In connected estates the fleet’s connection to its management plane should be outbound-only, and an air-gap removes even that.&lt;/p&gt;

&lt;p&gt;There’s an engineering dividend as well. A multi-tenant service has to optimise for every customer’s workloads at once, behind portable defaults. A platform scoped to one company knows its workloads and constraints, so it can choose the cloud whose zones are free, fetch from followers, tier to the hour and adopt diskless storage. Each of those is worth more than any compute discount, and each is a choice a shared service makes for you.&lt;/p&gt;

&lt;h2 id=&quot;a-mixed-estate-multiplies&quot;&gt;A mixed estate multiplies&lt;/h2&gt;

&lt;p&gt;Most self-hosters don’t have one Kafka. They have two lists. One is what they run: upstream Kafka, a commercial distribution under their own licence, a diskless implementation, an edge broker, with Connect and Flink beside them. The other is where they run it: one or more clouds, their own Kubernetes, VMs in a data centre, edge sites, an air-gapped enclave. Handled pairing by pairing, \(m\) things to run on \(n\) places to run them is \(m \times n\) sets of provisioning, upgrade and recovery procedures, each a runbook, a test and a place to be wrong. Four distributions on five kinds of substrate is 20, and every new substrate adds four more.  This is where self-hosting gets its bad reputation, and it’s an engineering problem with an engineering answer.&lt;/p&gt;

&lt;p&gt;Turn the product into a sum. If the platform speaks to each distribution through one interface and to each substrate through another, it maintains \(m + n\) adapters, nine in the example, and a new substrate adds one.  The two sides never separate completely. An air-gap changes how images and identity reach a cluster, and some distributions upgrade differently from others, so the design rule is to keep the interactions that matter visible and hide the rest.&lt;/p&gt;

&lt;p&gt;The first layer is the request itself. A user asks for an outcome: 2 GB/s, seven days, three zones. The platform translates it into provider vocabulary. On AWS that’s 50 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;m7i.2xlarge&lt;/code&gt; brokers, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gp3&lt;/code&gt; volumes and S3 tiering; on Google Cloud &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;n2-standard-8&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pd-balanced&lt;/code&gt; and Cloud Storage; on Azure &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Standard_D8s_v5&lt;/code&gt; and Premium SSD v2; on Oracle Cloud flexible E5 shapes and balanced block volumes.  Underneath come JVM settings, partition placement across zones, rack awareness for fetch-from-follower, and operator configuration. The same intent produced the per-cloud figures above.&lt;/p&gt;

&lt;p&gt;Kubernetes gives that translation a common place to execute. Operators such as Strimzi supply reconciliation and a portable control surface, but storage classes, load balancers, IAM, DNS, certificates and upgrade mechanics still differ by provider, and air-gapped and edge environments make every difference explicit. A meta-operator above the distribution operators turns desired state into provider-aware custom resources and leaves each distribution’s own operator to reconcile them, so the platform owns the translation and the upstream operators keep owning their systems.&lt;/p&gt;

&lt;h2 id=&quot;operating-the-estate&quot;&gt;Operating the estate&lt;/h2&gt;

&lt;p&gt;Creating a cluster is the easy operation. Scaling, rolling configuration and certificates, upgrading Kafka and its operators, and recovering are where estates spend their people, and each is a long-running, ordered operation that has to survive its own controller failing. A rolling upgrade of the 50-broker cluster above restarts brokers one at a time and waits at each step for leadership to move back and the in-sync replica sets to fill. At an assumed five minutes a broker, that’s more than four hours, and the operation has to survive the controller running it being restarted or rescheduled along the way.  The ZooKeeper-to-KRaft migration every ZooKeeper-based estate faces is exactly this kind of operation, only longer.&lt;/p&gt;

&lt;p&gt;So lifecycle operations run as durable workflows with explicit state: retries, checkpoints after every step, health gates between steps, and pause and resume points, with an audit record of each. Every create, update and delete returns an operation ID, and a durable executor, of the kind Temporal provides, runs it to completion, retrying through failures and restarts and recording every resource it creates. One API contract sits in front of it, and the console, CLI, Terraform provider and MCP server are all clients of that contract, so no interface can do something the others can’t audit.&lt;/p&gt;

&lt;p&gt;The other half of operations is reaching the clusters at all. A management plane needs to read metrics and logs and hand work to clusters that sit behind firewalls and NAT, without opening them to the internet. The pattern that works is one agent per fleet that receives work from the management plane over a private connection and reports back the same way, without ever calling the management API itself, so fleets can sit behind firewalls with nothing open inbound. A WireGuard mesh carries that connection: Tailscale, or a self-hosted Headscale coordinator where coordination must be inside the boundary too, with DERP relays carrying encrypted traffic when peers can’t connect directly. Application traffic to Kafka never uses it.&lt;/p&gt;

&lt;p&gt;Air-gapping is then a question of placement. Connected and BYOC estates use a hosted management plane over the private mesh. Restricted-egress estates add mirrors and policy-controlled egress. A true air-gap moves the management plane inside the boundary along with every dependency it needs: images and a local registry, identity, models, management services. The APIs, operators and workflows stay the same, which means the management plane has to be small enough to run from a single container in a pilot and highly available on a cluster in production.&lt;/p&gt;

&lt;p&gt;That leaves the people term, and agents are where it shrinks. An agent pointed at arbitrary infrastructure does badly today: in IBM’s ITBench, agents on state-of-the-art models resolved 13.8% of site-reliability scenarios.&lt;sup id=&quot;fnref:itbench&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:itbench&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;26&lt;/a&gt;&lt;/sup&gt;  An agent operating one vertical platform works on a much smaller problem. The platform exposes a fixed set of management operations for a known stack, and each operation can carry a contract.&lt;/p&gt;

&lt;p&gt;The contract matters because management semantics are mostly unwritten. Wang and colleagues at HotNets ‘26 propose formal operations specifications: every management interface \(m\) is written as a Hoare triple \(\{P\}\,m\,\{Q\}\), so that if precondition \(P\) holds before the call, \(m\) runs safely and leaves postcondition \(Q\).&lt;sup id=&quot;fnref:fos&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:fos&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;27&lt;/a&gt;&lt;/sup&gt;  Their running example is PostgreSQL failover, which has three preconditions that the operator’s developers found only after failures, none of them in the manual. A field study they cite puts erroneous interactions with the managed system at 42% of operator failures. Checking four Kubernetes operators against such specifications, they found 39 new bugs, five of them in Strimzi, where they modelled 46 interfaces. For agents, they propose checking each proposed action against the specification at run time.&lt;/p&gt;

&lt;p&gt;That check has a natural home in the architecture above. The agent proposes, the contract checks the precondition, the durable executor acts, and the health gate verifies the postcondition, with every step recorded. The agent works through the same API as people, with the desired state, actual state, recent changes and in-flight operations as context, and it acts only through guarded actions.&lt;/p&gt;

&lt;p&gt;The model shows where that’s worth something. Agents that take over most of the platform team’s share are the \(\kappa = 0.25\) column above. The expert tribe and the hedge stay, because the incident nobody has seen before still needs a person who has. Twenty ten-broker clusters then need 3.8 engineers instead of 7.4, against 2 for a managed service, and the crossover at list on AWS falls from 8 MB/s to 1.  That’s a scenario, and the contracts have to exist before it’s real. What vertical, contract-checked operations buy is a team that stays small as the estate grows, with humans on the gate for any operation that doesn’t have a contract yet.&lt;/p&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;when-to-self-host-and-when-not&quot;&gt;When to self-host, and when not&lt;/h2&gt;

&lt;p&gt;Put together, the platform is four layers, each replaceable at its boundary:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;A self-service contract:&lt;/strong&gt; tenancy, policy, a fleet view and agents.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;A durable operations API:&lt;/strong&gt; the meta-operator and provider-aware custom resources.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The real-time stack:&lt;/strong&gt; Kafka in its upstream, commercial, diskless and edge forms, Kafka Connect and Flink, with ClickHouse, Iceberg and Hudi for analytics, under one identity and operations model.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Your substrate:&lt;/strong&gt; your Kubernetes, cloud accounts or data centre, your PKI, identity provider, registry, licences and models.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The strongest case against all of this is what the model leaves out. A managed service carries upgrades, patching, compliance attestations and the outage at 3 a.m.; the model’s platform share and hedge are what replace them. A platform team that’s already stretched, or loses the people who knew Kafka, costs more than the model says, and a team that has never run Kafka pays a learning cost the model prices at zero. Negotiated discounts move every column, which is why the number to take into a renewal is the break-even discount. All of it pushes the crossover up. None of it changes the shape: a people cost that grows slowly with the estate against fees that grow with every byte and every managed boundary it crosses.&lt;/p&gt;

&lt;p&gt;Self-host when:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;You already do.&lt;/strong&gt; Upstream Kafka, Strimzi, Cloudera and Confluent Platform teams have the expertise a migration is supposed to save; spend the effort on the levers and the KRaft migration instead of a move.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Throughput per cluster is above a few tens of MB/s&lt;/strong&gt; against a multi-cloud managed service, unless the discount on the table beats the break-even for your cloud. On Azure and Oracle Cloud it rarely can.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;You run Flink, Kafka Streams or ClickHouse beside Kafka.&lt;/strong&gt; Price the whole stack; the per-GB fees repeat at every managed hop.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;You’re on metal, in a regulated estate or behind an air-gap.&lt;/strong&gt; Self-host with concentrated expertise, and keep the control plane and its dependencies inside the boundary too; BYOC isn’t enough.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;You’re on MSK Serverless or Express beyond a few tens of MB/s.&lt;/strong&gt; Self-hosting wins on cost alone, by half or more at scale.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;You pay for Confluent Platform or Cloudera mostly to get tiered storage.&lt;/strong&gt; Upstream Kafka has it. The licence adds 13 to 20% to a self-run AWS bill and roughly doubles one on Azure, Oracle Cloud or a long-tail cloud.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Your data can live on a regional or long-tail cloud.&lt;/strong&gt; DigitalOcean, Akamai, Hetzner and OVHcloud charge nothing for private traffic within a site and sell brokers for less. Check capacity, and either accept one site or pay to stretch across two.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;You want the exit to stay cheap.&lt;/strong&gt; Against MSK Standard, BYOC or lakehouse-native Kafka, self-hosting is a modest cost hedge and a real lock-in hedge.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Don’t, or not yet, when:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;You have one or two small clusters, no platform team to absorb them, and no rule about who operates the system.&lt;/strong&gt; Buy managed, and on AWS look hard at MSK.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Your workload can’t take the latency the levers add&lt;/strong&gt; and replicated brokers on AWS are your only option: MSK Standard will beat you there.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Nobody on staff or on retainer knows Kafka deeply.&lt;/strong&gt; Fix that first. The expert tribe is the one cost every option shares.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We run self-hosted Kafka and Flink for customers as a managed service, sell Kafka support per production cluster and build &lt;a href=&quot;https://streamtime.ai/&quot;&gt;Streamtime&lt;/a&gt;, a private cloud for streaming, so we have a stake in where the line sits.&lt;/p&gt;

&lt;script defer=&quot;&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js&quot;&gt;&lt;/script&gt;

&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:current&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://current.confluent.io/san-francisco/sessions#session-SESS-185&quot;&gt;Current 2026 San Francisco: Towards a sovereign streaming cloud&lt;/a&gt;, lightning talk, 5 November 2026. &lt;a href=&quot;#fnref:current&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:ccloud&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.confluent.io/confluent-cloud/pricing/&quot;&gt;Confluent Cloud pricing&lt;/a&gt;, list prices, read November 2026; ranges vary by cloud and region. &lt;a href=&quot;#fnref:ccloud&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:msk&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://aws.amazon.com/msk/pricing/&quot;&gt;Amazon MSK pricing&lt;/a&gt;: “You are not charged for data transfer used for replication between brokers”; tiered storage $0.06 per GB-month. Broker price from the AWS price list for US East: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;kafka.m7g.2xlarge&lt;/code&gt; $0.816 per hour. &lt;a href=&quot;#fnref:msk&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:aws-xaz&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;AWS EC2 data transfer pricing; corroborated in &lt;a href=&quot;https://dev.to/devopsdaily/why-your-kafka-bill-is-mostly-network-30a3&quot;&gt;Why your Kafka bill is mostly network&lt;/a&gt;. &lt;a href=&quot;#fnref:aws-xaz&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:gcp-net&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://cloud.google.com/vpc/network-pricing&quot;&gt;Google Cloud: all networking pricing&lt;/a&gt;. &lt;a href=&quot;#fnref:gcp-net&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:azure-az&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.datacenterdynamics.com/en/news/microsoft-removes-egress-fees-for-moving-data-between-availability-zones-in-same-azure-cloud-region/&quot;&gt;Microsoft removes egress fees for moving data between availability zones&lt;/a&gt;, DCD; &lt;a href=&quot;https://azure.microsoft.com/en-us/pricing/details/bandwidth/&quot;&gt;Azure bandwidth pricing&lt;/a&gt;. &lt;a href=&quot;#fnref:azure-az&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:oci-net&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.oracle.com/cloud/networking/virtual-cloud-network/pricing/&quot;&gt;Oracle Cloud Infrastructure: virtual cloud network pricing&lt;/a&gt;. &lt;a href=&quot;#fnref:oci-net&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:vm&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;On-demand list prices, US regions: m7i.2xlarge $0.4032/hour, n2-standard-8 $0.3885, Standard_D8s_v5 $0.384, OCI E5 Flex with 4 OCPUs and 32 GB about $0.24 (&lt;a href=&quot;https://www.oracle.com/cloud/iaas-paas/&quot;&gt;Oracle IaaS prices&lt;/a&gt;, &lt;a href=&quot;https://instances.vantage.sh/aws/ec2/m7i.2xlarge&quot;&gt;Vantage&lt;/a&gt;, &lt;a href=&quot;https://gcloud-compute.com/n2-standard-8.html&quot;&gt;gcloud-compute&lt;/a&gt;). Disks: gp3 $0.08, pd-balanced $0.10, Premium SSD v2 $0.081 and OCI balanced block volumes about $0.0425 per GB-month, with 50% headroom. Brokers at 40 MB/s each follows a common sizing of 5 MiB/s of produce and 15 MiB/s of consume per vCPU (&lt;a href=&quot;https://2minutestreaming.com/tools/apache-kafka-calculator/resources/assumptions/produce-consume-per-vcpu&quot;&gt;AKalculator assumptions&lt;/a&gt;, Stanislav Kozlovski, December 2024), and sits below the 62.5 MB/s of sustained ingress AWS quotes for an 8-vCPU MSK Express broker, which keeps its storage off the broker (&lt;a href=&quot;https://docs.aws.amazon.com/msk/latest/developerguide/limits.html&quot;&gt;Amazon MSK quotas&lt;/a&gt;). Labour is $130,000 per fully loaded engineer-year. &lt;a href=&quot;#fnref:vm&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:ccloud-net&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.confluent.io/cloud/current/networking/overview.html&quot;&gt;Confluent Cloud networking overview&lt;/a&gt;, comparison of peering, PrivateLink, Transit Gateway and Private Network Interface; &lt;a href=&quot;https://docs.confluent.io/cloud/current/billing/dimensions/overview.html&quot;&gt;Confluent Cloud billing dimensions&lt;/a&gt; list no private-networking charge. &lt;a href=&quot;#fnref:ccloud-net&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:ccloud-net:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:privatelink&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://aws.amazon.com/privatelink/pricing/&quot;&gt;AWS PrivateLink pricing&lt;/a&gt;: $0.01 per endpoint per AZ-hour, data processing $0.01 per GB for the first PB, $0.006 for the next 4 PB, $0.004 above; &lt;a href=&quot;https://aws.amazon.com/transit-gateway/pricing/&quot;&gt;AWS Transit Gateway pricing&lt;/a&gt;: $0.05 per attachment-hour and $0.02 per GB processed, billed to the sender; &lt;a href=&quot;https://aws.amazon.com/msk/pricing/&quot;&gt;Amazon MSK pricing&lt;/a&gt;: multi-VPC private connectivity $0.006 per GB processed. &lt;a href=&quot;#fnref:privatelink&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:diskless&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://softwaremill.com/diskless-kafka-object-storage-kip-1150-and-kafkas-future/&quot;&gt;Diskless Kafka: KIP-1150 and Kafka’s future&lt;/a&gt;, SoftwareMill. The model assumes 4 MB objects at $0.005 per 1,000 writes and every consumer read served from object storage at $0.0004 per 1,000 4 MB reads, with no cache hits (&lt;a href=&quot;https://aws.amazon.com/s3/pricing/&quot;&gt;Amazon S3 pricing&lt;/a&gt;). &lt;a href=&quot;#fnref:diskless&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kozlovski&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Stanislav Kozlovski, &lt;a href=&quot;https://bigdata.2minutestreaming.com/p/the-brutal-truth-about-apache-kafka-cost-calculators&quot;&gt;The brutal truth about Apache Kafka cost calculators&lt;/a&gt;, December 2024, November 2024 prices; his calculator is &lt;a href=&quot;https://2minutestreaming.com/apache-kafka-calculator&quot;&gt;AKalculator&lt;/a&gt;. &lt;a href=&quot;#fnref:kozlovski&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:longtail&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.digitalocean.com/products/droplets/details/pricing/&quot;&gt;DigitalOcean pricing docs&lt;/a&gt; for Droplets, Volumes, Spaces, VPC and Managed Kafka; &lt;a href=&quot;https://api.linode.com/v4/linode/types&quot;&gt;Akamai Cloud API&lt;/a&gt; instance, block and object storage prices; &lt;a href=&quot;https://www.hetzner.com/cloud/general-purpose&quot;&gt;Hetzner Cloud&lt;/a&gt; CCX33 and object storage, volumes at €0.0572 per GB-month, converted at $1.15 per euro; &lt;a href=&quot;https://www.ovhcloud.com/asia/about-us/global-infrastructure/multi-az/&quot;&gt;OVHcloud multi-AZ&lt;/a&gt;. &lt;a href=&quot;#fnref:longtail&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kafka39&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://kafka.apache.org/blog/2024/11/06/apache-kafka-3.9.0-release-announcement/&quot;&gt;Apache Kafka 3.9.0 release announcement&lt;/a&gt;, November 2024. &lt;a href=&quot;#fnref:kafka39&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kafka40&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://kafka.apache.org/blog/2025/03/18/apache-kafka-4.0.0-release-announcement/&quot;&gt;Apache Kafka 4.0.0 release announcement&lt;/a&gt;, March 2025; &lt;a href=&quot;https://kafka.apache.org/41/getting-started/upgrade/&quot;&gt;Kafka upgrade notes&lt;/a&gt;. &lt;a href=&quot;#fnref:kafka40&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:strimzi&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.cncf.io/blog/2024/02/08/strimzi-joins-the-cncf-incubator/&quot;&gt;Strimzi joins the CNCF incubator&lt;/a&gt;, CNCF, February 2024. &lt;a href=&quot;#fnref:strimzi&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:cloudera&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.cloudera.com/cdp-private-cloud-base/7.3.3/howto-streaming.html&quot;&gt;Streams Messaging&lt;/a&gt; and &lt;a href=&quot;https://docs.cloudera.com/cdf-datahub/7.3.2/release-notes/topics/cdf-datahub-whats-new-streams-messaging.html&quot;&gt;What’s new in Streams Messaging, 7.3.2&lt;/a&gt;, Cloudera documentation. &lt;a href=&quot;#fnref:cloudera&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:cp-license&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.confluent.io/platform/current/installation/license.html&quot;&gt;Manage Confluent Platform licenses&lt;/a&gt;, Confluent documentation. &lt;a href=&quot;#fnref:cp-license&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:licences&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Confluent price list on the UK &lt;a href=&quot;https://assets.applytosupply.digitalmarketplace.service.gov.uk/g-cloud-15/documents/584424/568514552357476-pricing-document-2026-01-29-1502.pdf&quot;&gt;G-Cloud 15 framework&lt;/a&gt;, January 2026: Confluent Platform standard node, Gold $12,000 and Platinum $15,000 per year in production, a node being up to 56 cores, 24 drives, 50 TB and 256 GB of RAM; Cloudera’s &lt;a href=&quot;https://web.archive.org/web/20240527222511/https://www.cloudera.com/products/pricing.html&quot;&gt;pricing page, May 2024&lt;/a&gt;: Cloudera Base at $10,000 per node plus $100 per CCU and $25 to $100 per TB; &lt;a href=&quot;https://docs.redpanda.com/current/get-started/licensing/&quot;&gt;Redpanda licensing&lt;/a&gt;. List prices; negotiated prices differ. &lt;a href=&quot;#fnref:licences&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:lakehouse&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://confluent.io/blog/tableflow-is-now-generally-available&quot;&gt;Tableflow is generally available&lt;/a&gt;, Confluent; &lt;a href=&quot;https://aws.amazon.com/about-aws/whats-new/2026/07/aws-msk-streaming-tables-for-apache-iceberg&quot;&gt;Amazon MSK Express brokers deliver data to streaming tables for Apache Iceberg&lt;/a&gt;, AWS, July 2026; &lt;a href=&quot;https://aiven.io/blog/iceberg-topics-for-apache-kafka-zero-etl-zero-copy&quot;&gt;Iceberg Topics for Apache Kafka&lt;/a&gt;, Aiven. &lt;a href=&quot;#fnref:lakehouse&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:msk-shapes&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://aws.amazon.com/msk/pricing/&quot;&gt;Amazon MSK pricing&lt;/a&gt; and the AWS price list for US East, November 2026: Standard &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;kafka.m7g.2xlarge&lt;/code&gt; $0.816 per hour, broker storage $0.10 and tiered $0.06 per GB-month, tiered retrieval $0.0015 per GB; Express &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;express.m8g.large&lt;/code&gt; $0.3468 per hour, scaling linearly by size, $0.01 per GB written, $0.10 per GB-month; Serverless as stated. Throughput from &lt;a href=&quot;https://docs.aws.amazon.com/msk/latest/developerguide/limits.html&quot;&gt;Amazon MSK quotas&lt;/a&gt;: Express sustained 15.6 MB/s in and 31.2 MB/s out per &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;large&lt;/code&gt;, Serverless 200 MB/s in and 400 MB/s out per cluster. The model assumes fetch-from-follower on Express, partitions at 2.5 MB/s for Serverless and 5% of reads from tiered storage. &lt;a href=&quot;#fnref:msk-shapes&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:msf&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://aws.amazon.com/managed-service-apache-flink/pricing/&quot;&gt;Amazon Managed Service for Apache Flink pricing&lt;/a&gt;, US East. &lt;a href=&quot;#fnref:msf&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:clickhouse&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://clickhouse.com/pricing&quot;&gt;ClickHouse Cloud pricing&lt;/a&gt;, Scale tier, AWS US East; ClickPipes also charges $0.20 per compute unit-hour. &lt;a href=&quot;#fnref:clickhouse&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:byoc&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;For example &lt;a href=&quot;https://redpanda.com/blog/data-sovereignty-fully-managed-cloud-byoc&quot;&gt;Redpanda on BYOC and sovereignty&lt;/a&gt; and &lt;a href=&quot;https://streamnative.io/cloud/byoc&quot;&gt;StreamNative BYOC&lt;/a&gt;. &lt;a href=&quot;#fnref:byoc&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:ibm&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.kai-waehner.de/landscapes/data-streaming-landscape-q3-2026/&quot;&gt;Data streaming landscape Q3 2026&lt;/a&gt;, Kai Waehner; Confluent describes itself as “an IBM company” in its &lt;a href=&quot;https://newsroom.ibm.com/2026-11-04-confluent-introduces-its-streamhouse-architecture-to-power-ai-with-real-time-business-context&quot;&gt;Streamhouse announcement&lt;/a&gt;. &lt;a href=&quot;#fnref:ibm&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:itbench&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Jha et al., &lt;a href=&quot;https://arxiv.org/abs/2502.05352&quot;&gt;ITBench: Evaluating AI agents across diverse real-world IT automation tasks&lt;/a&gt;, ICML 2025. &lt;a href=&quot;#fnref:itbench&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:fos&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Jinlang Wang, Jiawei Tyler Gu, Ruize Tang, Tej Chajed, Tianyin Xu and Xudong Sun, &lt;a href=&quot;https://djapg7v42ea9q.cloudfront.net/pdf/hotnets26-final281.pdf&quot;&gt;Formal operations specifications for reliable system management&lt;/a&gt;, HotNets ‘26, &lt;a href=&quot;https://doi.org/10.1145/3847290.3859962&quot;&gt;doi:10.1145/3847290.3859962&lt;/a&gt;. &lt;a href=&quot;#fnref:fos&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Tue, 24 Nov 2026 00:00:00 +0000</pubDate>
        <link>https://platformatory.io/blog/sovereign-streaming-stack-tco/</link>
        <guid isPermaLink="true">https://platformatory.io/blog/sovereign-streaming-stack-tco/</guid>
        
        
        <category>Kafka</category>
        
        <category>Kafka Operations</category>
        
        <category>Cost</category>
        
        <category>Kubernetes</category>
        
      </item>
    
      <item>
        <title>Kafka at the Edge: Trading Consensus for Compatibility</title>
        <description>&lt;p&gt;At Current 2026 in San Francisco on 5 November, my colleague Avinash Upadhyaya took Apache Kafka to the edge in a Meet-Up Hub session: a single-node broker built for unreliable networks, MQTT and HTTP beside it, and local processing to “stream, buffer, aggregate, and forward”.&lt;sup id=&quot;fnref:current&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:current&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;The defining property of an edge site is that its uplink fails. A plant on a leased line, a store on consumer broadband, a vehicle on cellular, a vessel on satellite: each loses its connection upstream for minutes, hours or days, and none can promise when it comes back. Everything else about edge streaming follows from that. Every edge architecture is also a decision about the compute continuum, about what runs on the device, on a gateway at the site, and in the cloud. The usual answer puts Kafka at the cloud end and something lighter, usually an MQTT broker and a bridge, everywhere else. We’ve built a different answer: Leafcuttr runs the Kafka protocol at the edge on a single node, speaks MQTT and HTTP beside it, and forwards upstream when the link is up.  It gives up the consensus and the parallelism that make Kafka a distributed system and keeps everything that makes it an ecosystem.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;More than 80% of the Fortune 100 use Apache Kafka, by the project’s own count, and its industry snapshot lists all ten of the ten largest companies in manufacturing, and in energy and utilities, among its users, with eight of ten in transportation and in telecoms.&lt;sup id=&quot;fnref:kafka-home&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kafka-home&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;  Those are the industries with the most sensors, plants, vehicles and networks. Nobody publishes a count of companies running Kafka for IoT specifically, so the honest version of the claim is narrower: in the industries that generate the most edge data, the platform that data is headed for already speaks Kafka.&lt;/p&gt;

&lt;p&gt;The IoT stack agrees. ThingsBoard, an open-source IoT platform, lists Kafka as the queue for its incoming telemetry, and TBMQ, an MQTT broker, uses Kafka as the storage layer for its sessions and messages.&lt;sup id=&quot;fnref:powered-by&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:powered-by&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;  Even systems built around MQTT land their data on Kafka, because that’s where the consumers are: stream processors, connectors to warehouses and lakes, schema registries, security tooling, and the people who know how to run them. Every hop that speaks another protocol needs a bridge, and every bridge rebuilds a slice of that ecosystem.&lt;/p&gt;

&lt;p&gt;Two things make that pull stronger now. The lake has become an extension of the stream: Confluent’s Tableflow materialises Kafka topics as Iceberg or Delta Lake tables, and Redpanda can store a topic’s data as an Iceberg table directly.&lt;sup id=&quot;fnref:iceberg&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:iceberg&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt;  A record that leaves the site in the Kafka protocol reaches the lakehouse with one schema and one lineage, and a record that leaves in another protocol is translated at least once on the way. The second is an assumption we design to, and haven’t surveyed: a site gateway, or a spare slice of an industrial PC, now has room for a JVM broker. Our working budget is half a vCPU and 1 GiB of memory.&lt;/p&gt;

&lt;h2 id=&quot;when-the-uplink-is-what-fails&quot;&gt;When the uplink is what fails&lt;/h2&gt;

&lt;p&gt;A site that can’t reach upstream has to hold what it produces until it can. A log is the natural shape for that. Producers keep writing locally at their own pace, and forwarding upstream is one more consumer reading from an offset. When the link drops, the consumer stops. When the link returns, it resumes from its last committed offset, so catching up is a replay of the log with no recovery procedure, and nothing about the producers changes.&lt;/p&gt;

&lt;p&gt;The arithmetic of an outage is simple. A site producing at rate \(r\) through an outage of length \(t_{\text{out}}\) needs local storage for \(r \times t_{\text{out}}\), and with uplink bandwidth \(B\) it catches up in&lt;/p&gt;

\[t_{\text{catch}} = \frac{r \, t_{\text{out}}}{B - r}\]

&lt;p&gt;because new data keeps arriving while the backlog drains.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Backlog&lt;/strong&gt; at 1 MB/s through an eight-hour outage: 28.8 GB of local disk.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Catch-up&lt;/strong&gt; over a 5 MB/s uplink: 28.8 GB drained at 4 MB/s net, about two hours.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The limit:&lt;/strong&gt; as \(r\) approaches \(B\), catch-up time grows without bound, so a site that can’t send less than it produces never catches up.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last line is why the edge also needs to reduce data before it leaves, which we come back to below. Upstream, the destination is a cloud streaming service that speaks the same protocol. Leafcuttr forwards with an in-process MirrorMaker 2 instance, so the upstream side needs nothing Leafcuttr-specific. Forwarding is marked work in progress in the current release, v0.5.3.&lt;sup id=&quot;fnref:forwarding&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:forwarding&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;The obvious objection is that the producer could hold the backlog itself. Stock Kafka clients don’t. The Java producer buffers in memory, 32 MB by default, and fails a record that isn’t delivered within &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;delivery.timeout.ms&lt;/code&gt;, two minutes by default. librdkafka’s queue tops out at 100,000 messages or 1 GB and times a message out after five minutes.&lt;sup id=&quot;fnref:producer-buffers&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:producer-buffers&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;  Agents that spill to disk do exist: the OpenTelemetry Collector can put its sending queue in a write-ahead log on disk, and Fluent Bit can buffer in the filesystem.&lt;sup id=&quot;fnref:spill&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:spill&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt;  For one application with no local readers, whose data only has to get upstream, a producer that spills to disk is simpler than a log beside it, until there’s a second producer:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Every client changes.&lt;/strong&gt; A spilling Kafka producer is a fork of each client you run (Java, librdkafka and the many clients built on it, Go, Rust), each with its own disk format, fsync policy, retry logic and metrics.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The buffer is write-only.&lt;/strong&gt; Nothing at the site can read a spill file until it drains, and the edge has local readers: detection, control loops, and the filtering that shrinks the backlog before it crosses the uplink.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Some devices have no disk.&lt;/strong&gt; Sensors and controllers that speak MQTT can’t spill, so something at the site holds their data anyway.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Replays duplicate.&lt;/strong&gt; The broker deduplicates retries by a producer ID it assigns and a per-message sequence number.&lt;sup id=&quot;fnref:design&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:design&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;8&lt;/a&gt;&lt;/sup&gt;  A producer that restarts and replays its spill gets a new producer ID, so the broker can’t recognise the replay. A forwarder re-sends at most what it sent since its last offset commit.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The fsync stays.&lt;/strong&gt; A spill buffer that survives a power cut pays the same synchronous write as the log, in every application.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A sidecar log is that producer-side buffer moved out of the process and behind the protocol, so every client gets it without changing.&lt;/p&gt;

&lt;h2 id=&quot;what-sits-in-the-replication-path&quot;&gt;What sits in the replication path&lt;/h2&gt;

&lt;p&gt;A Kafka cluster earns its complexity with two properties: availability through replication and consensus, and throughput through parallelism across many partitions and brokers. Both run through machinery that’s always on the write path in a cluster.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Consensus.&lt;/strong&gt; A KRaft controller quorum holds the cluster’s metadata, tracks broker liveness through heartbeats, elects partition leaders and records every change to a partition’s in-sync replica set.&lt;sup id=&quot;fnref:design:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:design&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;8&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The ISR.&lt;/strong&gt; Each partition leader tracks which followers are in sync. A follower that hasn’t caught up to the leader’s log end within &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;replica.lag.time.max.ms&lt;/code&gt; (30 seconds by default) is removed from the set.&lt;sup id=&quot;fnref:broker-config&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:broker-config&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;9&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Follower fetch.&lt;/strong&gt; Followers pull from the leader continuously, and a message counts as committed only once every in-sync replica has it and the set is at least &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;min.insync.replicas&lt;/code&gt; large.&lt;sup id=&quot;fnref:design:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:design&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;8&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Purgatory.&lt;/strong&gt; A produce request with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;acks=all&lt;/code&gt; can’t be answered when the leader appends it, so it’s parked in the request purgatory until the in-sync replicas have fetched it or it times out.&lt;sup id=&quot;fnref:purgatory&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:purgatory&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;10&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of that involves &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fsync&lt;/code&gt;. Kafka writes to the filesystem “without necessarily flushing to disk”, leaving data in the page cache, and its designers rejected an fsync on every write because it “can reduce performance by two to three orders of magnitude”.&lt;sup id=&quot;fnref:design:3&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:design&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;8&lt;/a&gt;&lt;/sup&gt;  The broker’s &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;log.flush.interval.messages&lt;/code&gt; defaults to 2&lt;sup&gt;63&lt;/sup&gt;−1, so in practice the kernel decides when data reaches the disk.&lt;sup id=&quot;fnref:broker-config:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:broker-config&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;9&lt;/a&gt;&lt;/sup&gt;  Kafka’s durability comes from copies on other machines.&lt;/p&gt;

&lt;p&gt;On one node that machinery protects nothing. A single Apache Kafka broker with a replication factor of one skips the waiting, since its in-sync set is just the leader, but it still runs the controller and the replication code, and it still acknowledges from the page cache, so a power cut loses whatever the kernel hadn’t written.  Leafcuttr’s isolated mode runs “an optimised code path with replication disabled”, which takes ISR tracking, follower fetch and the produce purgatory off the write path altogether.&lt;sup id=&quot;fnref:isolated&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:isolated&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt;  Topic sync then puts the guarantee back where a single node can keep it. Log segments are opened with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;O_DSYNC&lt;/code&gt;, so data is “committed to the physical medium before the producer is acknowledged”; index files still flush on the usual schedule.&lt;sup id=&quot;fnref:topic-sync&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:topic-sync&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;12&lt;/a&gt;&lt;/sup&gt;  The acknowledgement waits on the local disk, the one dependency an edge site can count on.&lt;/p&gt;

&lt;p&gt;That disk is often the weakest part of edge hardware. A synchronous write to an SD card or eMMC takes far longer than one to a datacentre SSD, and every one wears the flash. Topic sync is set per topic, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lc.log.sync.always&lt;/code&gt;, so it belongs on the topics whose loss matters: commands, alarms and events of record. High-rate telemetry that can lose a few seconds in a power cut stays on the page cache and batches.  Synced topics need storage rated for their write load, which on most sites means industrial-grade flash.&lt;/p&gt;

&lt;p&gt;The simplest version of this design needs no new software: one Apache Kafka broker, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;flush.messages=1&lt;/code&gt; on the topics that matter, and MirrorMaker 2 to forward.&lt;sup id=&quot;fnref:topic-config&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:topic-config&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;13&lt;/a&gt;&lt;/sup&gt;  For a site with hardware to spare and only Kafka clients, that’s good enough. It still costs the controller beside the broker, a second JVM for the schema registry, a separate MQTT broker for the devices that can’t speak Kafka, and a write path built to be replicated, now made to fsync every message. Leafcuttr’s answer is to combine the pieces: the broker, the schema registry and the protocol listeners in one process, so a site runs fewer of them, with replication disabled and topic sync on the topics that need it.&lt;/p&gt;

&lt;p&gt;We measured that difference on a deliberately small allocation: half a vCPU and 1 GiB of memory on a 2-vCPU host. Apache Kafka 4.0.0 and a separate schema registry shared that budget, 400 and 100 millicores and 512 MiB each, while Leafcuttr runs the broker and the registry in one process and had all of it, so part of the difference comes from running one JVM where Kafka needed two, which is the point of combining them. In the fsync runs Kafka synced every message with the topic setting &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;flush.messages=1&lt;/code&gt;, and Leafcuttr used topic sync. One producer wrote 10 KB records to 12 partitions, evolving its schema as it went, three runs per case:&lt;sup id=&quot;fnref:lc-bench&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:lc-bench&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;14&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;fsync on, stock producer:&lt;/strong&gt; 3.55 MB/s for Leafcuttr against 1.96 for Kafka, with average latency of 5.5 seconds against 8.9.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;fsync on, tuned producer&lt;/strong&gt; (200 KB batches, 100 ms linger, LZ4): 32.53 MB/s against 23.21, with a p99 of 1.77 seconds against 2.47.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;tmpfs, stock producer:&lt;/strong&gt; 87.64 MB/s against 72.1, with a p99 of 411 ms against 753.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are throughput runs, so the multi-second averages in the first row are mostly time records spent queued in the producer’s 32 MB buffer while the disk kept up.  The runs cover the write path only. They don’t include an outage and its catch-up, forwarding, data lost in a power cut, or MQTT ingest.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/kafka-at-the-edge/replication-path.svg&quot; alt=&quot;Two write paths. In a replicated cluster, a produce request with acks=all is appended by the leader, held in purgatory while followers fetch it, and acknowledged once the high watermark passes it, with the controller quorum managing leadership and the in-sync set; nothing is flushed to disk. On a single Leafcuttr node in isolated mode with topic sync, the write goes to the log with O_DSYNC and is acknowledged once it&apos;s on disk.&quot; /&gt;&lt;/p&gt;

&lt;p&gt;A producer could get some availability back without consensus by sending each write to two or more edge brokers and treating the first acknowledgement as success. That’s leaderless replication with a write quorum of one, and it keeps writes flowing while one broker is down. Leaderless Kafka &lt;a href=&quot;/blog/a-leaderless-future-kafka-streaming/&quot;&gt;works in the cloud&lt;/a&gt; because its brokers share an object store that holds the durable copy. An edge site has no shared store behind its brokers, so a hedged write gives up durability: at the acknowledgement one copy exists, and a broker that fails before the others receive the record takes it with it. It also gives up the single log. Each broker assigns its own offsets, writes from several producers interleave differently on each, and partial failures leave the brokers holding different records, which every consumer pays for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Failing over&lt;/strong&gt; to another copy needs offset translation or a seek by timestamp, with duplicates or a gap at the switch, because committed offsets mean nothing on the other broker.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Reading every copy&lt;/strong&gt; needs a producer ID and sequence on each record and dedup state in each consumer, kept for as long as the worst outage. Per-producer order can be rebuilt from the sequences; order across producers isn’t defined anywhere.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Upstream&lt;/strong&gt; receives each record once per copy, so the cloud deduplicates too.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That’s workable for telemetry keyed by device and timestamp, where per-device order is all that matters and every write is an upsert. Journals are another matter, since there the order is the record. Stock Apache Flink, Connect and Kafka Streams jobs don’t deduplicate across independent logs either, so a swapped-out producer brings swapped-out consumers with it. A site that has to survive a broker failure is better served by two or three brokers replicating over the site’s LAN, where the network is reliable and consensus is cheap. Consensus belongs inside the site, and the uplink is where it stops paying.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;Speaking the Kafka protocol at the edge is worth the trade only if the rest of the ecosystem comes with it, starting with the contracts and the processing.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Schemas.&lt;/strong&gt; Leafcuttr embeds a schema registry compatible with the Confluent Schema Registry API, stored in a Kafka topic, so producers at the site register and validate schemas offline with the same serializers they’d use against the cloud.&lt;sup id=&quot;fnref:schema-registry&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:schema-registry&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;15&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Processing.&lt;/strong&gt; Leafcuttr v1.0, the next major release, will add filters, joins and functional operators over local topics, so a site can drop noise, enrich readings with local reference data and aggregate before anything crosses the uplink.&lt;sup id=&quot;fnref:features&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:features&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt;  On a flaky or metered link, every byte filtered locally is a byte that never sits in the backlog.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Other protocols.&lt;/strong&gt; MQTT 3 and 5 and HTTP are accepted in the same process, with MQTT topics mapped to Kafka topics, so devices that can’t speak Kafka still land in a Kafka log without a separate broker or bridge.&lt;sup id=&quot;fnref:mqtt-proxy&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:mqtt-proxy&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;17&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;hr /&gt;

&lt;p&gt;The alternative to a log at the edge is the familiar stack: an MQTT broker at the site, a bridge that consumes from it and produces to Kafka, and Kafka somewhere upstream. MQTT is good at what it does, and devices that can only speak it should keep speaking it. The extra layers still cost something.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Compute.&lt;/strong&gt; In an independent benchmark of eight brokers on edge-sized machines, Mosquitto used 284 to 620 MB under load, HiveMQ 487 MB to 1.7 GB and EMQX 650 MB to 3.7 GB.&lt;sup id=&quot;fnref:iot-bench&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:iot-bench&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;18&lt;/a&gt;&lt;/sup&gt;  A Kafka Connect worker’s start-up script gives it a heap of up to 2 GB by default.&lt;sup id=&quot;fnref:connect-heap&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:connect-heap&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;19&lt;/a&gt;&lt;/sup&gt;  Mosquitto’s measured memory plus the bridge’s default heap ceiling comes to roughly 2.3 to 2.6 GB across two runtimes. Leafcuttr ran in our benchmark with 1 GiB.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Durability.&lt;/strong&gt; An MQTT QoS 1 acknowledgement means the broker has the message, which may still be only in memory. Mosquitto’s persistence is off by default, and when it’s on it saves every 1,800 seconds by default.&lt;sup id=&quot;fnref:mosquitto&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:mosquitto&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;20&lt;/a&gt;&lt;/sup&gt;  If the bridge stops consuming while upstream is down, the backlog queues in the broker, and a crash between saves loses up to \(r \times t_{\text{save}}\), 1.8 GB at 1 MB/s.  EMQX 5.x’s own Kafka integration can buffer on disk, which survives a node restart; in memory mode the buffer is lost on a restart.&lt;sup id=&quot;fnref:emqx&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:emqx&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;21&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Latency.&lt;/strong&gt; The broker hop is fast, with median latency of 0.21 to 0.76 ms for 1 KB messages.&lt;sup id=&quot;fnref:iot-bench:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:iot-bench&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;18&lt;/a&gt;&lt;/sup&gt;  The bridge then batches like any producer, and since Kafka 4.0 a producer waits up to 5 ms by default to fill a batch.&lt;sup id=&quot;fnref:linger&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:linger&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;22&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Tuning narrows the gap. Mosquitto with persistence on and a short autosave interval shrinks the window of loss,&lt;sup id=&quot;fnref:mosquitto:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:mosquitto&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;20&lt;/a&gt;&lt;/sup&gt; and a broker with its own Kafka integration, such as EMQX, replaces the Connect worker and most of its memory, with a disk buffer when it’s configured.&lt;sup id=&quot;fnref:emqx:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:emqx&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;21&lt;/a&gt;&lt;/sup&gt;   What tuning doesn’t remove is the second protocol hop, a second store to size and watch, and the gap at the site itself: no Kafka clients, no schema registry and no local consumer reading the backlog in the protocol the cloud speaks.&lt;/p&gt;

&lt;p&gt;The durability line matters most for the main problem. During an outage, the bridged path holds the backlog in a broker and a bridge buffer, and each persists only if someone configured it to.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/kafka-at-the-edge/two-paths.svg&quot; alt=&quot;Two paths from a device to cloud streaming. The bridged path runs through an MQTT broker, a bridge and Kafka: three processes, two translations, an in-memory acknowledgement by default, and batching delay at the bridge. The edge-log path writes once to a Kafka-protocol log on the same host or gateway: one process, no translation, an acknowledgement after a synchronous disk write, and asynchronous forwarding upstream when the link is up.&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Store-and-forward at the edge is an old idea, and the closest design to this one comes from NATS. A NATS leaf node is a NATS server at the site that dials out to a hub and bridges subject interest across the link. It can run its own JetStream store in a separate domain, so the site’s streams stay apart from the hub’s, with streams mirrored or sourced between the two.&lt;sup id=&quot;fnref:nats&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:nats&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;23&lt;/a&gt;&lt;/sup&gt;  It’s a mature design, and where the cloud side isn’t Kafka, it’s the better choice. Where the cloud side is Kafka, a leaf node is one more protocol at the boundary: the site’s data still crosses a bridge to reach the stream processors, connectors and schema registry upstream, and nothing at the site speaks the protocol those tools expect.&lt;/p&gt;

&lt;h2 id=&quot;sidecars-and-journals&quot;&gt;Sidecars and journals&lt;/h2&gt;

&lt;p&gt;A site gateway fans in many devices. The other shape on the continuum is one log per workload, running beside it as a sidecar on the same host or in the same pod. Leafcuttr runs either way.&lt;sup id=&quot;fnref:modes&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:modes&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;24&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Streaming sidecar.&lt;/strong&gt; An application that already produces to Kafka keeps its client and its code. A network filter redirects its Kafka traffic to the local sidecar, or injected configuration points &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bootstrap.servers&lt;/code&gt; at localhost, so the application writes to a log on its own host and the sidecar forwards upstream when the link allows.  The producer sees a local broker that’s always there, and an outage becomes backlog: the application sees no produce errors or retry storms.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Journal sidecar.&lt;/strong&gt; An autonomous system, such as a robot, a vehicle controller or an agent, records what it saw, decided and did in a local log beside it. The journal is the audit trail while the system is offline and replays upstream when it reconnects, in order, with the same schemas the cloud consumers expect.&lt;sup id=&quot;fnref:modes:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:modes&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;24&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because the routing happens in the network or in injected configuration, sidecars can be rolled out the way a service mesh is, with no change to application code.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;Giving up consensus is the right call when the edge node’s job is to capture, hold, shape and forward, and the system of record is upstream:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Telemetry and store-and-forward&lt;/strong&gt; from plants, stores, vehicles and robots, where outages are routine and a delay is acceptable but a gap isn’t.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Bounded-time detection&lt;/strong&gt; on network flows or sensor data, where a local consumer has to act before the cloud could.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Agent and machine journals&lt;/strong&gt; that must survive the time they spend offline.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Feature and training capture&lt;/strong&gt; for models trained centrally on edge data.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It’s the wrong call when the edge node is itself the system of record and must stay available through its own failure (replication and consensus exist for that, and the cloud should own it), when one site’s throughput needs many brokers, or when the device is too small to run a broker at all. Those devices keep speaking MQTT, to a log that accepts it. For a site already on MQTT, that’s the migration: the devices stay as they are, point at the log’s MQTT listener, and the bridge goes.&lt;/p&gt;

&lt;p&gt;Two signals would show this is the wrong default. One is MQTT brokers shipping Kafka-protocol egress with a durable disk buffer turned on out of the box, which would close most of the durability gap and remove the separate bridge. The other is catch-up limited in practice by the cloud side, by ingest quotas or upstream consumer lag, more than by the uplink, which would make a fast local replay matter less than the arithmetic says.&lt;/p&gt;

&lt;script defer=&quot;&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js&quot;&gt;&lt;/script&gt;

&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:current&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://current.confluent.io/san-francisco/sessions#session-SESS-235&quot;&gt;Current 2026 San Francisco: Taking Apache Kafka to the Edge&lt;/a&gt;, Meet-Up Hub session, 5 November 2026. &lt;a href=&quot;#fnref:current&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kafka-home&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://kafka.apache.org/&quot;&gt;Apache Kafka&lt;/a&gt;, project home page, read November 2026. &lt;a href=&quot;#fnref:kafka-home&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:powered-by&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://kafka.apache.org/powered-by&quot;&gt;Apache Kafka: Powered By&lt;/a&gt;. &lt;a href=&quot;#fnref:powered-by&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:iceberg&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.confluent.io/cloud/current/topics/tableflow/overview.html&quot;&gt;Confluent Cloud: Tableflow overview&lt;/a&gt;, “materializes Apache Kafka topics as Apache Iceberg or Delta Lake tables”; &lt;a href=&quot;https://docs.redpanda.com/current/manage/iceberg/about-iceberg-topics/&quot;&gt;Redpanda: About Iceberg topics&lt;/a&gt;, v26.3, an enterprise-licensed feature. &lt;a href=&quot;#fnref:iceberg&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:forwarding&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.leafcuttr.io/print.html&quot;&gt;Leafcuttr documentation&lt;/a&gt;, Topic forwarding, v0.5.3: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lc.topic.forward.config&lt;/code&gt; points at a MirrorMaker 2 configuration; the feature is marked work in progress. &lt;a href=&quot;#fnref:forwarding&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:producer-buffers&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://kafka.apache.org/41/configuration/producer-configs/&quot;&gt;Apache Kafka 4.1 producer configs&lt;/a&gt;: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;buffer.memory&lt;/code&gt; 33554432, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;delivery.timeout.ms&lt;/code&gt; 120000; &lt;a href=&quot;https://github.com/confluentinc/librdkafka/blob/master/CONFIGURATION.md&quot;&gt;librdkafka CONFIGURATION.md&lt;/a&gt;: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;queue.buffering.max.messages&lt;/code&gt; 100000, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;queue.buffering.max.kbytes&lt;/code&gt; 1048576, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;message.timeout.ms&lt;/code&gt; 300000. &lt;a href=&quot;#fnref:producer-buffers&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:spill&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://opentelemetry.io/docs/collector/resiliency/&quot;&gt;OpenTelemetry Collector: resiliency&lt;/a&gt;, persistent sending queue with the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;file_storage&lt;/code&gt; extension; &lt;a href=&quot;https://docs.fluentbit.io/manual/administration/buffering-and-storage&quot;&gt;Fluent Bit: buffering and storage&lt;/a&gt;. &lt;a href=&quot;#fnref:spill&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:design&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://kafka.apache.org/41/design/design/&quot;&gt;Apache Kafka 4.1 documentation: Design&lt;/a&gt;, sections on persistence and replication. &lt;a href=&quot;#fnref:design&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:design:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:design:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:design:3&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;4&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:broker-config&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://kafka.apache.org/41/configuration/broker-configs/&quot;&gt;Apache Kafka 4.1 documentation: Broker configs&lt;/a&gt;: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;replica.lag.time.max.ms&lt;/code&gt; default 30000; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;log.flush.interval.messages&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;log.flush.scheduler.interval.ms&lt;/code&gt; default 9223372036854775807. &lt;a href=&quot;#fnref:broker-config&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:broker-config:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:purgatory&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Yasuhiro Matsuda, &lt;a href=&quot;https://www.confluent.io/blog/apache-kafka-purgatory-hierarchical-timing-wheels/&quot;&gt;Apache Kafka, Purgatory, and Hierarchical Timing Wheels&lt;/a&gt;, October 2015; the mechanism is unchanged in Kafka 4.1. &lt;a href=&quot;#fnref:purgatory&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:isolated&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.leafcuttr.io/features/isolatedMode.html&quot;&gt;Leafcuttr: Isolated mode&lt;/a&gt;, documentation v0.5.3. &lt;a href=&quot;#fnref:isolated&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:topic-sync&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.leafcuttr.io/features/topicSync.html&quot;&gt;Leafcuttr: Topic sync mode&lt;/a&gt;. &lt;a href=&quot;#fnref:topic-sync&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:topic-config&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://kafka.apache.org/41/configuration/topic-configs/&quot;&gt;Apache Kafka 4.1 documentation: Topic configs&lt;/a&gt;: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;flush.messages&lt;/code&gt; “allows specifying an interval at which we will force an fsync of data written to the log”; 1 forces an fsync after every message. &lt;a href=&quot;#fnref:topic-config&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:lc-bench&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Our own benchmark, summarised at &lt;a href=&quot;https://leafcuttr.io/benchmarks/&quot;&gt;Leafcuttr benchmarks&lt;/a&gt;: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apache/kafka:4.0.0&lt;/code&gt; at 400m CPU, 512 MiB and a 460 MB heap plus a schema registry at 100m and 512 MiB, against Leafcuttr lc-0.4 at 500m, 1 GiB and a 920 MB heap, on a 2-vCPU, 8 GB host; 10,000-byte records, 12 partitions, one producer; Kafka fsync rows with topic &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;flush.messages=1&lt;/code&gt;; averages of three runs. &lt;a href=&quot;#fnref:lc-bench&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:schema-registry&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.leafcuttr.io/features/schemaRegistry.html&quot;&gt;Leafcuttr: Schema registry&lt;/a&gt;: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lc.schema.registry.enable&lt;/code&gt;, default port 8081, schemas stored in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_schemas&lt;/code&gt; topic; Avro is the primary format. &lt;a href=&quot;#fnref:schema-registry&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:features&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://leafcuttr.io/features/&quot;&gt;Leafcuttr features&lt;/a&gt;: filtering, forwarding and aggregation listed as coming in v1.0. &lt;a href=&quot;#fnref:features&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:mqtt-proxy&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.leafcuttr.io/features/mqttBrokerProxy.html&quot;&gt;Leafcuttr: MQTT broker and proxy&lt;/a&gt;; MQTT 3 and 5. &lt;a href=&quot;#fnref:mqtt-proxy&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:iot-bench&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Paul et al., &lt;a href=&quot;https://arxiv.org/html/2603.21600v1&quot;&gt;Benchmarking message brokers for IoT edge computing&lt;/a&gt;, March 2026: eight brokers (Kafka not among them) on 1, 2 and 4 vCPU virtual machines; memory under load and median latency for 1 KB messages on 4 vCPUs. &lt;a href=&quot;#fnref:iot-bench&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:iot-bench:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:connect-heap&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://github.com/apache/kafka/blob/trunk/bin/connect-distributed.sh&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bin/connect-distributed.sh&lt;/code&gt;&lt;/a&gt;: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-Xms256M -Xmx2G&lt;/code&gt; when no heap is set; &lt;a href=&quot;https://github.com/apache/kafka/blob/trunk/bin/kafka-server-start.sh&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bin/kafka-server-start.sh&lt;/code&gt;&lt;/a&gt; gives a broker &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-Xmx1G -Xms1G&lt;/code&gt;. &lt;a href=&quot;#fnref:connect-heap&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:mosquitto&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://mosquitto.org/man/mosquitto-conf-5.html&quot;&gt;mosquitto.conf(5)&lt;/a&gt;: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;persistence&lt;/code&gt; defaults to false; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;autosave_interval&lt;/code&gt; defaults to 1,800 seconds. &lt;a href=&quot;#fnref:mosquitto&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:mosquitto:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:emqx&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.emqx.com/en/emqx/latest/data-integration/data-bridge-kafka.html&quot;&gt;EMQX: Stream MQTT data into Apache Kafka&lt;/a&gt;, buffer mode: memory, disk or hybrid; disk survives a node restart, memory doesn’t. &lt;a href=&quot;#fnref:emqx&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:emqx:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:linger&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://cwiki.apache.org/confluence/display/KAFKA/KIP-1030%3A+Change+constraints+and+default+values+for+various+configurations&quot;&gt;KIP-1030&lt;/a&gt;: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;linger.ms&lt;/code&gt; default raised from 0 to 5 in 4.0. &lt;a href=&quot;#fnref:linger&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:nats&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.nats.io/running-a-nats-service/configuration/leafnodes&quot;&gt;NATS documentation: Leaf nodes&lt;/a&gt;, including JetStream domains over a leaf and mirrors and sources across it. &lt;a href=&quot;#fnref:nats&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:modes&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://leafcuttr.io/modes/&quot;&gt;Leafcuttr deployment modes&lt;/a&gt;: gateway, sidecar or embedded, and agent journal. &lt;a href=&quot;#fnref:modes&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:modes:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Tue, 24 Nov 2026 00:00:00 +0000</pubDate>
        <link>https://platformatory.io/blog/kafka-at-the-edge/</link>
        <guid isPermaLink="true">https://platformatory.io/blog/kafka-at-the-edge/</guid>
        
        
        <category>Kafka</category>
        
        <category>Edge</category>
        
        <category>IoT</category>
        
      </item>
    
      <item>
        <title>Securing AI Agents: Zero-Trust Identity and Authorization for MCP and A2A</title>
        <description>&lt;p&gt;An agent that calls an API on someone’s behalf brings back a question OAuth answered for web apps fifteen years ago: whose authority is being exercised? For web apps, a registered client acted for a signed-in user, one hop from the API. An agent’s request is a chain. A person delegates to an agent product, a running instance of it decides to call a tool, the tool’s server calls an API, and the agent may hand part of the job to another agent that does the same. At every hop the receiver has to establish four things from what arrives: which software sent it, which instance, on whose behalf, and with how much of that party’s authority. Agents change one thing: all four must survive every hop, for a caller that chooses its own next action and reads untrusted text while it does.&lt;/p&gt;

&lt;p&gt;Four failures follow from getting it wrong. Norm Hardy named the first in 1988: a confused deputy uses its own authority for someone who shouldn’t have it.&lt;sup id=&quot;fnref:hardy&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:hardy&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; The second is a stolen or replayed token, used by someone it wasn’t issued to. In the third, authority grows as it moves, and a sub-agent, a tool server or a gateway ends up able to do more than the person at the top of the chain could. The fourth is the oldest: an insider, a person or now an agent, misusing access they legitimately hold. Zero trust’s answer, deciding every request as if the network were compromised, catches much of the first three. It doesn’t catch an agent that passes every check while doing an attacker’s work, or a person who controls the checks.&lt;/p&gt;

&lt;h2 id=&quot;who-is-calling&quot;&gt;Who is calling&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Which software?&lt;/strong&gt; Registration answers this, and for agents it has settled quickly. MCP first adopted Dynamic Client Registration (RFC 7591) because a client meets servers it has never seen,&lt;sup id=&quot;fnref:rfc7591&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:rfc7591&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; and it went badly at scale: clients registered a new &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;client_id&lt;/code&gt; at every login, and servers needed rate limiting against unbounded growth.&lt;sup id=&quot;fnref:parecki&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:parecki&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt; The MCP revision of 28 July 2026 &lt;a href=&quot;/blog/platform-engineering-3/&quot;&gt;deprecated DCR&lt;/a&gt; in favour of Client ID Metadata Documents.&lt;sup id=&quot;fnref:mcp-auth&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:mcp-auth&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt; With them, the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;client_id&lt;/code&gt; is an HTTPS URL, the authorization server fetches the client’s metadata from it, and trust in the client becomes trust in whoever controls that DNS name.&lt;/p&gt;

&lt;p&gt;Most identity providers now accept metadata documents.&lt;sup id=&quot;fnref:cimd-idps&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:cimd-idps&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt; Microsoft Entra ID added them in public preview in October 2026, representing each such client as an agent identity in the tenant, with narrow limits: user-present delegated flows only, no client credentials grant, no confidential-client authentication, and narrow default scopes, with pre-registration still the recommended path.&lt;sup id=&quot;fnref:entra-cimd&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:entra-cimd&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt; A confidential agent on Entra is pre-registered or sits behind a broker that acts as the authorization server for MCP, which quietly moves part of identity into whatever that broker is.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Doesn’t the metadata document already give the client a key?&lt;/strong&gt; It can. The document is public, so the draft that defines it forbids shared secrets but allows public keys, inline as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;jwks&lt;/code&gt; or by reference as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;jwks_uri&lt;/code&gt;, for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;private_key_jwt&lt;/code&gt;.&lt;sup id=&quot;fnref:cimd&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:cimd&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt; That proves the caller holds a key the publisher vouched for, and says nothing about which running copy holds it. In the simplest deployment every instance shares one private key, readable by anything that can read the deployment’s secrets, an agent talked into printing its environment included.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which instance?&lt;/strong&gt; One product runs as many workloads, each serving many sessions. Workload identity tells the workloads apart, as it already does for services, and tokens carry the session. SPIFFE gives each workload an identity document, an SVID, as an X.509 certificate for mutual TLS or as a signed JWT. SPIRE, its reference implementation, issues one only after checking where the workload runs, its node, pod or process, and by default a certificate is valid for an hour and a JWT for five minutes, renewed automatically, so there’s no long-lived key to copy.&lt;sup id=&quot;fnref:spiffe&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:spiffe&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;8&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do the two fit together?&lt;/strong&gt; An OAuth working-group draft composes them: a metadata document can declare a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;spiffe_id&lt;/code&gt; pattern for the workloads that may authenticate as the client and a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;spiffe_bundle_endpoint&lt;/code&gt; for the keys that verify them.&lt;sup id=&quot;fnref:spiffe-auth&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:spiffe-auth&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;9&lt;/a&gt;&lt;/sup&gt; What that proves depends on where the bundle comes from. Fetched from the document, it proves only that whoever controls the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;client_id&lt;/code&gt; URL vouches for the key; the SVID proves which instance is calling only to a server that trusts the SPIFFE trust domain out of band. And a JWT-SVID works for anyone who copies it until it expires, while an X.509 SVID over mutual TLS proves possession of a key that instance alone holds.&lt;/p&gt;

&lt;p&gt;Most agents in production use neither. A local MCP server launched over standard input and output takes its credentials from the environment instead of running OAuth, which in practice means an API key in a variable.&lt;sup id=&quot;fnref:stdio&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:stdio&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;10&lt;/a&gt;&lt;/sup&gt; Agents on a hyperscaler get their instance identity from the cloud’s own workload identity, which does SPIFFE’s job inside one provider.&lt;sup id=&quot;fnref:cloud-wi&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:cloud-wi&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt; Agents that drive a browser are only starting to sign their requests, and then only to say which operator’s bot is calling.&lt;sup id=&quot;fnref:webbotauth&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:webbotauth&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;12&lt;/a&gt;&lt;/sup&gt; The further an estate is from an OAuth-speaking client, the more of the work falls to the traffic plane.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;On whose behalf?&lt;/strong&gt; Services never had to track this party: the user. A user delegates to an agent through the authorization code flow with PKCE, and the resulting token’s subject is the user and its client is the agent. In an enterprise, asking every user to consent to every MCP server is unworkable, so the identity provider exchanges the user’s single sign-on token for an identity assertion that the downstream authorization server accepts instead. The draft, informally Cross-App Access, is in the OAuth working group, MCP carries it as an extension, and Okta’s Agent SSO implements it.&lt;sup id=&quot;fnref:idjag&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:idjag&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;13&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:okta&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:okta&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;14&lt;/a&gt;&lt;/sup&gt; Delegation itself is data. OAuth Token Exchange (RFC 8693) records in an &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;act&lt;/code&gt; claim that one party is acting for another, nests &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;act&lt;/code&gt; claims to express a chain, and uses &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;may_act&lt;/code&gt; to say in advance which parties may act for a subject,&lt;sup id=&quot;fnref:rfc8693&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:rfc8693&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;15&lt;/a&gt;&lt;/sup&gt; so a token can say “the user, via this agent, via this tool server”. Consumers decide on the top-level claims and the current actor, the nested chain is for audit, and any narrowing it implies has to be done by the authorization server that issued each token.&lt;/p&gt;

&lt;h2 id=&quot;tokens-that-only-work-where-theyre-meant-to&quot;&gt;Tokens that only work where they’re meant to&lt;/h2&gt;

&lt;p&gt;An MCP server is an OAuth resource server. The client names the server it wants a token for with a resource indicator (RFC 8707), and the server rejects any token not issued for it.&lt;sup id=&quot;fnref:mcp-auth:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:mcp-auth&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt; That audience binding is what stops a token issued for a low-risk tool being replayed against a high-risk one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why can’t a tool server pass the token along?&lt;/strong&gt; Because it would become a confused deputy for every caller. An MCP server “MUST NOT pass through the token it received” to an upstream API; the upstream token is a separate one, from the upstream’s authorization server.&lt;sup id=&quot;fnref:mcp-seccons&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:mcp-seccons&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt; How the server gets it depends on who runs that authorization server.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Inside your own domain:&lt;/strong&gt; token exchange, with the user as subject and the tool server as current actor. RFC 8693 doesn’t require the result to be narrower, so the authorization server has to refuse anything wider.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Across domains that trust each other:&lt;/strong&gt; identity chaining or an identity assertion grant.&lt;sup id=&quot;fnref:chaining&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:chaining&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;17&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Third-party SaaS with no trust relationship&lt;/strong&gt;, the GitHub, Salesforce or Google APIs most tools wrap: a separate grant per user per upstream, which makes the tool server, or the gateway in front of it, a store of users’ upstream refresh tokens. Most deployments are here, and it’s where the confused deputy actually lives.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What stops a stolen token being used?&lt;/strong&gt; Nothing, if it’s a bearer token, and agents are unusually good at leaking them. Certificate-bound tokens over mutual TLS (RFC 8705) and DPoP, which signs each request with a key whose thumbprint is in the token (RFC 9449), bind a token to a key the holder must prove it has.&lt;sup id=&quot;fnref:pop&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:pop&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;18&lt;/a&gt;&lt;/sup&gt; Both work only if the key lives outside the model, in the runtime or a sidecar that attaches credentials to outbound calls. The model chooses actions, and something it can’t read holds the keys. Binding stops theft and replay. It doesn’t stop an injected instruction from getting the runtime to make a correctly signed call, which is what authorizing the call’s arguments is for.&lt;/p&gt;

&lt;p&gt;Lifetimes measured in minutes are what make theft survivable, and agent tasks run for hours. The runtime refreshes or re-exchanges on the agent’s behalf, which keeps the access token’s window short and makes the refresh token the long-lived credential in the system. Where one is issued, it should be sender-constrained or rotated on use, and it’s what revocation has to reach.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/identity-for-ai-agents/identity-stack.svg&quot; alt=&quot;An agent identity stack in five layers. Registration (Client ID Metadata Documents, with DCR deprecated) says which software. Workload identity (SPIFFE SVIDs or a cloud workload identity) says which instance. Delegation (token exchange, identity assertion grants and identity chaining) says for whom and with what authority. Audience and binding (resource indicators, no passthrough, DPoP or mutual TLS) says for which server and held by whom. Call-chain context (transaction tokens) carries it past the first hop inside one trust domain.&quot; /&gt;&lt;/p&gt;

&lt;h2 id=&quot;authorization-from-scopes-to-task-bounded-authority&quot;&gt;Authorization: from scopes to task-bounded authority&lt;/h2&gt;

&lt;p&gt;A scope can’t bound an agent as tightly as its task requires. A token without the scopes an operation requires gets a 403 with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;error=&quot;insufficient_scope&quot;&lt;/code&gt;, and the client can come back for more, a step-up.&lt;sup id=&quot;fnref:mcp-auth:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:mcp-auth&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt; But &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;orders:write&lt;/code&gt; can’t express “refunds up to $500, on this customer’s orders, while this support ticket is open”. Rich Authorization Requests (RFC 9396) can: an &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;authorization_details&lt;/code&gt; parameter carries typed JSON objects naming actions, locations, data types and fields such as an amount or an identifier, and the authorization server returns what it granted.&lt;sup id=&quot;fnref:rar&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:rar&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;19&lt;/a&gt;&lt;/sup&gt; Payments got there first: the Agent Payments Protocol’s mandates are signed credentials recording a user’s constraints for a purchase,&lt;sup id=&quot;fnref:ap2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:ap2&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;20&lt;/a&gt;&lt;/sup&gt; task-bounded authority with a merchant at the end of it. Outside payments, task-scoped authority is rarely used for agents yet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why must the server authorize arguments as well as callers?&lt;/strong&gt; Because the arguments come from a model that may have just read a hostile web page, email or document. Prompt injection turns the agent itself into a confused deputy: it holds the user’s authority and acts on an attacker’s instructions. Authenticating the caller can’t detect that, since the caller is genuine. What limits it is checking each request against what the task needs, so an agent working a refund ticket can’t be talked into exporting the customer table even though the user could. An agent’s effective permission is the intersection of what the user may do, what the agent may do, and what the task requires. Tokens carry the first two as subject, client and scopes. The third is what Rich Authorization Requests and policy have to supply, and today it mostly lives in application code.&lt;/p&gt;

&lt;p&gt;Each of the four access models in common use covers part of it:&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Model&lt;/th&gt;
      &lt;th&gt;Decides on&lt;/th&gt;
      &lt;th&gt;Fits agents for&lt;/th&gt;
      &lt;th&gt;Strains when&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Role-based (RBAC)&lt;/td&gt;
      &lt;td&gt;Fixed roles mapped to permissions&lt;/td&gt;
      &lt;td&gt;Admission: which tools an agent can see at all&lt;/td&gt;
      &lt;td&gt;Roles multiply per agent, task and tenant&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Attribute-based (ABAC)&lt;/td&gt;
      &lt;td&gt;Attributes of caller, resource, action and environment&lt;/td&gt;
      &lt;td&gt;Runtime facts: the delegating user, the task, the budget left, whether input came from an untrusted source&lt;/td&gt;
      &lt;td&gt;Policies get hard to audit without a language for them&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Relationship-based (ReBAC)&lt;/td&gt;
      &lt;td&gt;Relationships in a graph, as in Google’s Zanzibar&lt;sup id=&quot;fnref:zanzibar&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:zanzibar&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;21&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;
      &lt;td&gt;Data access when the agent acts for a user who can see some documents and not others&lt;/td&gt;
      &lt;td&gt;The relationship graph has to stay current&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Policy-based (PBAC)&lt;/td&gt;
      &lt;td&gt;Policies as code in a decision service, such as OPA’s Rego or Cedar&lt;sup id=&quot;fnref:engines&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:engines&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;22&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;
      &lt;td&gt;Managing all of the above: one policy, reviewed like code, evaluated everywhere&lt;/td&gt;
      &lt;td&gt;An operating model, usually over attributes; needs a team to own it&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Agents push toward attributes and policy because the facts that decide a request exist only at runtime, and the task, the most important of them, is native to none of the four. Roles can’t keep up. With an illustrative 50 agents, 20 task types and 30 tenants,&lt;/p&gt;

\[R = a \times t \times n = 50 \times 20 \times 30 = 30{,}000\]

&lt;p&gt;That’s thirty thousand role bindings to review, where a policy parameterised on agent, task and tenant is one rule. Policy-based control is how the other three are run at scale: as code in one repository, reviewed, tested and evaluated by a decision service. The choice of engine is still open. OPA is the established general-purpose one, and Cedar, already applied to chains of agents,&lt;sup id=&quot;fnref:engines-agents&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:engines-agents&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;23&lt;/a&gt;&lt;/sup&gt; was designed to be analysable, so a tool can prove what a policy forbids,&lt;sup id=&quot;fnref:cedar&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:cedar&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;24&lt;/a&gt;&lt;/sup&gt; which matters when the question is what an agent can’t do.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What should the tree of agents carry?&lt;/strong&gt; An orchestrator that spawns sub-agents builds a tree, and the question is where a sub-agent’s authority comes from. Three answers are in use.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;The tree carries permissions.&lt;/strong&gt; A child inherits its parent’s access, or, in the org-chart version, a supervising agent inherits everything its children can reach. It needs the least administration and matches how orchestrators work. It also gives every child everything whatever its sub-task and gathers privilege at the top: authority grows as it moves, by design.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The tree carries ownership only.&lt;/strong&gt; Each agent’s permissions come straight from policy, and the tree records who is accountable for whom. It’s simple and auditable, and a sub-agent can hold more authority than the agent that started it.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The tree carries delegation and ownership.&lt;/strong&gt; Central policy sets each agent’s ceiling, what that kind of agent could ever do. Delegation can only narrow it: a child’s authority is its own ceiling intersected with what its parent hands down for the sub-task, a subset of scopes, a smaller budget and a shorter lifetime at each level. It costs a token exchange per hop, an authorization server that refuses to widen, and a sub-task described well enough to narrow.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We take the third, and owning an agent then means controlling it without inheriting what it can reach. It’s the property capability systems were built on and macaroons made portable, where anyone holding a credential can add caveats and nobody can remove them.&lt;sup id=&quot;fnref:macaroons&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:macaroons&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;25&lt;/a&gt;&lt;/sup&gt; Token exchange delivers it if the authorization server enforces the intersection at every exchange. Each token’s top-level scopes and authorization details are then the intersection, so every consumer, the traffic plane included, enforces them like any other claim, and the nested &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;act&lt;/code&gt; chain records how they got there.&lt;/p&gt;

&lt;p&gt;Ownership is a different kind of authority: authority over an agent, to inspect it, pause it, cancel it or revoke it, held by its parent and its human owner. It also carries accountability, every agent traced to a person and a sponsoring team, and keeping it separate from delegation stops a supervising agent collecting everything below it. Agents with no parent, a scheduled job with no user behind it, get standing grants from policy, at the ceiling and no higher.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;In the Agent2Agent protocol (version 1.0), an agent’s Agent Card declares the security schemes a caller must satisfy and can be signed. Authorization is left to the implementation, and an agent that needs more authority mid-task moves the task to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;TASK_STATE_AUTH_REQUIRED&lt;/code&gt; and receives it out of band.&lt;sup id=&quot;fnref:a2a&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:a2a&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;26&lt;/a&gt;&lt;/sup&gt; An A2A agent decides what to do, may delegate further and may run for hours, so the intersection of user, agent and task has to be re-evaluated at every hop, and the task description has to travel with the request.&lt;/p&gt;

&lt;p&gt;Inside one trust domain, transaction tokens carry it: a signed JWT minted at the edge for one call chain, lasting minutes or less, never usable as an access token, whose &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;scope&lt;/code&gt; captures the transaction’s purpose “as narrowly as possible” and whose context no replacement may expand.&lt;sup id=&quot;fnref:txn&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:txn&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;27&lt;/a&gt;&lt;/sup&gt; Across domains, what’s left is identity chaining and assertion grants between authorization servers that trust each other, which works where organisations have set it up and nowhere else.&lt;/p&gt;

&lt;h2 id=&quot;who-governs-the-policy&quot;&gt;Who governs the policy&lt;/h2&gt;

&lt;p&gt;An auditor’s first question about agents is which agents can reach this system, for whom, and under what conditions, and in most estates nobody can answer it, because the rules are written separately in each service. They cut across every service: which agents may reach which tools and APIs, how authority narrows as it’s delegated, what a task may touch, how much budget it may spend, which data may leave through a model call, and which actions need a human. Written by each team, the same rule exists a hundred times, a little different each time. Suppose each copy has a small chance \(p\) of being looser than intended, independently of the others. Across \(n\) services the chance that at least one is looser is&lt;/p&gt;

\[1 - (1-p)^{n} = 1 - 0.98^{100} \approx 0.87\]

&lt;p&gt;for an illustrative 2% per copy and a hundred services.  An attacker needs only that one. A central policy fails differently: one wrong rule is wrong everywhere at once, so it has to be reviewable and testable in a way a hundred copies never are.&lt;/p&gt;

&lt;p&gt;The case for leaving authorization in the services is real, and it’s why the last generation of systems was built that way. A service knows its data, its tenants and its edge cases; its team ships rule changes without waiting on anyone; and there’s no central gateway to fail, slow every call, or be compromised once for everyone. It’s more autonomous. It’s also notoriously more difficult to govern, and agents make it harder, because they’re new callers arriving at every service at once with authority that has to be narrowed consistently everywhere.&lt;/p&gt;

&lt;p&gt;The alternative is enforcement in the traffic plane, the one place every model and tool call can be made to cross. A gateway there can authenticate, exchange tokens, hold the tool allowlist, evaluate policy against the token’s claims and the call’s arguments, meter budgets, filter data on the way out, and keep one audit log that covers third-party tools nobody can change. Where it also acts as the authorization server, it should still mint tokens whose audience is each upstream server, since a single gateway audience recreates the replay problem resource indicators solve.&lt;/p&gt;

&lt;p&gt;That’s the architecture NIST’s zero-trust standard describes: a policy decision point, enforcement points in the path of every request, and least-privilege access decided per request “in the face of a network viewed as compromised”.&lt;sup id=&quot;fnref:zta&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:zta&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;28&lt;/a&gt;&lt;/sup&gt; Two parts of it matter for agents. An enforcement point can’t apply policy beyond its place in the flow, so zero trust moves enforcement as close to the resource as it can: the services behind the gateway trust only a gateway-minted token and check again against the same decision point. And zero trust decides whether a subject may make a request, a test a prompt-injected agent passes: it’s authenticated, authorized and inside policy while doing an attacker’s work. An attacker who can “induce or coerce” a software agent into a task the attacker isn’t privileged to perform is already in the standard’s threat model.&lt;sup id=&quot;fnref:zta:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:zta&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;28&lt;/a&gt;&lt;/sup&gt; Task-bounded authority is what agents add on top.&lt;/p&gt;

&lt;p&gt;Central enforcement comes with a precondition. The traffic plane governs only traffic that crosses it, so services have to accept agent calls only through it, enforced by network policy and by rejecting tokens the gateway didn’t mint, or the central policy is advisory. The design starts with agents because that’s where authority multiplies fastest, and none of it depends on the caller being one: batch jobs, human front ends and service-to-service calls can cross the same plane under the same policy, so an estate that brings them over governs one system where it would otherwise run two.  It also makes the gateway’s own credentials the most valuable in the estate, and if it fronts third-party APIs, the vault for users’ upstream refresh tokens too. Those need the narrowest scopes and shortest lifetimes of anything there, or the gateway becomes the confused deputy it exists to prevent.&lt;/p&gt;

&lt;p&gt;That leaves the rules that depend on data. Whether this user’s agent may read invoice 123 depends on who owns invoice 123, and that used to settle the debate in the services’ favour. The price was authorization rules inside domain code, polluting the domain and repeated as boilerplate in every service. Agents change the trade-off, because a tool call is more legible to a gateway than a REST call ever was: it names the tool and carries typed arguments against a declared JSON Schema,&lt;sup id=&quot;fnref:mcp-tools&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:mcp-tools&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;29&lt;/a&gt;&lt;/sup&gt; so the action, and often the resource, is explicit in the request. Three models are in use for deciding on it centrally, and they differ in where the data lives.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;A central relationship store.&lt;/strong&gt; Applications write relationships such as “user A owns invoice 123” into one authorization system, and any enforcement point asks it. That’s Zanzibar’s model,&lt;sup id=&quot;fnref:zanzibar:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:zanzibar&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;21&lt;/a&gt;&lt;/sup&gt; and AuthZed’s SpiceDB and the CNCF’s OpenFGA are open-source systems built on it; a gateway can consult one on every request, through Envoy’s external authorization filter for example.&lt;sup id=&quot;fnref:pdp&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:pdp&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;30&lt;/a&gt;&lt;/sup&gt; The cost is keeping the copy fresh. A check against stale relationships admits the user whose access was just removed, Zanzibar’s “new enemy” problem, and SpiceDB’s default check mode, for one, tolerates that window. Its fix, a consistency token stored with the resource, lives in the service’s database, where the gateway never sees it.&lt;sup id=&quot;fnref:consistency&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:consistency&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;31&lt;/a&gt;&lt;/sup&gt; The relationships are data, so a policy review and Cedar’s analysis, which reasons over policies for any data they might meet,&lt;sup id=&quot;fnref:cedar:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:cedar&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;24&lt;/a&gt;&lt;/sup&gt; cover the rules and not the grants. The store should let each service write relationships only for its own resource types, and audit every write.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Central policy, data from the request.&lt;/strong&gt; The policy decides from the token, the tool and its arguments, plus attributes fetched at request time. It’s what AWS ships for agents: AgentCore’s gateway evaluates Cedar on every tool call, with the principal from the token, an action per tool, and conditions on arguments such as an amount below a limit.&lt;sup id=&quot;fnref:agentcore&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:agentcore&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;32&lt;/a&gt;&lt;/sup&gt; It needs no copy of the data, and it can’t decide anything the request doesn’t reveal.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Central policy, local data.&lt;/strong&gt; The policy is written once and compiled against the service’s own database. OPA’s partial evaluation turns it into a SQL condition, and Oso’s local authorization generates the query from a schema without reading the data.&lt;sup id=&quot;fnref:filtering&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:filtering&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;33&lt;/a&gt;&lt;/sup&gt; Nothing is copied, and the cost moves into the service: someone maps the policy’s facts to its tables, and only some databases are supported.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All three keep one owner for the rules, as code, out of domain code. They differ in how much the gateway can decide. With a relationship store it can decide data-level rules for any resource a call names. With request data it decides what the arguments and fetched attributes show, an amount or a tenant, and no more. With local data, a decision about a record is made against the service’s database, so the gateway keeps the coarse rules and the service runs the rest through the platform library. In every model, a tool that picks its own target, “the latest order” or a search, acts on objects the gateway never saw, and its server has to check access regardless.&lt;sup id=&quot;fnref:mcp-tools:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:mcp-tools&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;29&lt;/a&gt;&lt;/sup&gt; Lists are the same case. A gateway can’t filter a database query without breaking pagination and counts, so the decision point returns the allowed identifiers, practical in SpiceDB below about ten thousand per user, or the service checks each page of candidates in bulk, or applies a compiled condition.&lt;sup id=&quot;fnref:filtering:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:filtering&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;33&lt;/a&gt;&lt;/sup&gt; Whether a tool names its target is partly a platform’s choice. It can require tools to name the resource they act on in typed arguments, an &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;invoice_id&lt;/code&gt; where a free-text query would do, and treat generic tools such as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;run_sql&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;http_request&lt;/code&gt; or code execution as guardrail-only: admitted for a task and metered, never trusted to carry a data-level decision.&lt;/p&gt;

&lt;p&gt;Rules about state are a different kind of rule. Take an agent acting for Alice, a support engineer, on a ticket about order 123, asking to refund $300. The gateway sees the token, the tool and its arguments, and decides who may attempt the refund: this agent may refund on Alice’s behalf, Alice may act on order 123, and $300 is inside the task’s $500. The service decides, when it acts, what only its data shows: the order hasn’t shipped, $300 is no more than the remaining balance, and the ticket hasn’t already had a refund. The first is authorization and belongs to the policy; the second is the domain’s invariants and stays in the domain. Neither check can do the other’s job. Where relationships are fed from events or change data capture, revocations go to the decision point directly and sensitive actions are checked at full consistency, at a cost in latency, because a pipeline’s lag is the window an attacker needs.&lt;/p&gt;

&lt;p&gt;Five places end up enforcing something, and each is blind to something the others see:&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Enforcement point&lt;/th&gt;
      &lt;th&gt;Enforces&lt;/th&gt;
      &lt;th&gt;Can’t see&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Traffic-plane gateway&lt;/td&gt;
      &lt;td&gt;Identity and token exchange; the tool allowlist; guardrail and domain policy on token claims and arguments, including data-level rules where the decision point holds the data; budgets and rate limits; data leaving through model calls; the audit log&lt;/td&gt;
      &lt;td&gt;Resources a tool resolves itself; which rows a list returns; anything that bypasses it&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Agent runtime&lt;/td&gt;
      &lt;td&gt;Keys held outside the model; proof-of-possession on every call; the sandbox and its network egress; task context attached to outbound calls&lt;/td&gt;
      &lt;td&gt;Whether the next hop honours the task; another runtime’s behaviour&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Tool server&lt;/td&gt;
      &lt;td&gt;Token audience and issuer; no passthrough; the right grant for the next hop; step-up when scopes fall short&lt;/td&gt;
      &lt;td&gt;The user’s wider intent; calls that don’t reach it&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Service&lt;/td&gt;
      &lt;td&gt;The same policy, from the same decision point through the platform library, for every resource it touches, including those it resolves itself and lists; its own invariants; only gateway-minted tokens&lt;/td&gt;
      &lt;td&gt;The rest of the chain, except what tokens and transaction context carry&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Receiving agent&lt;/td&gt;
      &lt;td&gt;Its own Agent Card schemes; authorization of the skill and task; pausing for credentials or a human&lt;/td&gt;
      &lt;td&gt;How the caller’s authority was obtained, beyond the tokens presented&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/identity-for-ai-agents/enforcement.svg&quot; alt=&quot;The enforcement architecture. A user delegates to an agent runtime, which holds keys outside the model and attaches task context. Every model, tool and agent call crosses a traffic-plane gateway that exchanges tokens, evaluates guardrail and domain policy and meters budgets, then reaches tool servers, services and other agents, which enforce again; services accept only gateway-minted tokens. Calls to another trust domain also leave through the gateway, by identity chaining or assertion grants. Security operations writes guardrails into one policy repository, domain teams write policies for their own resources into it, and one decision point answers the gateway; services ask it, through a platform library, about the resources and lists the gateway can&apos;t see. Audit records from the runtime, gateway and services join on one context.&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where should a tool call’s arguments be checked?&lt;/strong&gt; Two placements are defensible, and each buys something the other can’t.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;In the agent runtime, before the call leaves.&lt;/strong&gt; The runtime has the full context, including which input was untrusted. It can stop a bad call before any credential is used and ask the user to confirm in place. But it runs beside the model it’s checking, so a compromised agent can skip it, and nobody outside the agent can prove it ran.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;In the traffic plane, as the call crosses.&lt;/strong&gt; The gateway applies the same policy to every agent, records the decision in one audit log, and can’t be skipped by the agent it governs. It sees the token, the task carried with the call and the arguments, and none of the reasoning behind them, so its checks are only as good as the task context the runtime attaches.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;From a platform-engineering point of view, the deciding check belongs in the traffic plane: the one whose denial is final and that the agent can’t skip. It isn’t the only check. Services ask the same decision point again through the platform library, for the resources a call names as well as the ones the gateway can’t see, so a call that slips past the gateway meets the same policy. What the gateway adds is one policy applied the same way to every agent, one audit log, and bad calls stopped before they reach anything. Security has never been a stronger cross-cutting concern than it is with agents, and cross-cutting concerns are best handled once, in the platform tier, where they’re uniform, auditable and outside the reach of the thing they constrain.&lt;/p&gt;

&lt;p&gt;The arrangement is one policy repository and one decision point, offered as a self-service part of the platform. Security operations writes the guardrails as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;forbid&lt;/code&gt; policies. In Cedar a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;forbid&lt;/code&gt; overrides any &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;permit&lt;/code&gt;, so a team’s policy can’t loosen one, but a policy that errors is skipped, so guardrails are validated against a schema before they land, which stops them failing on a missing attribute or a type mismatch.&lt;sup id=&quot;fnref:cedar-auth&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:cedar-auth&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;34&lt;/a&gt;&lt;/sup&gt; Domain teams write the policies for their own resources inside them, own the mapping from each tool’s arguments to the resources they name, versioned with the tool’s schema and checked against its &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;inputSchema&lt;/code&gt; in CI so the two can’t drift, and choose a data model per domain: request data where the arguments say enough, a relationship store where access is a graph, local data where the service holds large result sets. Gateways built for model traffic and for tool traffic are converging on this role.&lt;sup id=&quot;fnref:gateways&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:gateways&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;35&lt;/a&gt;&lt;/sup&gt; We build agentic systems, platforms and the event pipelines behind them for customers, so we have a stake in where this layer ends up.&lt;/p&gt;

&lt;h2 id=&quot;insiders-detection-and-response&quot;&gt;Insiders, detection and response&lt;/h2&gt;

&lt;p&gt;Zero trust treats the network as compromised. Agents ask for the same assumption about the people and software inside it, and insider risk takes four shapes.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;The agent as insider.&lt;/strong&gt; An authorized agent acting on injected instructions is an insider with its user’s authority. Varonis showed a chain in Microsoft 365 Copilot’s enterprise search that turned the assistant into a way to exfiltrate data, fixed as CVE-2026-42824.&lt;sup id=&quot;fnref:searchleak&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:searchleak&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;36&lt;/a&gt;&lt;/sup&gt; Task-bounded authority and argument checks are the controls.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;A person with an agent.&lt;/strong&gt; An employee who wants data out gets a fast, tireless helper. The intersection caps it, since an agent’s ceiling is narrower than its user’s, and the gateway meters and filters what leaves through model and tool calls. Shadow AI and AI agents now amplify insider risk, and adoption is outrunning visibility.&lt;sup id=&quot;fnref:ponemon&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:ponemon&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;37&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Agents nobody registered.&lt;/strong&gt; A script with an API key or an assistant wired to a mailbox is shadow IT, and zero trust already requires cataloguing it.&lt;sup id=&quot;fnref:zta:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:zta&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;28&lt;/a&gt;&lt;/sup&gt; Inventory, and rejecting tokens the gateway didn’t mint, are the controls.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The insider in the control plane.&lt;/strong&gt; Centralising policy puts the most valuable access in the estate in a few hands: whoever can merge to the policy repository, write relationships to the decision point, operate the gateway or edit its audit log. One malicious change is wrong everywhere at once, and a grant written as a relationship is data, so it never passes policy review. The policy management tool should be reachable only from dedicated administrator accounts with the most restrictive access policies.&lt;sup id=&quot;fnref:zta:3&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:zta&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;28&lt;/a&gt;&lt;/sup&gt; For agents that extends to two-person review and signed commits for policy, relationship writes audited like policy changes, different people as policy authors, gateway operators and audit owners, an audit log the gateway’s administrators can’t alter, and break-glass access that pages someone.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Detection runs on shared context. Every call carries the user, agent, instance and task, so the gateway’s, runtime’s and services’ records join up, and an agent’s behaviour can be checked against what its task allows. Response has to reach every credential in the chain. Short lifetimes bound the damage but don’t stop a runtime that keeps refreshing, and it’s the refresh tokens, in runtimes and in gateways’ vaults, that have to die. The Shared Signals Framework and its Continuous Access Evaluation Profile, final OpenID specifications since 2025, let an identity provider push events such as a revoked session to the services that rely on it.&lt;sup id=&quot;fnref:caep&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:caep&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;38&lt;/a&gt;&lt;/sup&gt; Built for people’s sessions, they need every agent runtime that refreshes or exchanges tokens to subscribe and act, and nothing yet coordinates that across a chain.&lt;/p&gt;

&lt;p&gt;Response is reaching the host as well. Shirudo, a pre-release open-source runtime from Cisco and OpenAI, lets an agent write signed eBPF or JVM shields that block a vulnerable code path until a patch lands, served from the operator’s own registry and pulled by every host about once a minute by default.&lt;sup id=&quot;fnref:shirudo&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:shirudo&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;39&lt;/a&gt;&lt;/sup&gt;  An agent writing kernel code that a fleet loads within a minute is a control plane in its own right, and its failure mode is on record: a CrowdStrike content update interpreted by its kernel driver hit an estimated 8.5 million Windows machines in July 2024.&lt;sup id=&quot;fnref:crowdstrike&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:crowdstrike&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;40&lt;/a&gt;&lt;/sup&gt;  Shields need the policy repository’s two-person review, staged rollout and audit. Where a workload can be air-gapped, the air-gap comes first, with shields inside it for what’s still reachable; &lt;a href=&quot;/blog/agentic-ai-streaming-use-cases/&quot;&gt;agentic streaming&lt;/a&gt; has more on the trade.&lt;/p&gt;

&lt;p&gt;Two controls bound the blast radius when detection is late. Irreversible actions need a fresh grant from the root principal, with the authorization server prompting a human; MCP’s step-up and A2A’s auth-required state give that a place in the protocol, and since step-up widens a token, it’s an approval only if someone is actually asked. Budgets come down the same tree as delegation, as quotas for the organisation, team, agent and task, metered by the gateway: authority expressed as a quantity, divided on the way down and never enlarged.&lt;/p&gt;

&lt;h2 id=&quot;where-the-design-loses&quot;&gt;Where the design loses&lt;/h2&gt;

&lt;p&gt;The design assumes most agent traffic is yours to route and its control plane is yours to guard. It loses where that isn’t true:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Agents live on someone else’s platform.&lt;/strong&gt; If most agent work runs inside SaaS agent products, the calls never cross your traffic plane, and the vendor’s admin plane is the enforcement point whether you like it or not.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cross-domain calls dominate.&lt;/strong&gt; Past the trust boundary the gateway enforces only what leaves; the rest is the other side’s policy and whatever grants the two authorization servers share.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The gateway becomes the constraint.&lt;/strong&gt; A hop on every call costs latency and availability. Where it can’t be made cheap and redundant, teams will route around it, and central policy becomes advisory.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The control plane can’t be guarded.&lt;/strong&gt; An estate that can’t separate and watch the duties around its policy has built a single point of compromise.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two signals would show the position is wrong. One is freshness: if the lag between a revocation and the decision point seeing it regularly outlasts a token’s lifetime, the window short-lived tokens were meant to bound, and the audit log shows calls admitted after access was removed, data-level checks belong back where the data is. The other is the shape of the traffic: if most agent calls in the gateway’s audit log are searches and listings rather than actions on named resources, most real enforcement happens in the platform library inside services, and the gateway is left with the coarse guardrails.&lt;/p&gt;

&lt;h2 id=&quot;where-to-start&quot;&gt;Where to start&lt;/h2&gt;

&lt;p&gt;Most estates are at the shared-service-account stage. In this order, each step either removes the biggest risk left or is what the next one needs, and each costs something:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Inventory agent identities.&lt;/strong&gt; List every agent, the credentials it holds and the human who sponsors it. It costs a few weeks of reading configs and answers the auditor’s question.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Stop token passthrough.&lt;/strong&gt; Use token exchange inside the domain and separate grants for third-party APIs. The cost is a token vault that needs the same care as signing keys.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Route agent and tool traffic through one gateway, and reject tokens it didn’t mint.&lt;/strong&gt; This is the expensive step: network policy, a migration per service, and a component that has to be as available as the identity provider.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Move cross-cutting rules into one policy repository.&lt;/strong&gt; Allowlists, delegation limits, budgets and egress rules go there, as guardrails. It needs a team that owns it and a review queue every rule change waits in.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Guard the control plane.&lt;/strong&gt; Do it as soon as the repository exists: two-person review for policy, audited relationship writes, separated duties and an audit log its operators can’t edit. It costs reviewers and a slower path for every change.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Put domain policy in the platform.&lt;/strong&gt; Domain teams write policies for their own resources in the same repository, inside the guardrails, with a data model per domain. Require tools to name their target resource in typed arguments, and keep generic tools guardrail-only. It costs a mapping from tool arguments to resources kept in step with each tool’s schema, a platform library in every service that resolves its own targets, and for a relationship store, a pipeline that keeps it fresh.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Give each instance its own identity and keep keys out of the model’s reach.&lt;/strong&gt; Use SPIFFE where you run the infrastructure, the cloud’s workload identity where you don’t, and DPoP for clients that can’t hold a trusted key. SPIRE is the costly part: attestation, federation and a team that keeps it running.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
  &lt;p&gt;ProTip: Start the inventory with the agents nobody launched on purpose: the scheduled jobs and the scripts with an API key in an environment variable. They hold standing authority, and no consent screen ever showed them to anyone.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr /&gt;

&lt;p&gt;Task scope has no standard yet. Nothing says how a task’s description becomes &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;authorization_details&lt;/code&gt;, who writes it, or how it’s issued outside the agent runtime, which the gateway has to trust today.&lt;/p&gt;

&lt;p&gt;Inside one estate, most of these questions come down to where the rules live, whether every agent call has to pass the place that enforces them, and who is allowed to change it. Between estates, they come down to what two authorization servers agree to trust, and that’s where the next round of standards work will be.&lt;/p&gt;

&lt;script defer=&quot;&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js&quot;&gt;&lt;/script&gt;

&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:hardy&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Norm Hardy, &lt;a href=&quot;https://dl.acm.org/doi/10.1145/54289.871709&quot;&gt;The Confused Deputy (or why capabilities might have been invented)&lt;/a&gt;, ACM SIGOPS Operating Systems Review 22(4), October 1988. &lt;a href=&quot;#fnref:hardy&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:rfc7591&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.rfc-editor.org/rfc/rfc7591&quot;&gt;RFC 7591: OAuth 2.0 Dynamic Client Registration Protocol&lt;/a&gt;, July 2015. &lt;a href=&quot;#fnref:rfc7591&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:parecki&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Aaron Parecki, &lt;a href=&quot;https://aaronparecki.com/2025/11/25/1/mcp-authorization-spec-update&quot;&gt;Client registration and enterprise management in the November 2025 MCP authorization spec&lt;/a&gt;, 25 November 2025. &lt;a href=&quot;#fnref:parecki&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:mcp-auth&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization&quot;&gt;Model Context Protocol: Authorization&lt;/a&gt;, specification version 2026-07-28; the &lt;a href=&quot;https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization&quot;&gt;2025-11-25 version&lt;/a&gt; first preferred Client ID Metadata Documents. &lt;a href=&quot;#fnref:mcp-auth&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:mcp-auth:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:mcp-auth:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:cimd-idps&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Okta, Auth0, WorkOS and Clerk accept them, and Keycloak behind an experimental flag: &lt;a href=&quot;https://developer.okta.com/docs/guides/ai-agent-cimd-registration/main/&quot;&gt;Okta: register AI agents with a CIMD&lt;/a&gt;; &lt;a href=&quot;https://auth0.com/docs/get-started/auth0-overview/create-applications/register-applications-with-cimd&quot;&gt;Auth0: register applications with CIMD&lt;/a&gt;; &lt;a href=&quot;https://workos.com/changelog/client-id-metadata-support-for-mcp-auth&quot;&gt;WorkOS changelog, 30 November 2025&lt;/a&gt;; &lt;a href=&quot;https://clerk.com/changelog/2026-09-17-client-id-metadata-documents-ga&quot;&gt;Clerk changelog, September 2026&lt;/a&gt;; &lt;a href=&quot;https://www.keycloak.org/securing-apps/mcp-authz-server&quot;&gt;Keycloak: integrating with MCP&lt;/a&gt;. &lt;a href=&quot;#fnref:cimd-idps&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:entra-cimd&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Microsoft, &lt;a href=&quot;https://learn.microsoft.com/en-us/entra/agent-id/client-id-metadata-documents&quot;&gt;Client ID Metadata Documents in Microsoft Entra ID&lt;/a&gt; (public preview), 30 October 2026. &lt;a href=&quot;#fnref:entra-cimd&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:cimd&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://datatracker.ietf.org/doc/draft-ietf-oauth-client-id-metadata-document/&quot;&gt;draft-ietf-oauth-client-id-metadata-document&lt;/a&gt;, OAuth working group, revision 03, sections 4.1 and 10.3. MCP 2026-07-28 references revision 00, whose section 4.1 carries the same prohibition. &lt;a href=&quot;#fnref:cimd&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:spiffe&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://spiffe.io/docs/latest/spiffe-about/overview/&quot;&gt;SPIFFE overview&lt;/a&gt;; &lt;a href=&quot;https://spiffe.io/docs/latest/deploying/spire_server/&quot;&gt;SPIRE server configuration&lt;/a&gt; (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;default_x509_svid_ttl&lt;/code&gt; one hour, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;default_jwt_svid_ttl&lt;/code&gt; five minutes). Attestation before issuance is SPIRE’s behaviour; the SPIFFE specifications don’t require it. &lt;a href=&quot;#fnref:spiffe&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:spiffe-auth&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://datatracker.ietf.org/doc/draft-ietf-oauth-spiffe-client-auth/&quot;&gt;draft-ietf-oauth-spiffe-client-auth&lt;/a&gt;, OAuth working group, revision 03, sections 3.1, 3.2.2, 5.1, 8.1 and 8.2; the example metadata document is from section 3.2.2. &lt;a href=&quot;#fnref:spiffe-auth&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:stdio&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization&quot;&gt;Model Context Protocol: Authorization&lt;/a&gt;, specification version 2026-07-28: implementations using the stdio transport “SHOULD NOT follow this specification, and instead retrieve credentials from the environment”. &lt;a href=&quot;#fnref:stdio&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:cloud-wi&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html&quot;&gt;AWS: IAM roles for service accounts&lt;/a&gt;; &lt;a href=&quot;https://cloud.google.com/iam/docs/workload-identity-federation&quot;&gt;Google Cloud: workload identity federation&lt;/a&gt;, which also accepts AWS and Azure identities; &lt;a href=&quot;https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/overview&quot;&gt;Microsoft: managed identities for Azure resources&lt;/a&gt;. &lt;a href=&quot;#fnref:cloud-wi&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:webbotauth&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://datatracker.ietf.org/group/webbotauth/about/&quot;&gt;IETF Web Bot Auth working group&lt;/a&gt;, formed 23 October 2025; &lt;a href=&quot;https://datatracker.ietf.org/doc/draft-ietf-webbotauth-httpsig-protocol/&quot;&gt;draft-ietf-webbotauth-httpsig-protocol&lt;/a&gt;, revision 01, which signs requests with &lt;a href=&quot;https://www.rfc-editor.org/rfc/rfc9421&quot;&gt;HTTP Message Signatures (RFC 9421)&lt;/a&gt;. &lt;a href=&quot;#fnref:webbotauth&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:idjag&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://datatracker.ietf.org/doc/draft-ietf-oauth-identity-assertion-authz-grant/&quot;&gt;draft-ietf-oauth-identity-assertion-authz-grant&lt;/a&gt;, OAuth working group, revision 06, sections 4.3 and 4.4. &lt;a href=&quot;#fnref:idjag&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:okta&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Okta, &lt;a href=&quot;https://okta.com/newsroom/press-releases/okta-brings-first-class-identity-to-ai-agents-with-agent-sso/&quot;&gt;Okta brings first-class identity to AI agents with Agent SSO&lt;/a&gt;, 24 August 2026. &lt;a href=&quot;#fnref:okta&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:rfc8693&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.rfc-editor.org/rfc/rfc8693&quot;&gt;RFC 8693: OAuth 2.0 Token Exchange&lt;/a&gt;, January 2020, sections 4.1 (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;act&lt;/code&gt;, including that prior actors are informational only) and 4.4 (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;may_act&lt;/code&gt;). &lt;a href=&quot;#fnref:rfc8693&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:mcp-seccons&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization/security-considerations&quot;&gt;Model Context Protocol: Authorization, Security Considerations&lt;/a&gt;, “Access Token Privilege Restriction”, specification version 2026-07-28. &lt;a href=&quot;#fnref:mcp-seccons&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:chaining&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://datatracker.ietf.org/doc/draft-ietf-oauth-identity-chaining/&quot;&gt;draft-ietf-oauth-identity-chaining: OAuth Identity and Authorization Chaining Across Domains&lt;/a&gt;, OAuth working group, revision 17. &lt;a href=&quot;#fnref:chaining&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:pop&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.rfc-editor.org/rfc/rfc8705&quot;&gt;RFC 8705: OAuth 2.0 Mutual-TLS Client Authentication and Certificate-Bound Access Tokens&lt;/a&gt;, February 2020; &lt;a href=&quot;https://www.rfc-editor.org/rfc/rfc9449&quot;&gt;RFC 9449: OAuth 2.0 Demonstrating Proof of Possession (DPoP)&lt;/a&gt;, September 2023. &lt;a href=&quot;#fnref:pop&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:rar&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.rfc-editor.org/rfc/rfc9396&quot;&gt;RFC 9396: OAuth 2.0 Rich Authorization Requests&lt;/a&gt;, May 2023. &lt;a href=&quot;#fnref:rar&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:ap2&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://ap2-protocol.org/&quot;&gt;Agent Payments Protocol&lt;/a&gt;, version 0.2, checkout and payment mandates as verifiable digital credentials; &lt;a href=&quot;https://github.com/google-agentic-commerce/AP2&quot;&gt;AP2 repository&lt;/a&gt;. &lt;a href=&quot;#fnref:ap2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:zanzibar&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Ruoming Pang et al., &lt;a href=&quot;https://www.usenix.org/conference/atc19/presentation/pang&quot;&gt;Zanzibar: Google’s Consistent, Global Authorization System&lt;/a&gt;, USENIX ATC 2019. &lt;a href=&quot;#fnref:zanzibar&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:zanzibar:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:engines&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.openpolicyagent.org/docs/latest/policy-language/&quot;&gt;Open Policy Agent&lt;/a&gt; (Rego); &lt;a href=&quot;https://www.cedarpolicy.com/&quot;&gt;Cedar policy language&lt;/a&gt;. &lt;a href=&quot;#fnref:engines&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:engines-agents&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://aws.amazon.com/blogs/security/enforce-least-privilege-authorization-in-multi-agent-ai-chains-using-cedar/&quot;&gt;Enforce least-privilege authorization in multi-agent AI chains using Cedar&lt;/a&gt;, AWS Security Blog. &lt;a href=&quot;#fnref:engines-agents&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:cedar&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Joseph W. Cutler et al., &lt;a href=&quot;https://arxiv.org/abs/2403.04651&quot;&gt;Cedar: A New Language for Expressive, Fast, Safe, and Analyzable Authorization&lt;/a&gt;, OOPSLA 2024. &lt;a href=&quot;#fnref:cedar&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:cedar:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:macaroons&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Arnar Birgisson, Joe Gibbs Politz, Úlfar Erlingsson, Ankur Taly, Michael Vrable and Mark Lentczner, &lt;a href=&quot;https://research.google/pubs/macaroons-cookies-with-contextual-caveats-for-decentralized-authorization-in-the-cloud/&quot;&gt;Macaroons: Cookies with Contextual Caveats for Decentralized Authorization in the Cloud&lt;/a&gt;, NDSS 2014. &lt;a href=&quot;#fnref:macaroons&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:a2a&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://a2a-protocol.org/latest/specification/&quot;&gt;Agent2Agent (A2A) Protocol Specification&lt;/a&gt;, version 1.0.0 (retrieved November 2026), sections 4.5, 7.5, 7.6 and 8.4. &lt;a href=&quot;#fnref:a2a&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:txn&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.ietf.org/archive/id/draft-ietf-oauth-transaction-tokens-11.html&quot;&gt;draft-ietf-oauth-transaction-tokens&lt;/a&gt;, OAuth working group, revision 11, sections 6, 9.2.1–9.2.3, 12.1, 13.1, 13.13 and 13.15. &lt;a href=&quot;#fnref:txn&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:zta&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Scott Rose, Oliver Borchert, Stu Mitchell and Sean Connelly, &lt;a href=&quot;https://csrc.nist.gov/pubs/sp/800/207/final&quot;&gt;Zero Trust Architecture&lt;/a&gt;, NIST SP 800-207, August 2020: the definition (section 2), the policy decision and enforcement points (section 2, figure 1), protecting the policy management tool (section 5.5), non-person entities (section 5.7) and cataloguing shadow IT (section 7.3.2). &lt;a href=&quot;#fnref:zta&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:zta:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:zta:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:zta:3&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;4&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:mcp-tools&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://modelcontextprotocol.io/specification/2026-07-28/server/tools&quot;&gt;Model Context Protocol: Tools&lt;/a&gt;, specification version 2026-07-28: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tools/call&lt;/code&gt; carries a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;name&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;arguments&lt;/code&gt;, each tool declares an &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;inputSchema&lt;/code&gt;, and servers must implement proper access controls. &lt;a href=&quot;#fnref:mcp-tools&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:mcp-tools:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:pdp&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://authzed.com/docs/spicedb/getting-started/discovering-spicedb&quot;&gt;SpiceDB&lt;/a&gt;; &lt;a href=&quot;https://openfga.dev/docs/fga&quot;&gt;OpenFGA&lt;/a&gt;, a CNCF project; &lt;a href=&quot;https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/ext_authz_filter&quot;&gt;Envoy external authorization filter&lt;/a&gt;. &lt;a href=&quot;#fnref:pdp&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:consistency&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;SpiceDB, &lt;a href=&quot;https://authzed.com/docs/spicedb/concepts/consistency&quot;&gt;Consistency&lt;/a&gt;: checks default to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;minimize_latency&lt;/code&gt;, which can leave a window for the New Enemy Problem; a ZedToken is stored alongside the updated content in the application database. &lt;a href=&quot;#fnref:consistency&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:agentcore&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;AWS, &lt;a href=&quot;https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/policy-scope.html&quot;&gt;Amazon Bedrock AgentCore: policy scope&lt;/a&gt; and &lt;a href=&quot;https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/example-policies-action-resource.md&quot;&gt;example policies&lt;/a&gt;, which condition on tool input such as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;context.input.amount&lt;/code&gt;. &lt;a href=&quot;#fnref:agentcore&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:filtering&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.openpolicyagent.org/docs/latest/filtering/&quot;&gt;OPA: SQL data filtering with partial evaluation&lt;/a&gt;; &lt;a href=&quot;https://www.osohq.com/docs/develop/facts/local-authorization&quot;&gt;Oso: local authorization&lt;/a&gt;; SpiceDB, &lt;a href=&quot;https://authzed.com/docs/spicedb/modeling/protecting-a-list-endpoint&quot;&gt;Protecting a list endpoint&lt;/a&gt;, which recommends LookupResources below about 10,000 accessible resources and bulk checks or materialization above that. &lt;a href=&quot;#fnref:filtering&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:filtering:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:cedar-auth&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Cedar, &lt;a href=&quot;https://docs.cedarpolicy.com/auth/authorization.html&quot;&gt;Authorization&lt;/a&gt;: an applicable &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;forbid&lt;/code&gt; overrides any &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;permit&lt;/code&gt;, and a policy whose evaluation errors is skipped. &lt;a href=&quot;#fnref:cedar-auth&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:gateways&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.litellm.ai/&quot;&gt;LiteLLM&lt;/a&gt;; Palo Alto Networks, &lt;a href=&quot;https://www.paloaltonetworks.com/blog/2026/07/announcing-general-availability-of-prisma-airs-ai-gateway/&quot;&gt;Announcing general availability of Prisma AIRS AI Gateway&lt;/a&gt;, July 2026; &lt;a href=&quot;https://developers.cloudflare.com/ai-gateway/&quot;&gt;Cloudflare AI Gateway&lt;/a&gt;; &lt;a href=&quot;https://developer.konghq.com/plugins/ai-mcp-proxy/&quot;&gt;Kong AI MCP Proxy plugin&lt;/a&gt;; &lt;a href=&quot;https://agentgateway.dev/docs/&quot;&gt;agentgateway&lt;/a&gt;; &lt;a href=&quot;https://aigateway.envoyproxy.io/&quot;&gt;Envoy AI Gateway&lt;/a&gt;; &lt;a href=&quot;https://learn.microsoft.com/en-us/azure/api-management/genai-gateway-capabilities&quot;&gt;Azure API Management AI gateway&lt;/a&gt;. &lt;a href=&quot;#fnref:gateways&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:searchleak&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Varonis Threat Labs, &lt;a href=&quot;https://www.varonis.com/blog/searchleak&quot;&gt;SearchLeak&lt;/a&gt;, remediated by Microsoft as CVE-2026-42824. &lt;a href=&quot;#fnref:searchleak&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:ponemon&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Ponemon Institute and DTEX, &lt;a href=&quot;https://ponemon.dtex.ai/&quot;&gt;2026 Cost of Insider Risks Global Report&lt;/a&gt;. &lt;a href=&quot;#fnref:ponemon&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:caep&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://openid.net/specs/openid-caep-1_0-final.html&quot;&gt;OpenID Continuous Access Evaluation Profile 1.0&lt;/a&gt;, final; &lt;a href=&quot;https://openid.net/wg/sharedsignals/&quot;&gt;OpenID Shared Signals working group&lt;/a&gt;, final specifications approved September 2025. &lt;a href=&quot;#fnref:caep&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:shirudo&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;OpenAI, &lt;a href=&quot;https://openai.com/index/introducing-shirudo/&quot;&gt;Introducing Shirudo&lt;/a&gt;, 23 November 2026; &lt;a href=&quot;https://docs.shirudo.dev/start/what-is-shirudo.html&quot;&gt;Shirudo documentation&lt;/a&gt;, pre-release (0.0.0-dev), read November 2026. &lt;a href=&quot;#fnref:shirudo&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:crowdstrike&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;CrowdStrike, &lt;a href=&quot;https://www.crowdstrike.com/wp-content/uploads/2024/08/Channel-File-291-Incident-Root-Cause-Analysis-08.06.2024.pdf&quot;&gt;Channel File 291 Incident: External Technical Root Cause Analysis&lt;/a&gt;, 6 August 2024; Microsoft, &lt;a href=&quot;https://blogs.microsoft.com/blog/2024/07/20/helping-our-customers-through-the-crowdstrike-outage/&quot;&gt;Helping our customers through the CrowdStrike outage&lt;/a&gt;, 20 July 2024. &lt;a href=&quot;#fnref:crowdstrike&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Tue, 24 Nov 2026 00:00:00 +0000</pubDate>
        <link>https://platformatory.io/blog/identity-for-ai-agents/</link>
        <guid isPermaLink="true">https://platformatory.io/blog/identity-for-ai-agents/</guid>
        
        
        <category>Security</category>
        
        <category>AI</category>
        
        <category>Platform Engineering</category>
        
        <category>API Management</category>
        
      </item>
    
      <item>
        <title>Agentic AI on Kafka and Flink: What Agents Really Change in Streaming</title>
        <description>&lt;p&gt;I’d been heads-down for a while, and Current ‘26 was a useful window onto what the rest of the streaming world had been building. For a few months I’d been curious what Redpanda was shipping, and what exactly an agentic data plane is. I also attended a Confluent hackathon, which turned out to be mostly a guided copy-and-paste exercise, and came away knowing what Lightning Tables are.&lt;/p&gt;

&lt;p&gt;What everyone seems to be up to is agents: the major streaming vendors all shipped agent infrastructure in 2026. Confluent added a fifth pillar to its platform, called Query, and put agents on top of it.&lt;sup id=&quot;fnref:streamhouse&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:streamhouse&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; Redpanda built an agentic data plane,&lt;sup id=&quot;fnref:redpanda&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:redpanda&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; and Apache Flink grew an agents sub-project.&lt;sup id=&quot;fnref:flink-agents&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:flink-agents&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt; Read against their own documentation, most of it is a pattern Kafka users have run for years under another name. A few things are new, and they’re mostly missing from the launch slides.&lt;/p&gt;

&lt;p&gt;The question for anyone running Kafka and Flink is which of these launches to buy, which to build, and which to ignore. Sorting them takes two piles: familiar patterns under a new name, and use-cases that genuinely didn’t exist before agents.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;The pivot has a cause. The log itself stopped being something a vendor could charge a premium for.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Diskless topics.&lt;/strong&gt; Apache Kafka accepted KIP-1150 on 2 March 2026, putting object-storage topics on the upstream road map.&lt;sup id=&quot;fnref:kip1150&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kip1150&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Forks and rewrites.&lt;/strong&gt; StreamNative shipped Ursa for Kafka in April 2026, a fork of Kafka 4.2 and later on lakehouse-native storage.&lt;sup id=&quot;fnref:ursa&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:ursa&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt;  Aiven, AutoMQ, WarpStream and Bufstream sell their own takes on the same idea.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Queues in the box.&lt;/strong&gt; Share groups, Kafka’s native queue, have been production-ready since 4.2.&lt;sup id=&quot;fnref:share&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:share&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Consolidation.&lt;/strong&gt; Confluent now describes itself as “an IBM company”.&lt;sup id=&quot;fnref:streamhouse:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:streamhouse&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When the protocol is common property and storage is moving to object storage, the margin moves up the stack, to serving, processing and governance. My read is that agents are the story that sells those layers. Each product still has to be judged on what it does that the layer beneath it couldn’t.&lt;/p&gt;

&lt;h2 id=&quot;mostly-familiar-patterns&quot;&gt;Mostly familiar patterns&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;4 November 2026: Lightning Tables and the Real-Time Context Engine.&lt;/strong&gt; Confluent’s Streamhouse adds Query as a fifth pillar beside Stream, Connect, Process and Govern. At its centre is Lightning Tables: switch it on for a topic and the topic becomes a read-only table, refreshed within about 100 ms, queryable from SQL, HTTP, the CLI, JDBC and MCP. Confluent’s own tests put queries at 10 to 100 ms and above 1,000 per second, on AWS only for now.&lt;sup id=&quot;fnref:streamhouse:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:streamhouse&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:lt&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:lt&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt;  The Real-Time Context Engine is the MCP face of the same tables: an agent lists the topics, reads their schemas and writes its own SQL.&lt;sup id=&quot;fnref:rtce&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:rtce&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;8&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;The SQL is single-table. Key lookups, filters, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ORDER BY&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LIMIT&lt;/code&gt; work; joins, aggregates, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;GROUP BY&lt;/code&gt; and subqueries are rejected.&lt;sup id=&quot;fnref:lt-sql&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:lt-sql&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;9&lt;/a&gt;&lt;/sup&gt;  Anything worth asking still gets computed upstream in Flink and written to a topic first. ksqlDB’s pull queries already fetched “the current state of a materialized view”,&lt;sup id=&quot;fnref:ksqldb&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:ksqldb&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;10&lt;/a&gt;&lt;/sup&gt;  and Kafka Streams has served its state stores to applications for years. The docs are admirably plain about the limits. A managed, MCP-addressable materialized view is a convenience, and an agent reading a schema and writing SQL against it is what a catalog and a SQL client have always offered. The “context” here is business state (orders, stock, accounts); conversation memory for agents is a different problem, and the product doesn’t claim to solve it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;19 May 2026: Streaming Agents, generally available.&lt;/strong&gt; Confluent’s event-driven agents run inside Flink and Kafka pipelines.&lt;sup id=&quot;fnref:q2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:q2&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt;  Flink Agents, an Apache Flink sub-project, does the same in the open and keeps agent memory in Flink state.&lt;sup id=&quot;fnref:flink-agents:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:flink-agents&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;  Stripped of the name, this is model inference inside a stream operator, keyed state used as memory, and an event-driven service around it. Each piece is old; a language model as the operator raises a problem of its own, which comes back in the second pile.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The rest of the year.&lt;/strong&gt; The pattern holds:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Forecasts and anomalies that trigger an agent&lt;/strong&gt; to restock or escalate:&lt;sup id=&quot;fnref:q3&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:q3&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;12&lt;/a&gt;&lt;/sup&gt; complex event processing with an alert that runs a runbook.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Share groups for agent tasks:&lt;/strong&gt; a work queue, and a weak one for the jobs agents hand each other (below).&lt;sup id=&quot;fnref:share:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:share&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;AI gateways and agent data planes:&lt;/strong&gt; an API gateway and an identity provider. Redpanda’s version issues short-lived, agent-bound tokens and logs every agent interaction for replay, which points at a real problem picked up below.&lt;sup id=&quot;fnref:redpanda:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:redpanda&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Agent action logs:&lt;/strong&gt; event sourcing.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Managed MCP servers and agent skills for coding assistants:&lt;/strong&gt; developer tooling, welcome and unrelated to streaming.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Diskless storage and the “streamhouse”:&lt;/strong&gt; storage cost architecture, marketed alongside the agent features.&lt;/li&gt;
&lt;/ul&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;The launch&lt;/th&gt;
      &lt;th&gt;What it was already called&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Lightning Tables, context engines&lt;/td&gt;
      &lt;td&gt;Materialized-view serving (ksqlDB pull queries, Kafka Streams state stores)&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Streaming Agents, Flink Agents&lt;/td&gt;
      &lt;td&gt;Inference in a stream operator, keyed state, an event-driven service&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Forecast or anomaly triggers an agent&lt;/td&gt;
      &lt;td&gt;Complex event processing and a runbook&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Share groups for agent tasks&lt;/td&gt;
      &lt;td&gt;A work queue&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;AI gateway, agentic data plane&lt;/td&gt;
      &lt;td&gt;An API gateway and an identity provider&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Agent action log&lt;/td&gt;
      &lt;td&gt;Event sourcing&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Diskless, streamhouse&lt;/td&gt;
      &lt;td&gt;Storage cost architecture&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;&lt;em&gt;Updated 24 November 2026: share groups and agent-to-agent traffic.&lt;/em&gt; Kafka as the transport between agents has been pitched since Confluent’s April 2025 case that Agent2Agent needs it: one event backbone, where agents publish what they know and subscribe to what they need.&lt;sup id=&quot;fnref:a2a-kafka&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:a2a-kafka&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;13&lt;/a&gt;&lt;/sup&gt;  For the jobs agents hand each other, the fit is poor, share groups included.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Exclusive jobs.&lt;/strong&gt; Share groups do track each record. A consumer acquires it under a lock, 30 seconds by default, then accepts, releases or rejects it, and the broker counts deliveries.&lt;sup id=&quot;fnref:kip932&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kip932&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;14&lt;/a&gt;&lt;/sup&gt; An agent task that outlives the lock goes back to the pool and is handed out again unless the consumer keeps renewing it,&lt;sup id=&quot;fnref:kip1222&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kip1222&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;15&lt;/a&gt;&lt;/sup&gt; and after five attempts the record is archived, out of the queue, with no dead-letter queue until KIP-1191, accepted but not yet released, ships.&lt;sup id=&quot;fnref:kip1191&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kip1191&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Head-of-line blocking.&lt;/strong&gt; Each partition has a capped window of records in flight. Once it fills, fetches return nothing until acquired records are settled, so a few slow jobs hold up the fast ones behind them.&lt;sup id=&quot;fnref:kip932:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kip932&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;14&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Selective fan-out.&lt;/strong&gt; Neither consumer groups nor share groups filter. Every member sees the whole topic, so routing work to the agents that can handle it takes a topic per audience or filtering in the client.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Foreign parties.&lt;/strong&gt; A Kafka client talks to each partition’s leader directly, so every broker has to be reachable by every client. Exposing that beyond a private network takes a Kafka-aware proxy that routes by SNI, a private endpoint per broker, or an HTTP front end, and each puts a gateway at the edge that speaks some other protocol anyway.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Share groups suit what the Kafka project itself recommends them for, records processed one at a time:&lt;sup id=&quot;fnref:kafka42&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kafka42&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;17&lt;/a&gt;&lt;/sup&gt; short, idempotent work fanned out from a topic you already have. Agent-to-agent calls across a boundary belong on A2A over HTTP, with a job queue or a durable workflow engine behind them. Kafka earns its place behind that boundary, as the log every agent’s actions and outputs are recorded to.&lt;/p&gt;

&lt;h2 id=&quot;five-things-agents-genuinely-change-in-streaming&quot;&gt;Five things agents genuinely change in streaming&lt;/h2&gt;

&lt;p&gt;The new pile is shorter, and most of it is about the consumer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Replay no longer reproduces.&lt;/strong&gt; Streaming’s deepest promise is that a log replayed through deterministic operators gives the same result. Exactly-once covers Flink’s state and Kafka’s offsets, and a model call sits outside both. Replay a pipeline whose operator is an agent and it makes the calls again, gets different answers, and bills you a second time. The fix is to treat model output as data: write every request, response and model version to the log, and have replay read the recorded output instead of asking again. Once that exists, a second capability follows. Fork the log at a point in history and run a new agent version against everything that happened since, which is a backtest for agents. AgileLog, at SOSP this year, proposes a shared log with forking primitives for exactly this.&lt;sup id=&quot;fnref:agilelog&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:agilelog&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;18&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The consumer acts for someone.&lt;/strong&gt; A service account does a fixed job, and its permissions are decided when the service is designed. An agent acts on a user’s delegated authority and chooses its actions at runtime, so the authorization decision moves to the moment of each action, and the audit has to record why it acted (the prompt, the context it retrieved, the tool it chose) as well as what it did. Redpanda’s agent-bound tokens and replayable interaction logs are the most direct answer shipped so far.&lt;sup id=&quot;fnref:redpanda:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:redpanda&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Every message costs money.&lt;/strong&gt; Backpressure used to be about throughput. When the consumer is a model, it is also about the bill. With \(r\) events a second, a fraction \(f\) of them sent to a model, \(t\) tokens a call and a blended price of \(p\) per token, the daily cost is&lt;/p&gt;

\[C_{\text{day}} = r \cdot f \cdot t \cdot p \cdot 86{,}400\]

&lt;p&gt;For a modest security or commerce topic at 50,000 events a second, sending 1% to a model at 2,000 tokens a call and an assumed $3 per million tokens (illustrative figures throughout):&lt;/p&gt;

\[C_{\text{day}} = 50{,}000 \times 0.01 \times 2{,}000 \times \frac{\$3}{10^6} \times 86{,}400 \approx \$259{,}000\]

&lt;p&gt;A topic that spikes tenfold multiplies the bill tenfold. Which events earn a model call (sampling, tiering, caching) becomes an operator’s decision with a price on it, alongside partition counts and retention.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Threat response at machine speed.&lt;/strong&gt; Kafka in front of the SIEM is an old idea: security data pipelines that route, cut and enrich logs before indexing built a business out of it, with Cribl alone reported past $200 million in annual recurring revenue.&lt;sup id=&quot;fnref:cribl&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:cribl&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;19&lt;/a&gt;&lt;/sup&gt;  The adversary is what changed. In the espionage campaign Anthropic disrupted in late 2025, AI performed 80 to 90% of the work, at peak making thousands of requests, often several a second.&lt;sup id=&quot;fnref:anthropic&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:anthropic&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;20&lt;/a&gt;&lt;/sup&gt;  Response measured in hours stops being good enough against that, and detection is moving into the pipeline: SOC Prime’s DetectFlow runs Sigma rules with Flink on live Kafka streams, before the data reaches the SIEM.&lt;sup id=&quot;fnref:detectflow&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:detectflow&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;21&lt;/a&gt;&lt;/sup&gt;  The layers are network flows, DNS, identity and endpoint signals, far more than observability telemetry, and the cost equation above rules out sending all of it to a model. The shape that works is tiered: cheap rules and models on every record, and an agent triaging the small residue that’s left.&lt;/p&gt;

&lt;p&gt;That makes Kafka and Flink necessary infrastructure where detection fans out to several detectors, correlates signals across layers, or needs to replay history against a new rule. The usual objection is that a broker is one more hop before detection. That stops holding when the broker runs next to the workload, which is a story for another day.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Updated 24 November 2026: runtime shielding.&lt;/em&gt; Response is moving onto the host too. Shirudo, an open-source Linux runtime from Cisco and OpenAI released on 23 November 2026 and still pre-release, lets an agent write a small eBPF program, or a bytecode check inside a running JVM, that blocks a vulnerable code path until the real patch lands. Its launch demonstration blocked a Java4Shell exploit against a running Elasticsearch without a restart.&lt;sup id=&quot;fnref:shirudo&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:shirudo&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;22&lt;/a&gt;&lt;/sup&gt;  Delivery stays with the operator: shields are signed with the operator’s own key, served from its own registry and pulled by every host about once a minute by default, and a shield copied in by hand loads offline.&lt;sup id=&quot;fnref:shirudo-docs&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:shirudo-docs&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;23&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;It’s fantastic technology, and still speculative. The dependence it adds is on the frontier model that writes the shield, since the runtime “does not judge what a upatch does”:&lt;sup id=&quot;fnref:shirudo-docs:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:shirudo-docs&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;23&lt;/a&gt;&lt;/sup&gt; an operator approving one vouches for kernel code a model wrote against a disclosure that may be hours old. The failure it invites is on record. On 19 July 2024, a CrowdStrike content update, configuration data delivered from the cloud and interpreted by its kernel driver, hit an estimated 8.5 million Windows machines, and the fixes that followed were staged rollout rings and customer control over each update.&lt;sup id=&quot;fnref:crowdstrike&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:crowdstrike&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;24&lt;/a&gt;&lt;/sup&gt;  BGP and DNS taught the same lesson at internet scale: the systems every host trusts automatically have caused some of the largest outages.&lt;sup id=&quot;fnref:bgp-dns&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:bgp-dns&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;25&lt;/a&gt;&lt;/sup&gt;  Expect shields to join them unless they move through rings like any other change.&lt;/p&gt;

&lt;p&gt;Keeping attackers out still comes first. Where a workload can tolerate it, ring-fence it with an air-gap, and treat shields as a stopgap inside the fence for the code paths an insider or a poisoned update can still reach. Shirudo runs offline, so the two compose.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Continual learning from agent traces.&lt;/strong&gt; Online learning on Kafka and Flink is established practice. ByteDance’s Monolith logged user actions to Kafka, joined features in Flink and updated model parameters as the data arrived, back in 2022.&lt;sup id=&quot;fnref:monolith&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:monolith&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;26&lt;/a&gt;&lt;/sup&gt;  Continual learning for agents mostly changes prompts, retrieval, memory, tools and routing, and only sometimes weights, in a governed loop from production traces.&lt;sup id=&quot;fnref:arize&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:arize&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;27&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/agentic-ai-streaming-use-cases/continual-learning.svg&quot; alt=&quot;Agent traces flow into Kafka; Flink joins late labels and grader scores by trace ID and watches for drift; fast updates to memory, prompts and tools go straight back to the agent; traces and labels land in Iceberg as training and regression sets; evals gate promotion or rollback; weight retraining reads from Iceberg in batch.&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Kafka’s part in that loop is specific:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Trace capture.&lt;/strong&gt; Every request, tool call, response and model version, which is the same record that makes replay reproducible.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Late-label joins.&lt;/strong&gt; Feedback, grader scores and outcomes arrive minutes or days later; Flink joins them to the trace by ID.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Drift detection.&lt;/strong&gt; Shifts in inputs, tool-call mix and failure clusters, while they’re happening.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Fast updates.&lt;/strong&gt; Memory, retrieval and prompt changes that ship without retraining.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The training and regression sets belong in Iceberg, large trajectories belong in object storage with a pointer in the message, and for agents, weight retraining runs in batch, where Kafka’s milliseconds buy nothing. The loop needs numbers to steer by:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Freshness:&lt;/strong&gt; event-to-trainable lag, and time from a fix to its promotion.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Labels:&lt;/strong&gt; label delay, coverage, and grader agreement with humans.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Quality:&lt;/strong&gt; regression-set pass rate, held-out regressions, calibration.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Drift:&lt;/strong&gt; input distribution, tool-call distribution, new failure clusters.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Safety:&lt;/strong&gt; rollback rate, and canary deltas against the current version.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cost:&lt;/strong&gt; tokens per resolved task.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The recorded model outputs that make replay honest are the same records this loop learns from.&lt;/p&gt;

&lt;h2 id=&quot;what-each-is-worth&quot;&gt;What each is worth&lt;/h2&gt;

&lt;p&gt;Ranking both piles by what they’re worth and what they cost changes the reading order. The scores are my own assessment, from 1 to 5, for a team already running Kafka and Flink. Value is the upside if it works: revenue, risk avoided, quality, money saved. Cost is what it takes to adopt and run: new spend, operations, people and tokens.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/agentic-ai-streaming-use-cases/value-vs-cost.svg&quot; alt=&quot;Thirteen opportunities plotted by business value against cost to adopt, each from 1 to 5. High value at low cost: the action log (value 4, cost 1.3), record and replay of model outputs (4.2, 2), and budget backpressure (3.6, 1.8). High value at high cost: threat response (5, 4.5), continual learning (4.5, 3.6), the delegated principal (4.2, 3.4) and, near the line, diskless storage (3.7, 2.8). Low value for their cost: context engines (2, 3) and Streaming and Flink Agents (2, 4). Share groups for agent tasks are cheap and of low value (2, 1). New items are orange triangles, familiar patterns grey circles.&quot; /&gt;
&lt;em&gt;My assessment, scored 1 to 5, November 2026.&lt;/em&gt;&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Opportunity&lt;/th&gt;
      &lt;th&gt;Pile&lt;/th&gt;
      &lt;th&gt;Value&lt;/th&gt;
      &lt;th&gt;Cost&lt;/th&gt;
      &lt;th&gt;Why&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Threat response at machine speed&lt;/td&gt;
      &lt;td&gt;New&lt;/td&gt;
      &lt;td&gt;5&lt;/td&gt;
      &lt;td&gt;4.5&lt;/td&gt;
      &lt;td&gt;Breach and regulatory cost avoided; flow-level volume and round-the-clock operations&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Continual learning&lt;/td&gt;
      &lt;td&gt;New&lt;/td&gt;
      &lt;td&gt;4.5&lt;/td&gt;
      &lt;td&gt;3.6&lt;/td&gt;
      &lt;td&gt;Agent quality compounds; labelling, graders and evals cost people&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Delegated principal&lt;/td&gt;
      &lt;td&gt;New&lt;/td&gt;
      &lt;td&gt;4.2&lt;/td&gt;
      &lt;td&gt;3.4&lt;/td&gt;
      &lt;td&gt;Often the gate to production; identity plumbing across teams&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Record and replay of model outputs&lt;/td&gt;
      &lt;td&gt;New&lt;/td&gt;
      &lt;td&gt;4.2&lt;/td&gt;
      &lt;td&gt;2&lt;/td&gt;
      &lt;td&gt;Reproducible, testable agents; mostly design discipline and storage&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Agent action log&lt;/td&gt;
      &lt;td&gt;Old&lt;/td&gt;
      &lt;td&gt;4&lt;/td&gt;
      &lt;td&gt;1.3&lt;/td&gt;
      &lt;td&gt;Audit, evals and replay start here, on a topic you already have&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Diskless storage&lt;/td&gt;
      &lt;td&gt;Old&lt;/td&gt;
      &lt;td&gt;3.7&lt;/td&gt;
      &lt;td&gt;2.8&lt;/td&gt;
      &lt;td&gt;A real saving on cross-zone traffic; a migration, and no upstream release yet&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Budget backpressure&lt;/td&gt;
      &lt;td&gt;New&lt;/td&gt;
      &lt;td&gt;3.6&lt;/td&gt;
      &lt;td&gt;1.8&lt;/td&gt;
      &lt;td&gt;Its value is the bill it cuts; mostly a policy layer&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Share groups for agent tasks&lt;/td&gt;
      &lt;td&gt;Old&lt;/td&gt;
      &lt;td&gt;2&lt;/td&gt;
      &lt;td&gt;1&lt;/td&gt;
      &lt;td&gt;Free from Kafka 4.2; lock timeouts, no dead-letter queue and no filters make a poor job queue for agents&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;AI gateway, agent data plane&lt;/td&gt;
      &lt;td&gt;Old&lt;/td&gt;
      &lt;td&gt;3&lt;/td&gt;
      &lt;td&gt;2.5&lt;/td&gt;
      &lt;td&gt;Governance is needed anyway; buying beats building&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Forecast or anomaly triggers an agent&lt;/td&gt;
      &lt;td&gt;Old&lt;/td&gt;
      &lt;td&gt;2.8&lt;/td&gt;
      &lt;td&gt;2&lt;/td&gt;
      &lt;td&gt;Cheap complex event processing; the agent adds little over a runbook&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Context engines&lt;/td&gt;
      &lt;td&gt;Old&lt;/td&gt;
      &lt;td&gt;2&lt;/td&gt;
      &lt;td&gt;3&lt;/td&gt;
      &lt;td&gt;New managed spend, Flink still upstream, single-table queries&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Streaming and Flink Agents&lt;/td&gt;
      &lt;td&gt;Old&lt;/td&gt;
      &lt;td&gt;2&lt;/td&gt;
      &lt;td&gt;4&lt;/td&gt;
      &lt;td&gt;Model calls in the hot path, replay cost, operational coupling&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;MCP tooling for coding assistants&lt;/td&gt;
      &lt;td&gt;Old&lt;/td&gt;
      &lt;td&gt;1.5&lt;/td&gt;
      &lt;td&gt;1&lt;/td&gt;
      &lt;td&gt;Pleasant and free with the platform&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;The cheapest wins are in the new pile, or rest on infrastructure you already own. Recording model outputs in the action log and putting a budget on model calls pay off three times, in audit, in evals and on the bill, and continual learning is built on the same records. At the illustrative $259,000 a day above, sampling out a tenth of the model calls saves about $26,000 a day. The three strategic bets (threat response, continual learning and the delegated principal) carry the most value and the most cost, and none of them is a single product you can buy: each is an integration project. The headline launches, agents inside the pipeline and context engines, score lowest for what they cost, unless the data is born as events and decisions turn over in seconds. Diskless storage is the familiar pattern worth chasing, for savings that have little to do with agents.&lt;/p&gt;

&lt;h2 id=&quot;which-agentic-streaming-launch-to-buy-and-when&quot;&gt;Which agentic streaming launch to buy, and when&lt;/h2&gt;

&lt;p&gt;As of November 2026, the choice follows where the data is born and what the agent does with it:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;The data is born as events and the decision changes within seconds&lt;/strong&gt; (fraud, stock, dispatch, security): stream-native serving earns its keep. Check whether single-table queries are enough before buying a serving layer that can’t join.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The agent needs joins and aggregates over live data:&lt;/strong&gt; a streaming database (Materialize, RisingWave, Feldera) or Flink writing into a database you already run.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The context lives in systems of record&lt;/strong&gt; (the CRM record, the contract, the ticket): MCP on the source or a read replica, or change data capture into a store you operate. A stream adds a copy without adding freshness the agent can use.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The agent needs crash-safety, long waits and retries:&lt;/strong&gt; a durable execution engine (Temporal, Restate, DBOS) handles model calls as side effects more naturally than an agent inside a stream operator.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Agent tasks need dispatching:&lt;/strong&gt; a job queue or a durable execution engine; share groups only for short, idempotent work on Kafka 4.2 or later.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Agents need an action log:&lt;/strong&gt; a topic you already have, with model outputs recorded so the log replays.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Security:&lt;/strong&gt; Kafka and Flink where detection fans out, correlates or replays; filtering at the sensor everywhere else.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Continual learning:&lt;/strong&gt; Kafka carries traces and joins labels, and Iceberg keeps what the models learn from.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These piles would shift if the products changed. A serving layer that joins and searches, a log that records and replays model outputs as a primitive, or budget-aware backpressure in the broker would each move something from the second pile into a product worth buying. None has shipped yet. Until one does, most of what’s being sold as agent infrastructure is infrastructure you already run.&lt;/p&gt;

&lt;script defer=&quot;&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js&quot;&gt;&lt;/script&gt;

&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:streamhouse&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://newsroom.ibm.com/2026-11-04-confluent-introduces-its-streamhouse-architecture-to-power-ai-with-real-time-business-context&quot;&gt;Confluent introduces its Streamhouse architecture&lt;/a&gt;, IBM Newsroom, 4 November 2026. Performance figures are Confluent’s internal testing. &lt;a href=&quot;#fnref:streamhouse&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:streamhouse:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:streamhouse:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:redpanda&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.redpanda.com/press/redpanda-acquires-oxla-launches-new-agentic-data-plane-for-enterprise-data&quot;&gt;Redpanda acquires Oxla, launches Agentic Data Plane&lt;/a&gt;, Redpanda, 28 October 2025. &lt;a href=&quot;#fnref:redpanda&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:redpanda:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:redpanda:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:flink-agents&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://siliconangle.com/2025/10/15/ververica-debuts-flink-agents-bring-autonomous-ai-real-time-data-streams/&quot;&gt;Ververica debuts Flink Agents&lt;/a&gt;, SiliconANGLE, 15 October 2025. &lt;a href=&quot;#fnref:flink-agents&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:flink-agents:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kip1150&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://softwaremill.com/diskless-kafka-object-storage-kip-1150-and-kafkas-future/&quot;&gt;Diskless Kafka: what happens when brokers stop owning the data?&lt;/a&gt;, SoftwareMill; &lt;a href=&quot;https://www.kai-waehner.de/blog/2026/09/21/data-streaming-trends-q3-2026-what-changes-through-2027/&quot;&gt;Data streaming trends Q3 2026&lt;/a&gt;, Kai Waehner, 21 September 2026. &lt;a href=&quot;#fnref:kip1150&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:ursa&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.businesswire.com/news/home/20260407143701/en/StreamNative-Introduces-Lakestream-Architecture-and-Launches-Native-Kafka-Service-Unifying-Streaming-and-the-Lakehouse&quot;&gt;StreamNative introduces Lakestream architecture and launches native Kafka service&lt;/a&gt;, Business Wire, 7 April 2026. &lt;a href=&quot;#fnref:ursa&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:share&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://thoughtworks.com/radar/platforms/kafka-share-groups&quot;&gt;Kafka share groups&lt;/a&gt;, Thoughtworks Technology Radar, 4 November 2026; &lt;a href=&quot;https://kafka.apache.org/42/getting-started/upgrade/&quot;&gt;Apache Kafka 4.2 upgrade notes&lt;/a&gt;: “production-ready in Apache Kafka 4.2”. &lt;a href=&quot;#fnref:share&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:share:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:lt&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.confluent.io/cloud/current/lightning-tables/overview.html&quot;&gt;Lightning Tables in Confluent Cloud&lt;/a&gt;, Confluent documentation, updated 16 November 2026. &lt;a href=&quot;#fnref:lt&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:rtce&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.confluent.io/cloud/current/ai/real-time-context-engine/query-data.html&quot;&gt;Query a Lightning Table with MCP&lt;/a&gt;, Confluent documentation. &lt;a href=&quot;#fnref:rtce&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:lt-sql&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.confluent.io/cloud/current/lightning-tables/query/sql-reference.html&quot;&gt;Lightning Tables SQL reference&lt;/a&gt;, Confluent documentation, updated 16 November 2026. &lt;a href=&quot;#fnref:lt-sql&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:ksqldb&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.ksqldb.io/en/latest/concepts/queries/&quot;&gt;Queries&lt;/a&gt;, ksqlDB documentation. &lt;a href=&quot;#fnref:ksqldb&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:q2&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.confluent.io/blog/2026-q2-confluent-cloud-launch/&quot;&gt;Confluent Cloud Q2 2026 launch&lt;/a&gt;, Confluent, 19 May 2026. &lt;a href=&quot;#fnref:q2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:q3&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.confluent.io/blog/2026-q3-confluent-intelligence-ai-update/&quot;&gt;New in Confluent Intelligence and AI tools&lt;/a&gt;, Confluent, Q3 2026. &lt;a href=&quot;#fnref:q3&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:a2a-kafka&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Sean Falconer, &lt;a href=&quot;https://www.confluent.io/blog/google-agent2agent-protocol-needs-kafka/&quot;&gt;Why Google’s Agent2Agent protocol needs Apache Kafka&lt;/a&gt;, Confluent, 28 April 2025. &lt;a href=&quot;#fnref:a2a-kafka&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kip932&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://cwiki.apache.org/confluence/display/KAFKA/KIP-932%3A+Queues+for+Kafka&quot;&gt;KIP-932: Queues for Kafka&lt;/a&gt;: acquisition locks, delivery counts, a delivery attempt limit of 5 by default and a cap on in-flight records per share-partition; the lock default is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;share.record.lock.duration.ms&lt;/code&gt;, 30,000 ms, in the &lt;a href=&quot;https://kafka.apache.org/42/configuration/group-configs/&quot;&gt;Kafka 4.2 group configs&lt;/a&gt;. &lt;a href=&quot;#fnref:kip932&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:kip932:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kip1222&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://cwiki.apache.org/confluence/display/KAFKA/KIP-1222:+Acquisition+lock+timeout+renewal+in+share+consumer+explicit+mode&quot;&gt;KIP-1222: Acquisition lock timeout renewal in share consumer explicit mode&lt;/a&gt;. &lt;a href=&quot;#fnref:kip1222&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kip1191&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://cwiki.apache.org/confluence/display/KAFKA/KIP-1191%3A+Dead-letter+queues+for+share+groups&quot;&gt;KIP-1191: Dead-letter queues for share groups&lt;/a&gt;, accepted. &lt;a href=&quot;#fnref:kip1191&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kafka42&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://kafka.apache.org/42/getting-started/upgrade/&quot;&gt;Apache Kafka 4.2 upgrade notes&lt;/a&gt;: “Use share groups in cases where records are processed one at a time, rather than as part of an ordered stream.” &lt;a href=&quot;#fnref:kafka42&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:agilelog&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Bhat, Hong, Noguera, Ganesan and Alagappan, &lt;a href=&quot;https://arxiv.org/abs/2604.14590&quot;&gt;AgileLog: a forkable shared log for agents on data streams&lt;/a&gt;, SOSP 2026. &lt;a href=&quot;#fnref:agilelog&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:cribl&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://softwareanalyst.substack.com/p/market-guide-2025-the-rise-of-security&quot;&gt;Market guide 2025: the rise of security data pipelines&lt;/a&gt;, Software Analyst. &lt;a href=&quot;#fnref:cribl&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:anthropic&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://anthropic.com/news/disrupting-AI-espionage&quot;&gt;Disrupting the first reported AI-orchestrated cyber espionage campaign&lt;/a&gt;, Anthropic, 13 November 2025. &lt;a href=&quot;#fnref:anthropic&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:detectflow&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://www.helpnetsecurity.com/2026/03/12/soc-primes-detectflow-enterprise-moves-threat-detection-to-the-data-ingestion-layer/&quot;&gt;SOC Prime’s DetectFlow Enterprise moves threat detection to the data ingestion layer&lt;/a&gt;, Help Net Security, 12 March 2026. &lt;a href=&quot;#fnref:detectflow&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:shirudo&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;OpenAI, &lt;a href=&quot;https://openai.com/index/introducing-shirudo/&quot;&gt;Introducing Shirudo&lt;/a&gt;, 23 November 2026; Cisco, &lt;a href=&quot;https://blogs.cisco.com/news/expanding-the-defenders-window-with-self-defending-infrastructure&quot;&gt;Expanding the defender’s window with self-defending infrastructure&lt;/a&gt;, 23 November 2026. &lt;a href=&quot;#fnref:shirudo&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:shirudo-docs&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://docs.shirudo.dev/start/what-is-shirudo.html&quot;&gt;Shirudo documentation&lt;/a&gt; and &lt;a href=&quot;https://github.com/shirudo-dev/shirudo&quot;&gt;repository&lt;/a&gt;, pre-release (0.0.0-dev), read November 2026; it requires a patched bpf-next kernel and a TPM 2.0. &lt;a href=&quot;#fnref:shirudo-docs&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:shirudo-docs:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:crowdstrike&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;CrowdStrike, &lt;a href=&quot;https://www.crowdstrike.com/wp-content/uploads/2024/08/Channel-File-291-Incident-Root-Cause-Analysis-08.06.2024.pdf&quot;&gt;Channel File 291 Incident: External Technical Root Cause Analysis&lt;/a&gt;, 6 August 2024; Microsoft, &lt;a href=&quot;https://blogs.microsoft.com/blog/2024/07/20/helping-our-customers-through-the-crowdstrike-outage/&quot;&gt;Helping our customers through the CrowdStrike outage&lt;/a&gt;, 20 July 2024. &lt;a href=&quot;#fnref:crowdstrike&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:bgp-dns&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Meta, &lt;a href=&quot;https://engineering.fb.com/2021/10/05/networking-traffic/outage-details/&quot;&gt;More details about the October 4 outage&lt;/a&gt;, 5 October 2021 (a backbone command, then DNS servers withdrawing their BGP advertisements); AWS, &lt;a href=&quot;https://aws.amazon.com/message/101925/&quot;&gt;Summary of the Amazon DynamoDB service disruption in US-EAST-1&lt;/a&gt;, October 2025 (an empty DNS record from DynamoDB’s DNS automation). &lt;a href=&quot;#fnref:bgp-dns&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:monolith&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://arxiv.org/abs/2209.07663&quot;&gt;Monolith: real time recommendation system with collisionless embedding table&lt;/a&gt;, ByteDance, 2022. &lt;a href=&quot;#fnref:monolith&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:arize&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;a href=&quot;https://arize.com/resources/continual-learning/&quot;&gt;Continual learning for AI agents and LLM systems&lt;/a&gt;, Arize, reviewed 16 August 2026. &lt;a href=&quot;#fnref:arize&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Sun, 22 Nov 2026 00:00:00 +0000</pubDate>
        <link>https://platformatory.io/blog/agentic-ai-streaming-use-cases/</link>
        <guid isPermaLink="true">https://platformatory.io/blog/agentic-ai-streaming-use-cases/</guid>
        
        
        <category>AI</category>
        
        <category>Kafka</category>
        
        <category>Stream Processing</category>
        
        <category>Apache Flink</category>
        
      </item>
    
      <item>
        <title>Running Agentic AI as an Enterprise Platform</title>
        <description>&lt;p&gt;In 2021 we published a &lt;a href=&quot;/blog/platform-engineering-manifesto/&quot;&gt;platform engineering manifesto&lt;/a&gt; with a deliberately cheeky teaser: &lt;em&gt;Platform Engineering is dead. Long live platform engineering!&lt;/em&gt; The case was short. A platform team is justified once an engineering organisation outgrows the Dunbar number. Its job is to extract cross-cutting concerns once, instead of in every team. Its success shows up in three numbers: developer satisfaction, platform usage, and time to first production deployment. Its failure mode is a “mess of 99 problems cherrypicked straight from the CNCF landscape graveyard of tools”.&lt;/p&gt;

&lt;p&gt;Five years on, the list of 99 problems has been rewritten, and most of the new entries are agents: in support queues, claims desks and ops runbooks, and most visibly in engineering. A CTO who has bought coding-agent seats for every team now has a few hundred autonomous actors opening pull requests, a few dozen MCP servers that nobody registered, three AI gateways, two harnesses per team, and a token bill with no owner. The Dunbar argument also breaks: agents have no Dunbar number, and nothing stops one engineer from starting fifty of them before lunch.&lt;/p&gt;

&lt;p&gt;Which leaves that CTO with one question: &lt;strong&gt;what does it take to run agentic AI as a platform for the whole enterprise?&lt;/strong&gt; The software factory is the place to answer it first. Agents already work there at volume, and a bad change shows up in a queue you can measure.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;Platform engineering has shifted twice already: from infrastructure tribes run as a shared service, to the platform as a product, with self-service golden paths for developers.&lt;sup id=&quot;fnref:pe-history&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:pe-history&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; Running agents is the third shift (Platform Engineering 3.0, if you count from the shared-services teams; counted from internal developer platforms it’s the second, and “3.0” elsewhere means AI &lt;em&gt;inside&lt;/em&gt; the platform&lt;sup id=&quot;fnref:pe-numbering&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:pe-numbering&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;). The consumers are now developers &lt;em&gt;and&lt;/em&gt; agents, agents are also workloads the platform hosts, and the resources it governs are models, tokens, tools, context and non-human identities. A developer reads the docs, files a ticket when the golden path is wrong, and has a manager. An agent does none of those things, will run the same wrong path ten thousand times overnight, and acts with whatever authority it was handed.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;What most enterprises have today is craft production with better tools. Every team picks its own machine and sets it up its own way, so quality depends on the craftsman. The numbers come mostly from surveys run by vendors who sell the cure, so treat them as directional:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Agents per organisation:&lt;/strong&gt; a mean of about 37 in December 2025, with the estate roughly doubling in four months.&lt;sup id=&quot;fnref:gravitee&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:gravitee&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Unmonitored agents:&lt;/strong&gt; 47% of the roughly 3 million agents deployed by surveyed firms were not actively monitored or secured. 88% of organisations reported a confirmed or suspected agent-related security or privacy incident in the prior year.&lt;sup id=&quot;fnref:gravitee:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:gravitee&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Accountability:&lt;/strong&gt; only 28% of organisations can trace an agent’s action back to a human sponsor.&lt;sup id=&quot;fnref:csa&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:csa&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Tooling sprawl:&lt;/strong&gt; public registries list over 20,000 MCP servers.&lt;sup id=&quot;fnref:mcp-count&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:mcp-count&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt; One curated list tracks more than 220 AI gateways.&lt;sup id=&quot;fnref:gateways&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:gateways&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Outcome (forecast):&lt;/strong&gt; over 40% of agentic AI projects cancelled by the end of 2027, on cost, unclear value or inadequate risk controls.&lt;sup id=&quot;fnref:gartner-40&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:gartner-40&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AI is an amplifier: it magnifies an organisation’s existing strengths and weaknesses, and a high-quality internal platform correlates directly with the ability to get value from it.&lt;sup id=&quot;fnref:dora&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:dora&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;8&lt;/a&gt;&lt;/sup&gt;  Without one, AI creates local pockets of productivity that get lost in downstream chaos. The evidence is a survey of nearly 5,000 technology professionals and a correlation, so it can’t prove the platform causes the gains. It does match what anyone who has watched a hundred agent-generated PRs queue behind four reviewers already suspects.&lt;/p&gt;

&lt;p&gt;AI makes code &lt;a href=&quot;/blog/ai-slop-coding-productivity/&quot;&gt;cheaper to write without making it much faster to ship&lt;/a&gt;, because the work moves to specs, evals and review. If that’s right, the open question is what has to be built so the moved work doesn’t pile up.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;Factories came from what was built around the machines. By 1905, Sakichi Toyoda’s power loom carried a device that stopped the machine the moment a weft thread broke or ran out.&lt;sup id=&quot;fnref:toyoda&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:toyoda&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;9&lt;/a&gt;&lt;/sup&gt; Before that, a broken thread meant a loom quietly weaving yards of defective cloth until someone noticed. Once the loom could stop itself, one operator could tend many machines. The idea became &lt;em&gt;jidoka&lt;/em&gt;, one of the two pillars of the Toyota Production System: build the check into the machine and stop the line at the first defect.&lt;sup id=&quot;fnref:jidoka&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:jidoka&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;10&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;Every industrialisation since has the same ingredients, and each one maps onto the software factory:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Interchangeable parts and standard interfaces&lt;/strong&gt;: MCP for tools, A2A between agents, OpenTelemetry for signals, one identity scheme.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Standard work&lt;/strong&gt;: the documented best way to do a task, which in the factory means context files, skills and golden paths that an agent loads instead of rediscovering.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Stopping the line on defects&lt;/strong&gt;: validation gates that fail a change before a human ever sees it.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;A measured yield&lt;/strong&gt;: good output per unit of input, tracked continuously.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Stripe is the clearest existence proof that this works for code. Its “minions” are one-shot, unattended coding agents, and over 1,300 pull requests merged each week at Stripe are written entirely by them, up from about a thousand ten days earlier.&lt;sup id=&quot;fnref:stripe1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:stripe1&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:stripe2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:stripe2&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;12&lt;/a&gt;&lt;/sup&gt;  Every PR is reviewed by a human. Around the agent, Stripe built a line:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Devboxes:&lt;/strong&gt; pre-warmed, ready in about 10 seconds with Stripe’s code and services loaded, and isolated from production and the internet.&lt;sup id=&quot;fnref:stripe1:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:stripe1&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Toolshed:&lt;/strong&gt; one internal MCP server shared by all of Stripe’s agents, with around 400–500 tools. Each agent gets a curated subset, and minions get a deliberately small default set.&lt;sup id=&quot;fnref:stripe2:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:stripe2&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;12&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:toolshed&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:toolshed&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;13&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Blueprints:&lt;/strong&gt; workflows defined in code that direct a run, mixing agent steps (implement the task, fix CI failures) with deterministic ones (run the linters, push) that never call a model. CI gets at most two rounds before the branch goes back to its human operator.&lt;sup id=&quot;fnref:stripe2:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:stripe2&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;12&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;StrongDM pushes the idea to its limit with a “dark factory”, a term borrowed from manufacturing for a factory that runs with the lights off. Its rule is that humans don’t review code. Humans write specifications and curate scenarios, and agents are validated against digital twins of systems like Okta and Slack.&lt;sup id=&quot;fnref:strongdm&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:strongdm&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;14&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:willison&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:willison&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;15&lt;/a&gt;&lt;/sup&gt; Its yardstick for a working factory is at least $1,000 of tokens per engineer per day.&lt;sup id=&quot;fnref:willison:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:willison&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;15&lt;/a&gt;&lt;/sup&gt; Its agents once produced a placeholder that passed the tests and did nothing.&lt;sup id=&quot;fnref:codex&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:codex&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt; That’s the defect jidoka exists to catch: in a lights-out factory the validation suite &lt;em&gt;is&lt;/em&gt; the definition of correct, and an incomplete suite ships incomplete software.&lt;/p&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;the-yield-equation&quot;&gt;The yield equation&lt;/h2&gt;

&lt;p&gt;Where the cost of a factory actually goes is simple enough to write down. Let an agent run cost \(c_{run}\) (tokens plus sandbox time). Let \(p\) be the fraction of runs that produce a pull request, \(m\) the fraction of those that merge, and \(c_{rev}\) the human cost of reviewing one pull request. Every run is paid for, every PR is reviewed, and only merged PRs count, so the cost per merged change is:&lt;/p&gt;

\[C_{merged} = \frac{c_{run}}{p \cdot m} + \frac{c_{rev}}{m}\]

&lt;p&gt;An illustrative case, with assumed inputs: \(c_{run} = \$5\), \(p = 0.6\), \(m = 0.7\), and 20 minutes of review at a loaded $90 an hour, so \(c_{rev} = \$30\).&lt;/p&gt;

\[C_{merged} = \frac{5}{0.42} + \frac{30}{0.7} \approx \$11.90 + \$42.86 \approx \$54.76\]

&lt;p&gt;About four-fifths of that cost is review, and it is divided by the merge rate. Two levers follow:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Gates before review raise \(m\) and cut \(c_{rev}\).&lt;/strong&gt; A change that fails tests, policy or scenario checks goes back to the agent without consuming a reviewer. If gates lift \(m\) to 0.85 and cut review to 12 minutes (\(c_{rev} = \$18\)), the cost per merged change falls to about $31, with no change of model.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;A better model mostly moves \(c_{run}\), the smallest term&lt;/strong&gt;, unless it also raises \(p\) and \(m\). Halving \(c_{run}\) in the base case saves about $6.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Review capacity also caps throughput, whatever the agents produce. With \(R\) reviewer-hours a week and \(t\) hours per review, merged changes per week are bounded by:&lt;/p&gt;

\[\text{merged/week} \le \frac{R}{t} \cdot m\]

&lt;p&gt;At 20 minutes a review and \(m = 0.7\), every 100 reviewer-hours a week yields at most 210 merged changes. Starting more agents fills the queue without raising that ceiling. Gates and standard work are the only things that raise it, because they shorten \(t\) and lift \(m\).&lt;/p&gt;

&lt;p&gt;The condition that flips this: at dark-factory token rates, \(c_{run}\) stops being small. At $1,000 a day per engineer, an engineer overseeing 20 merged changes a day spends $50 per change on tokens alone, as much as the review term. Past that point, routing and token budgets matter as much as gates. That is where the traffic plane earns its place.&lt;/p&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;the-line-layer-by-layer&quot;&gt;The line, layer by layer&lt;/h2&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/platform-engineering-3/factory-tier.svg&quot; alt=&quot;An enterprise agentic AI platform, shown with its first tenant, the software factory: humans and triggers feed an agent harness running in isolated sandboxes on a Kubernetes substrate; all model, tool and agent traffic passes through one traffic plane with identity and budgets; durable workflows orchestrate runs; validation gates sit between the agent and human review; audit and telemetry flow to separate stores.&quot; /&gt;&lt;/p&gt;

&lt;h3 id=&quot;substrate-kubernetes-with-operators-for-everything&quot;&gt;Substrate: Kubernetes, with operators for everything&lt;/h3&gt;

&lt;p&gt;Agents need a place to run that is isolated, stateful, cheap when idle, and quick to wake. Kubernetes now has a standard shape for this. The SIG Apps &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;agent-sandbox&lt;/code&gt; subproject defines a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Sandbox&lt;/code&gt; custom resource for singleton, stateful workloads such as agent runtimes: one pod with a stable hostname and network identity, isolated by gVisor or Kata Containers, kept warm by a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SandboxWarmPool&lt;/code&gt;, and able to scale to zero and resume where it left off.&lt;sup id=&quot;fnref:agent-sandbox&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:agent-sandbox&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;17&lt;/a&gt;&lt;/sup&gt; Agents themselves are becoming resources too. kagent, a CNCF Sandbox project, declares agents, tools and model configurations as CRDs, and Kagenti gives agents SPIFFE identities.&lt;sup id=&quot;fnref:kagent&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kagent&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;18&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:kagenti&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kagenti&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;19&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;My bet is that the substrate stays Kubernetes-centric even when the work runs elsewhere. Operators will reconcile a sandbox on a hyperscaler, a model endpoint on a GPU cluster, and an MCP server in a SaaS tenant, the way Crossplane taught platform teams to reconcile cloud resources they don’t host. The price is real: more CRDs, more reconciliation loops, and upgrades that need choreography. It’s the price the last platform era already paid, and it buys one control plane where policy lives.&lt;/p&gt;

&lt;h3 id=&quot;identity-the-deepest-rabbit-hole&quot;&gt;Identity: the deepest rabbit hole&lt;/h3&gt;

&lt;p&gt;The first layer of the identity problem has already been tidied up. The MCP specification of 2025-11-25 made Client ID Metadata Documents the preferred way for a client to identify itself: the client ID is a URL that hosts the client’s own metadata, and Dynamic Client Registration dropped to a fallback. The 2026-07-28 revision deprecates DCR for new implementations.&lt;sup id=&quot;fnref:cimd&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:cimd&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;20&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;CIMD answers &lt;em&gt;which client software is this?&lt;/em&gt; A factory needs more. It needs to know which agent instance is acting, on whose behalf, and with what delegated authority, and it needs to revoke that authority without revoking the human’s. That is where the standards are still drafts:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Enterprise Managed Authorization&lt;/strong&gt;, a stable MCP authorization extension, lets the enterprise identity provider decide which clients reach which MCP servers. The client obtains an Identity Assertion JWT Authorization Grant (ID-JAG, the mechanism behind Cross App Access) from the IdP and exchanges it at the MCP server’s authorization server. The ID-JAG itself is still an IETF draft, and implementations track different revisions.&lt;sup id=&quot;fnref:mcp-ema&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:mcp-ema&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;21&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The IETF WIMSE working group’s AIMS draft&lt;/strong&gt; gives each agent exactly one workload identifier, optionally a SPIFFE ID, and builds authorisation on OAuth.&lt;sup id=&quot;fnref:aims&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:aims&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;22&lt;/a&gt;&lt;/sup&gt; A companion draft profiles it for platforms that host many agent instances per customer.&lt;sup id=&quot;fnref:wag&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:wag&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;23&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Credential swapping at the gateway&lt;/strong&gt; keeps enterprise credentials out of the sandbox entirely: the gateway inserts the backend credential as the request leaves.&lt;sup id=&quot;fnref:google-ace&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:google-ace&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;24&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Vendors are shipping ahead of the standards. Okta’s Agent SSO, which implements Cross App Access, became generally available in August 2026, and Microsoft’s Entra Agent ID in April. Each builds on a different subset of the drafts.&lt;sup id=&quot;fnref:okta&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:okta&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;25&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:forkast&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:forkast&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;26&lt;/a&gt;&lt;/sup&gt; Anyone buying identity for agents in 2026 should assume one migration, and choose the vendor whose exit path is clearest.&lt;/p&gt;

&lt;h3 id=&quot;the-traffic-plane-one-plane-three-routing-jobs&quot;&gt;The traffic plane: one plane, three routing jobs&lt;/h3&gt;

&lt;p&gt;Everyone in the enterprise will have access to frontier models and to self-hosted ones (when to run your own is a question of &lt;a href=&quot;/blog/self-hosting-llms-air-gapped/&quot;&gt;self-hosting&lt;/a&gt; economics and &lt;a href=&quot;/blog/ai-sovereignty-intelligence-utility/&quot;&gt;sovereignty&lt;/a&gt;). So routing becomes a platform concern, and the gateway market has exploded accordingly. “Routing” covers three separate jobs, and most of the confusion comes from treating them as one:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Model selection&lt;/strong&gt;, which model should answer this request: vLLM Semantic Router classifies each request and picks a model. It can also filter jailbreaks and PII and cache semantically, all in the request path.&lt;sup id=&quot;fnref:vsr&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:vsr&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;27&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Inference endpoint picking&lt;/strong&gt;, which replica of that model, given KV-cache contents and load: the Gateway API Inference Extension, with llm-d as a primary implementation.&lt;sup id=&quot;fnref:llmd&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:llmd&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;28&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Agent and tool traffic&lt;/strong&gt;, governing MCP and A2A calls: agentgateway, a Linux Foundation project, handles LLM, MCP and A2A traffic in one data plane.&lt;sup id=&quot;fnref:agentgateway&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:agentgateway&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;29&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Budgets, quotas and credential swaps belong in the same plane. Azure’s AI gateway, for one, enforces tokens-per-minute limits and returns a 429 when a project exceeds them.&lt;sup id=&quot;fnref:azure-quota&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:azure-quota&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;30&lt;/a&gt;&lt;/sup&gt; My rule: one traffic plane per routing job, run by the platform team, preferably on one proxy family. Two hundred and twenty gateways is two hundred and nineteen places where policy drifts.&lt;/p&gt;

&lt;h3 id=&quot;durable-execution&quot;&gt;Durable execution&lt;/h3&gt;

&lt;p&gt;A factory run waits on CI, on a flaky dependency, and for days on a human approval. Agent processes that keep their state in memory lose it all on a crash and pay for the tokens twice. Durable execution is now a standard pairing: Temporal’s integration with the OpenAI Agents SDK, generally available since March 2026, runs the agent loop as a workflow and model calls as activities.&lt;sup id=&quot;fnref:temporal&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:temporal&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;31&lt;/a&gt;&lt;/sup&gt; Restate, DBOS and Inngest fill the same niche with different trade-offs, licences among them: only Temporal and DBOS of the four ship under OSI-approved licences.&lt;sup id=&quot;fnref:licences&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:licences&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;32&lt;/a&gt;&lt;/sup&gt;  For a tier the whole enterprise depends on, the licence is part of the architecture.&lt;/p&gt;

&lt;h3 id=&quot;context-and-standard-work&quot;&gt;Context and standard work&lt;/h3&gt;

&lt;p&gt;Standard work in the factory is context. AGENTS.md (now stewarded by the Agentic AI Foundation, in over 60,000 repositories) and SKILL.md turn “how we do things here” into versioned, reviewable files that agents load.&lt;sup id=&quot;fnref:agentsmd&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:agentsmd&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;33&lt;/a&gt;&lt;/sup&gt; Stripe’s curated tool subsets are standard work too: an agent offered 500 tools wastes context choosing among them.&lt;/p&gt;

&lt;p&gt;Context also outlives tools. A choice of agent framework is reversible in roughly 12 to 18 months; context architecture is much harder to change.&lt;sup id=&quot;fnref:atlan&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:atlan&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;34&lt;/a&gt;&lt;/sup&gt; So spend the standardisation budget on context, and spend little of it on mandating an SDK.&lt;/p&gt;

&lt;p&gt;The factory’s context is mostly code, docs and tickets. Business agents need enterprise data, and that pulls context into the data platform. I expect it to be served from lakes that handle vectors natively, but that is a prediction: Iceberg has no native vector index today, so similarity search over it means a full scan or a separate system.&lt;sup id=&quot;fnref:iceberg-vec&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:iceberg-vec&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;35&lt;/a&gt;&lt;/sup&gt;  The live bets are Lance as a table format, S3 Vectors as a storage class, and each warehouse vendor’s own engine. &lt;a href=&quot;/blog/where-should-your-data-live/&quot;&gt;The memory hierarchy&lt;/a&gt; covers the tiers underneath.&lt;/p&gt;

&lt;h3 id=&quot;audit-and-telemetry-are-two-streams&quot;&gt;Audit and telemetry are two streams&lt;/h3&gt;

&lt;p&gt;The last platform era taught teams to sample hard: keep the errors and the slow traces, drop the rest. Agents break that rule for one class of data. Every prompt, tool call, identity and approval is evidence. A security team investigating a prompt injection needs all of it, kept long enough to replay. Operational telemetry can still be sampled. So the factory should run two streams:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Audit&lt;/strong&gt;: complete, durable, ordered, replayable, and retained by policy. It’s a log in the database sense, and it should be built like one.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Ops telemetry&lt;/strong&gt;: OpenTelemetry end to end, tail-sampled at collectors near the source. The GenAI and agent conventions are still marked Development and moved to their own repository in June 2026, so expect attribute churn.&lt;sup id=&quot;fnref:otel&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:otel&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;36&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Next, I expect classification to move toward the edge. Small models in collectors and gateways would flag injections, data leaks and runaway loops before anything ships centrally, the way vLLM Semantic Router already classifies requests in-path. Treat that as speculation. I’d call it wrong if, two years from now, guardrail inference still lives only in central SaaS consoles.&lt;/p&gt;

&lt;h3 id=&quot;gates-the-andon-cord&quot;&gt;Gates: the andon cord&lt;/h3&gt;

&lt;p&gt;Every validation gate is an andon cord. Tests, type checks, policy-as-code, scenario suites against digital twins, and a budget check each stop the line and send the change back to the agent with the failure attached. Human review comes after the gates. The yield equation puts the gates first among the layers: they’re the only one that improves both terms.&lt;/p&gt;

&lt;h3 id=&quot;frameworks-standardise-the-contracts&quot;&gt;Frameworks: standardise the contracts&lt;/h3&gt;

&lt;p&gt;Enterprises can’t sustain 200 agent frameworks, and they can’t mandate one either. Teams will route around a decree, and the frameworks themselves are consolidating anyway: Microsoft merged AutoGen and Semantic Kernel into Microsoft Agent Framework 1.0 in April 2026.&lt;sup id=&quot;fnref:maf&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:maf&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;37&lt;/a&gt;&lt;/sup&gt; The workable rule sits one layer above the frameworks: fix the contracts (MCP, A2A, OTel, the identity scheme, the traffic plane, the sandbox API), sanction two or three harnesses that honour them, and let teams choose inside that set.&lt;/p&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;rent-the-machines-own-the-line&quot;&gt;Rent the machines, own the line&lt;/h2&gt;

&lt;p&gt;The strongest objection is that all of this is being productised as fast as it can be listed. GitHub’s Agent HQ runs Claude and Codex agents inside the pull-request workflow.&lt;sup id=&quot;fnref:agenthq&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:agenthq&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;38&lt;/a&gt;&lt;/sup&gt; Claude Code, Codex cloud, Cursor and Devin each ship sandboxes, admin planes and audit. AWS Bedrock AgentCore, Google’s Gemini Enterprise Agent Platform and Microsoft’s Foundry bundle runtime, identity, gateway and memory.&lt;sup id=&quot;fnref:platforms&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:platforms&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;39&lt;/a&gt;&lt;/sup&gt; A CTO who staffs a team to build the line in 2026 risks rebuilding CI in 2015: commodity by the time it works, with the platform team as the new bottleneck.&lt;/p&gt;

&lt;p&gt;Much of that is right, and most of the machines should be rented: the agents, the sandboxes, and very likely the durable-execution engine and the identity provider. Four things can’t be bought, because they encode your own system:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Standard work&lt;/strong&gt;: your context, skills and curated tools.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The gates&lt;/strong&gt;: your definition of a correct change, which no vendor can write for your payment flows or your claims engine.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Identity and data policy&lt;/strong&gt;: which agent may act for whom, on what.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The yield metrics&lt;/strong&gt;: cost per merged change, merge rate, review minutes per change, and gate-stopped versus reviewer-stopped defects.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Buying the whole stack from one vendor is the right call when the estate is on one cloud, the engineering organisation is a few hundred people, one agent vendor covers most of the work, and regulatory exposure is low. Outside those conditions, the multi-model, multi-cloud and sovereignty requirements put you back to building the line.&lt;/p&gt;

&lt;p&gt;We sell platform engineering and agentic AI consulting, so we have a stake in this argument. The arithmetic above holds whoever builds the line.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;The forecasts point one way:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Platforms:&lt;/strong&gt; by 2027, 70% of organisations with platform teams will include generative AI capabilities in their internal developer platforms.&lt;sup id=&quot;fnref:gartner-idp&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:gartner-idp&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;40&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Teams:&lt;/strong&gt; by 2029, 60% of organisations will adopt smaller software engineering teams, up from 15% in 2026, with those “tiny teams” leaning on robust platform engineering teams for standardised, automated workflows and self-service AI tools.&lt;sup id=&quot;fnref:gartner-teams&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:gartner-teams&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;41&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;IDEs:&lt;/strong&gt; by 2027, over 65% of engineering teams using agentic coding will treat the IDE as optional, shifting control, governance and validation to automated platforms.&lt;sup id=&quot;fnref:gartner-ide&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:gartner-ide&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;42&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of these forecasts names a role. Read together, they describe one: a platform team that runs the enterprise’s agentic AI platform, with the factory as its first line, staffed by engineers who understand distributed systems, identity and evaluation in roughly equal parts.&lt;/p&gt;

&lt;p&gt;Its KPIs update the 2021 three:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Developer satisfaction&lt;/strong&gt; becomes satisfaction from developers &lt;em&gt;and&lt;/em&gt; reviewers, the people who absorb the factory’s output.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Platform usage&lt;/strong&gt; becomes the share of agent runs on the paved road: sanctioned harness, registered identity, governed traffic plane.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Time to first production deployment&lt;/strong&gt; becomes time from ticket to verified merge, together with cost per merged change and the merge rate.&lt;/li&gt;
&lt;/ul&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;when-this-is-wrong&quot;&gt;When this is wrong&lt;/h2&gt;

&lt;p&gt;The design loses under three conditions, each with a signal to watch:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Agents learn to validate themselves well enough&lt;/strong&gt; that external gates add little. Signal: merge rates of ungated agent PRs approaching gated ones across model generations.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Vendor admin planes absorb the line&lt;/strong&gt;, exposing policy, identity and gate hooks rich enough that no enterprise needs its own. Signal: whether the major agent platforms let you plug in your own gates and identity provider, or only their own.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Dark factories prove review-free delivery safe&lt;/strong&gt; for most changes. Then the yield equation loses its review term, and the line becomes almost entirely gates and token economics. That still makes it a platform job, though a different one.&lt;/li&gt;
&lt;/ul&gt;

&lt;hr /&gt;

&lt;h2 id=&quot;what-to-do-this-quarter&quot;&gt;What to do this quarter&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Measure cost per merged change, merge rate and review minutes per change before buying more seats.&lt;/li&gt;
  &lt;li&gt;Put every agent behind a registered identity with a human sponsor. The 28% who can trace agent actions today are the baseline to beat.&lt;/li&gt;
  &lt;li&gt;Pick one traffic plane per routing job and move budgets and credential swaps into it.&lt;/li&gt;
  &lt;li&gt;Write the gates before scaling the agents: tests, policy checks, and scenario suites for the systems where a wrong change is expensive.&lt;/li&gt;
  &lt;li&gt;Split audit from telemetry, and size the audit store for replay.&lt;/li&gt;
  &lt;li&gt;Sanction two or three harnesses on fixed contracts, and spend the standardisation effort on context.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Not every company needs a platform team, only those &lt;a href=&quot;/blog/platform-engineering-manifesto/&quot;&gt;past the Dunbar number&lt;/a&gt;. That threshold now counts actors: an organisation of forty engineers that runs four hundred agents has crossed it. Platform engineering is dead. Long live platform engineering.&lt;/p&gt;

&lt;script defer=&quot;&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js&quot;&gt;&lt;/script&gt;

&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:pe-history&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Platform Engineering community, “The story of platform engineering” (Team Topologies, 2019; “internal developer platform”, 2020; Gartner Hype Cycle, August 2022). &lt;a href=&quot;https://platformengineering.org/blog/the-story-of-platform-engineering&quot;&gt;https://platformengineering.org/blog/the-story-of-platform-engineering&lt;/a&gt; &lt;a href=&quot;#fnref:pe-history&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:pe-numbering&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;CNCF, “Evolving platform engineering for AI-native workloads,” 6 July 2026, &lt;a href=&quot;https://www.cncf.io/blog/2026/07/06/evolving-platform-engineering-for-ai-native-workloads/&quot;&gt;https://www.cncf.io/blog/2026/07/06/evolving-platform-engineering-for-ai-native-workloads/&lt;/a&gt;; env0, “Platform Engineering 3.0: Practical Guidance for Scaling Infrastructure in the AI Era,” &lt;a href=&quot;https://www.env0.com/resources-center/whitepaper-platform-engineering-3-0&quot;&gt;https://www.env0.com/resources-center/whitepaper-platform-engineering-3-0&lt;/a&gt; &lt;a href=&quot;#fnref:pe-numbering&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:gravitee&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Gravitee, “State of AI Agent Security Report 2026” (survey of 750 enterprise technology leaders; Gravitee sells API and agent gateways). &lt;a href=&quot;https://www.gravitee.io/state-of-ai-agent-security&quot;&gt;https://www.gravitee.io/state-of-ai-agent-security&lt;/a&gt; &lt;a href=&quot;#fnref:gravitee&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:gravitee:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:csa&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Cloud Security Alliance, “AI Agent Identity Sprawl: The Enterprise Authorization Crisis” (survey with Aembit, which sells workload and agent access products). &lt;a href=&quot;https://labs.cloudsecurityalliance.org/research/csa-research-note-ai-agent-identity-sprawl-authorization-202/&quot;&gt;https://labs.cloudsecurityalliance.org/research/csa-research-note-ai-agent-identity-sprawl-authorization-202/&lt;/a&gt; &lt;a href=&quot;#fnref:csa&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:mcp-count&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Zuplo, “Shadow MCP: The Ungoverned AI Agent Tools Putting Your APIs at Risk” (estimate of public MCP servers, mid-2026). &lt;a href=&quot;https://zuplo.com/learning-center/shadow-mcp-ungoverned-ai-agent-security&quot;&gt;https://zuplo.com/learning-center/shadow-mcp-ungoverned-ai-agent-security&lt;/a&gt; &lt;a href=&quot;#fnref:mcp-count&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:gateways&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;awesome-ai-gateway, a curated list of 220+ AI gateways. &lt;a href=&quot;https://github.com/cuihuan/awesome-ai-gateway&quot;&gt;https://github.com/cuihuan/awesome-ai-gateway&lt;/a&gt; &lt;a href=&quot;#fnref:gateways&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:gartner-40&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Gartner, “Gartner Predicts Over 40% of Agentic AI Projects Will Be Canceled by End of 2027,” 25 June 2025. &lt;a href=&quot;https://www.gartner.com/en/newsroom/press-releases/2025-06-25-gartner-predicts-over-40-percent-of-agentic-ai-projects-will-be-canceled-by-end-of-2027&quot;&gt;https://www.gartner.com/en/newsroom/press-releases/2025-06-25-gartner-predicts-over-40-percent-of-agentic-ai-projects-will-be-canceled-by-end-of-2027&lt;/a&gt; &lt;a href=&quot;#fnref:gartner-40&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:dora&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;DORA, “2025 State of AI-assisted Software Development.” &lt;a href=&quot;https://dora.dev/dora-report-2025/&quot;&gt;https://dora.dev/dora-report-2025/&lt;/a&gt;; Google Cloud, “Announcing the 2025 DORA report.” &lt;a href=&quot;https://cloud.google.com/blog/products/ai-machine-learning/announcing-the-2025-dora-report&quot;&gt;https://cloud.google.com/blog/products/ai-machine-learning/announcing-the-2025-dora-report&lt;/a&gt; &lt;a href=&quot;#fnref:dora&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:toyoda&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Toyota Motor Corporation, “The Birth of Jidoka” (Toyoda Power Loom, completed 1897; weft-halting device described in the 1905 model’s manual; origin of jidoka in the Toyota Production System). &lt;a href=&quot;https://www.toyota-global.com/company/history_of_toyota/75years/text/taking_on_the_automotive_business/chapter1/section1/item4.html&quot;&gt;https://www.toyota-global.com/company/history_of_toyota/75years/text/taking_on_the_automotive_business/chapter1/section1/item4.html&lt;/a&gt; &lt;a href=&quot;#fnref:toyoda&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:jidoka&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Lean Enterprise Institute, “Toyoda, Sakichi (1867–1930).” &lt;a href=&quot;https://www.lean.org/lexicon-terms/toyoda-sakichi-1867-1930/&quot;&gt;https://www.lean.org/lexicon-terms/toyoda-sakichi-1867-1930/&lt;/a&gt; &lt;a href=&quot;#fnref:jidoka&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:stripe1&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Stripe, “Minions: Stripe’s one-shot, end-to-end coding agents,” 9 February 2026. &lt;a href=&quot;https://stripe.dev/blog/minions-stripes-one-shot-end-to-end-coding-agents&quot;&gt;https://stripe.dev/blog/minions-stripes-one-shot-end-to-end-coding-agents&lt;/a&gt; &lt;a href=&quot;#fnref:stripe1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:stripe1:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:stripe2&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Stripe, “Minions: Stripe’s one-shot, end-to-end coding agents, Part 2,” 19 February 2026. &lt;a href=&quot;https://stripe.dev/blog/minions-stripes-one-shot-end-to-end-coding-agents-part-2&quot;&gt;https://stripe.dev/blog/minions-stripes-one-shot-end-to-end-coding-agents-part-2&lt;/a&gt; &lt;a href=&quot;#fnref:stripe2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:stripe2:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:stripe2:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:toolshed&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;ByteByteGo, “How Stripe’s Minions Ship 1,300 PRs a Week.” &lt;a href=&quot;https://blog.bytebytego.com/p/how-stripes-minions-ship-1300-prs&quot;&gt;https://blog.bytebytego.com/p/how-stripes-minions-ship-1300-prs&lt;/a&gt; &lt;a href=&quot;#fnref:toolshed&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:strongdm&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;StrongDM, “The StrongDM Software Factory: Building Software with AI.” &lt;a href=&quot;https://discover.strongdm.com/blog/the-strongdm-software-factory-building-software-with-ai&quot;&gt;https://discover.strongdm.com/blog/the-strongdm-software-factory-building-software-with-ai&lt;/a&gt; &lt;a href=&quot;#fnref:strongdm&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:willison&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Simon Willison, “StrongDM’s software factory,” 7 February 2026. &lt;a href=&quot;https://simonwillison.net/2026/Feb/7/software-factory&quot;&gt;https://simonwillison.net/2026/Feb/7/software-factory&lt;/a&gt; &lt;a href=&quot;#fnref:willison&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:willison:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:codex&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Stanford CodeX, “Built by Agents, Tested by Agents, Trusted by Whom?,” 8 February 2026. &lt;a href=&quot;https://law.stanford.edu/2026/02/08/built-by-agents-tested-by-agents-trusted-by-whom/&quot;&gt;https://law.stanford.edu/2026/02/08/built-by-agents-tested-by-agents-trusted-by-whom/&lt;/a&gt; &lt;a href=&quot;#fnref:codex&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:agent-sandbox&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Kubernetes, “Running Agents on Kubernetes with Agent Sandbox,” 20 March 2026. &lt;a href=&quot;https://kubernetes.io/blog/2026/03/20/running-agents-on-kubernetes-with-agent-sandbox&quot;&gt;https://kubernetes.io/blog/2026/03/20/running-agents-on-kubernetes-with-agent-sandbox&lt;/a&gt;; &lt;a href=&quot;https://github.com/kubernetes-sigs/agent-sandbox&quot;&gt;https://github.com/kubernetes-sigs/agent-sandbox&lt;/a&gt; &lt;a href=&quot;#fnref:agent-sandbox&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kagent&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;CNCF, kagent project page (Sandbox, accepted 22 May 2025). &lt;a href=&quot;https://www.cncf.io/projects/kagent/&quot;&gt;https://www.cncf.io/projects/kagent/&lt;/a&gt; &lt;a href=&quot;#fnref:kagent&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kagenti&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Signadot, “Running AI Agents on Kubernetes: Agent Sandbox, kagent and More.” &lt;a href=&quot;https://www.signadot.com/blog/running-ai-agents-on-kubernetes/&quot;&gt;https://www.signadot.com/blog/running-ai-agents-on-kubernetes/&lt;/a&gt; &lt;a href=&quot;#fnref:kagenti&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:cimd&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Model Context Protocol, “Client registration,” specification 2026-07-28. &lt;a href=&quot;https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization/client-registration&quot;&gt;https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization/client-registration&lt;/a&gt;; SEP-991. &lt;a href=&quot;https://modelcontextprotocol.io/community/seps/991-enable-url-based-client-registration-using-oauth-c&quot;&gt;https://modelcontextprotocol.io/community/seps/991-enable-url-based-client-registration-using-oauth-c&lt;/a&gt; &lt;a href=&quot;#fnref:cimd&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:mcp-ema&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Model Context Protocol, “Enterprise Managed Authorization” extension (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;io.modelcontextprotocol/enterprise-managed-authorization&lt;/code&gt;, stable). &lt;a href=&quot;https://modelcontextprotocol.io/extensions/auth/enterprise-managed-authorization&quot;&gt;https://modelcontextprotocol.io/extensions/auth/enterprise-managed-authorization&lt;/a&gt; &lt;a href=&quot;#fnref:mcp-ema&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:aims&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;IETF WIMSE WG, “AI Agent Identity Management System (AIMS),” draft-ietf-wimse-aims. &lt;a href=&quot;https://datatracker.ietf.org/doc/html/draft-ietf-wimse-aims&quot;&gt;https://datatracker.ietf.org/doc/html/draft-ietf-wimse-aims&lt;/a&gt; &lt;a href=&quot;#fnref:aims&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:wag&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;IETF, draft-carleton-workload-authz-grant-00. &lt;a href=&quot;https://www.ietf.org/archive/id/draft-carleton-workload-authz-grant-00.html&quot;&gt;https://www.ietf.org/archive/id/draft-carleton-workload-authz-grant-00.html&lt;/a&gt; &lt;a href=&quot;#fnref:wag&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:google-ace&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Google Cloud, “Agent Compute Engine deep dive.” &lt;a href=&quot;https://cloud.google.com/blog/topics/ai-infrastructure/agent-compute-engine-deep-dive&quot;&gt;https://cloud.google.com/blog/topics/ai-infrastructure/agent-compute-engine-deep-dive&lt;/a&gt; &lt;a href=&quot;#fnref:google-ace&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:okta&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Okta, “Okta brings first-class identity to AI agents with Agent SSO.” &lt;a href=&quot;https://okta.com/newsroom/press-releases/okta-brings-first-class-identity-to-ai-agents-with-agent-sso/&quot;&gt;https://okta.com/newsroom/press-releases/okta-brings-first-class-identity-to-ai-agents-with-agent-sso/&lt;/a&gt; &lt;a href=&quot;#fnref:okta&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:forkast&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Forkast, “Six vendors are shipping agent identity products; the IETF has not finished the standard.” &lt;a href=&quot;https://forkast.news/six-vendors-are-shipping-agent-identity-products-the-ietf-has-not-finished-the-standard/&quot;&gt;https://forkast.news/six-vendors-are-shipping-agent-identity-products-the-ietf-has-not-finished-the-standard/&lt;/a&gt; &lt;a href=&quot;#fnref:forkast&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:vsr&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;vLLM, “vLLM Semantic Router v0.1 Iris: The First Major Release,” 5 January 2026. &lt;a href=&quot;https://vllm.ai/blog/2026-01-05-vllm-sr-iris&quot;&gt;https://vllm.ai/blog/2026-01-05-vllm-sr-iris&lt;/a&gt;; &lt;a href=&quot;https://github.com/vllm-project/semantic-router&quot;&gt;https://github.com/vllm-project/semantic-router&lt;/a&gt; &lt;a href=&quot;#fnref:vsr&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:llmd&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;CNCF, “Welcome llm-d to the CNCF,” 24 March 2026. &lt;a href=&quot;https://www.cncf.io/blog/2026/03/24/welcome-llm-d-to-the-cncf-evolving-kubernetes-into-sota-ai-infrastructure/&quot;&gt;https://www.cncf.io/blog/2026/03/24/welcome-llm-d-to-the-cncf-evolving-kubernetes-into-sota-ai-infrastructure/&lt;/a&gt; &lt;a href=&quot;#fnref:llmd&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:agentgateway&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;agentgateway. &lt;a href=&quot;https://agentgateway.dev/blog/2026-08-03-new-mcp-spec-revision/&quot;&gt;https://agentgateway.dev/blog/2026-08-03-new-mcp-spec-revision/&lt;/a&gt; &lt;a href=&quot;#fnref:agentgateway&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:azure-quota&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Microsoft Azure, “The economics of agent optimization.” &lt;a href=&quot;https://azure.microsoft.com/en-us/blog/the-economics-of-agent-optimization-how-ai-agent-governance-controls-cost-and-proves-roi/&quot;&gt;https://azure.microsoft.com/en-us/blog/the-economics-of-agent-optimization-how-ai-agent-governance-controls-cost-and-proves-roi/&lt;/a&gt; &lt;a href=&quot;#fnref:azure-quota&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:temporal&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Temporal, “Production-ready agents with the OpenAI Agents SDK + Temporal.” &lt;a href=&quot;https://temporal.io/blog/announcing-openai-agents-sdk-integration&quot;&gt;https://temporal.io/blog/announcing-openai-agents-sdk-integration&lt;/a&gt;; Temporal docs. &lt;a href=&quot;https://docs.temporal.io/develop/python/integrations/openai-agents-sdk&quot;&gt;https://docs.temporal.io/develop/python/integrations/openai-agents-sdk&lt;/a&gt; &lt;a href=&quot;#fnref:temporal&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:licences&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Forkast, “Durable execution is the next agent infrastructure sub-sector” (Restate under BSL 1.1, Inngest under SSPL 1.0). &lt;a href=&quot;https://forkast.news/durable-execution-is-the-next-agent-infrastructure-sub-sector&quot;&gt;https://forkast.news/durable-execution-is-the-next-agent-infrastructure-sub-sector&lt;/a&gt; &lt;a href=&quot;#fnref:licences&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:agentsmd&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Red Hat Developer, “Standardize project context with AGENTS.md and Agent Skills,” 27 July 2026. &lt;a href=&quot;https://developers.redhat.com/articles/2026/07/27/standardize-project-context-agentsmd-and-agent-skills&quot;&gt;https://developers.redhat.com/articles/2026/07/27/standardize-project-context-agentsmd-and-agent-skills&lt;/a&gt;; Harness, “The agent-native repo.” &lt;a href=&quot;https://www.harness.io/blog/the-agent-native-repo-why-agents-md-is-the-new-standard&quot;&gt;https://www.harness.io/blog/the-agent-native-repo-why-agents-md-is-the-new-standard&lt;/a&gt; &lt;a href=&quot;#fnref:agentsmd&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:atlan&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Atlan, “How to choose an agentic framework for the enterprise.” &lt;a href=&quot;https://atlan.com/know/ai-agent/how-to-choose-agentic-framework-enterprise/&quot;&gt;https://atlan.com/know/ai-agent/how-to-choose-agentic-framework-enterprise/&lt;/a&gt; &lt;a href=&quot;#fnref:atlan&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:iceberg-vec&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Snowflake Engineering, “Operationalizing Data Interoperability in Multi-Engine Lakehouses.” &lt;a href=&quot;https://www.snowflake.com/en/blog/engineering/lakehouse-data-interoperability-guide/&quot;&gt;https://www.snowflake.com/en/blog/engineering/lakehouse-data-interoperability-guide/&lt;/a&gt; &lt;a href=&quot;#fnref:iceberg-vec&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:otel&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;OpenTelemetry, GenAI semantic conventions repository (the conventions moved here from the core semantic-conventions docs). &lt;a href=&quot;https://github.com/open-telemetry/semantic-conventions-genai&quot;&gt;https://github.com/open-telemetry/semantic-conventions-genai&lt;/a&gt;; Dash0, “OpenTelemetry GenAI semantic conventions explained.” &lt;a href=&quot;https://www.dash0.com/knowledge/opentelemetry-genai-semantic-conventions-explained&quot;&gt;https://www.dash0.com/knowledge/opentelemetry-genai-semantic-conventions-explained&lt;/a&gt; &lt;a href=&quot;#fnref:otel&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:maf&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;InfoWorld, “The Microsoft agent framework wars are over; the real architecture decision starts now.” &lt;a href=&quot;https://www.infoworld.com/article/4199575/the-microsoft-agent-framework-wars-are-over-the-real-architecture-decision-starts-now.html&quot;&gt;https://www.infoworld.com/article/4199575/the-microsoft-agent-framework-wars-are-over-the-real-architecture-decision-starts-now.html&lt;/a&gt; &lt;a href=&quot;#fnref:maf&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:agenthq&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;MarkTechPost, coverage of GitHub Agent HQ (launched February 2026 with Claude and Codex). &lt;a href=&quot;https://www.marktechpost.com/2026/06/10/ai-coding-agents-development-platforms-2026/&quot;&gt;https://www.marktechpost.com/2026/06/10/ai-coding-agents-development-platforms-2026/&lt;/a&gt; &lt;a href=&quot;#fnref:agenthq&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:platforms&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Lines &amp;amp; Circles, “Enterprise Agent Platforms 2026: Gemini, Agentforce, Bedrock.” &lt;a href=&quot;https://linesncircles.com/Blog/Enterprise/Enterprise_Agent_Platforms_2026&quot;&gt;https://linesncircles.com/Blog/Enterprise/Enterprise_Agent_Platforms_2026&lt;/a&gt; &lt;a href=&quot;#fnref:platforms&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:gartner-idp&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Gartner, “Gartner Identifies the Top Strategic Trends in Software Engineering for 2025 and Beyond,” 1 July 2025. &lt;a href=&quot;https://www.gartner.com/en/newsroom/press-releases/2025-07-01-gartner-identifies-the-top-strategic-trends-in-software-engineering-for-2025-and-beyond&quot;&gt;https://www.gartner.com/en/newsroom/press-releases/2025-07-01-gartner-identifies-the-top-strategic-trends-in-software-engineering-for-2025-and-beyond&lt;/a&gt; &lt;a href=&quot;#fnref:gartner-idp&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:gartner-teams&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Gartner, “Gartner Predicts 60% of Organizations Will Adopt Smaller Software Engineering Teams by 2029,” 7 July 2026. &lt;a href=&quot;https://www.gartner.com/en/newsroom/press-releases/2026-07-07-gartner-predicts-60-percent-of-organizations-will-adopt-smaller-software-engineering-teams-by-2029&quot;&gt;https://www.gartner.com/en/newsroom/press-releases/2026-07-07-gartner-predicts-60-percent-of-organizations-will-adopt-smaller-software-engineering-teams-by-2029&lt;/a&gt; &lt;a href=&quot;#fnref:gartner-teams&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:gartner-ide&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Gartner, “Gartner Says the Market for Enterprise AI Coding Agents Is Entering a New Phase of Expansion and Competitive Realignment,” 20 May 2026. &lt;a href=&quot;https://www.gartner.com/en/newsroom/press-releases/2026-05-20-gartner-says-the-market-for-enterprise-ai-coding-agents-is-entering-a-new-phase-of-expansion-and-competitive-realignment&quot;&gt;https://www.gartner.com/en/newsroom/press-releases/2026-05-20-gartner-says-the-market-for-enterprise-ai-coding-agents-is-entering-a-new-phase-of-expansion-and-competitive-realignment&lt;/a&gt; &lt;a href=&quot;#fnref:gartner-ide&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Sat, 21 Nov 2026 00:00:00 +0000</pubDate>
        <link>https://platformatory.io/blog/platform-engineering-3/</link>
        <guid isPermaLink="true">https://platformatory.io/blog/platform-engineering-3/</guid>
        
        
        <category>Platform Engineering</category>
        
        <category>AI</category>
        
        <category>Software Engineering</category>
        
      </item>
    
      <item>
        <title>The Memory Hierarchy: Data Architectures Beyond Naive Disaggregation</title>
        <description>&lt;p&gt;“Local NVMe or object storage?” sets up a binary that every storage system has already dissolved: each one is a memory hierarchy.&lt;sup id=&quot;fnref:thread&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:thread&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; Three decisions remain. Which tier holds the truth, which tiers cache it, and what a miss costs at each boundary, in time and in money.&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt; &lt;/th&gt;
      &lt;th&gt;Local-disk design&lt;/th&gt;
      &lt;th&gt;Object-store design&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Hot reads&lt;/td&gt;
      &lt;td&gt;RAM → local NVMe&lt;/td&gt;
      &lt;td&gt;RAM → local NVMe cache&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Miss&lt;/td&gt;
      &lt;td&gt;Local NVMe, µs&lt;/td&gt;
      &lt;td&gt;Object store, 100–200 ms (standard) or single-digit ms (one-zone)&lt;sup id=&quot;fnref:s3-perf&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:s3-perf&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:s3-express&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:s3-express&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Durable commit&lt;/td&gt;
      &lt;td&gt;Replicate across zones, then ack&lt;/td&gt;
      &lt;td&gt;Write to the object store, then ack&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Source of truth&lt;/td&gt;
      &lt;td&gt;Replicated local disks&lt;/td&gt;
      &lt;td&gt;Object store&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Weak spot&lt;/td&gt;
      &lt;td&gt;Fixed capacity, slow rebuilds&lt;/td&gt;
      &lt;td&gt;Tail latency, cold caches&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Same working set, one round trip per durable write. They differ in where truth lives, what a miss costs, and what capacity and recovery cost.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;strong&gt;Every tier becomes a cache&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;DRAM caches disk; disk once cached tape. SSDs made the network the bottleneck of network storage. Now local NVMe caches object storage. Each tier down is roughly ten times slower and buys capacity, durability, elasticity or a lower price per GB. Put each byte on the cheapest tier that meets its latency budget, and make misses rare and cheap. Our &lt;a href=&quot;/blog/real-time-data-prime-time/&quot;&gt;napkin-math table&lt;/a&gt; has the numbers.&lt;/p&gt;

&lt;p&gt;When to cache has had a formula since 1987, the five-minute rule.&lt;sup id=&quot;fnref:5min&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:5min&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt; Keep a page in the faster tier if it’s re-read within the break-even interval:&lt;/p&gt;

\[T = \frac{\text{pages per MB of RAM}}{\text{accesses per second per disk}} \times \frac{\text{price per disk}}{\text{price per MB of RAM}}\]

&lt;p&gt;Recomputed in 2019 for 4 KB pages, DRAM over SSD came out at five minutes, DRAM over HDD at four hours, and newer non-volatile memory at under a minute.&lt;sup id=&quot;fnref:5min:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:5min&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;The cloud version swaps device prices for a bill. A local copy costs rent; a miss costs a GET. Re-reading an object of size \(s\) more often than every&lt;/p&gt;

\[T = \frac{\text{price per GET}}{\text{cache price per GB-second} \times s}\]

&lt;p&gt;makes the cached copy cheaper, before counting latency. At S3 Standard’s $0.0004 per 1,000 GETs, with gp3 block storage at $0.08 per GB-month standing in for cache rent (AWS US East list prices throughout):&lt;sup id=&quot;fnref:s3-pricing&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:s3-pricing&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:ebs-pricing&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:ebs-pricing&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Object size&lt;/th&gt;
      &lt;th&gt;Cache it if re-read within&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;4 KB&lt;/td&gt;
      &lt;td&gt;about 37 days&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;1 MB&lt;/td&gt;
      &lt;td&gt;about 3.6 hours&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;64 MB&lt;/td&gt;
      &lt;td&gt;about 3.4 minutes&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Small objects and metadata: cache everything, because requests dominate the bill. Large segments read less often than every few minutes: leave them in the store. Latency only pushes the line towards caching more, and so does the stand-in: gp3 is conservative, and instance NVMe, bundled with the instance, makes caching pay off sooner.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;strong&gt;Reads: the working set decides&lt;/strong&gt;&lt;/p&gt;

&lt;div class=&quot;mermaid&quot; style=&quot;display:flex; justify-content:center&quot;&gt;
flowchart LR
    Q[Query] --&amp;gt; RAM{In RAM?}
    RAM -- hit --&amp;gt; A1[~100 ns]
    RAM -- miss --&amp;gt; NVME{On local NVMe?}
    NVME -- hit --&amp;gt; A2[~10s of µs]
    NVME -- miss --&amp;gt; SRC[Source of truth]
    SRC --&amp;gt; L[Replicated local disk&lt;br /&gt;or network block storage&lt;br /&gt;~sub-ms]
    SRC --&amp;gt; O[Object storage&lt;br /&gt;single-digit ms one-zone&lt;br /&gt;100–200 ms standard]
&lt;/div&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Working set&lt;/th&gt;
      &lt;th&gt;Implication&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Fits in RAM&lt;/td&gt;
      &lt;td&gt;Storage tier barely matters&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Fits local NVMe but overflows RAM&lt;/td&gt;
      &lt;td&gt;Local flash decides; either design provides it&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Wide and random (big keyspace, cold scans)&lt;/td&gt;
      &lt;td&gt;Misses dominate p99 and p999; local NVMe’s flat tail wins&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;The metric that matters is the hit ratio at each tier boundary. Instance type follows from it.&lt;/p&gt;

&lt;p&gt;The local NVMe tier is bigger and faster than most designs assume. Flash costs under $200 per TB, 10 to 50 times less than DRAM, and a PCIe 4.0 SSD does over a million random 4 KB reads per second at 7 GB/s.&lt;sup id=&quot;fnref:haas&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:haas&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt; Spend the same money two ways on a $15,000 server:&lt;sup id=&quot;fnref:haas:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:haas&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Configuration&lt;/th&gt;
      &lt;th&gt;RAM&lt;/th&gt;
      &lt;th&gt;Flash&lt;/th&gt;
      &lt;th&gt;Bandwidth&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;All RAM&lt;/td&gt;
      &lt;td&gt;2.5 TB&lt;/td&gt;
      &lt;td&gt;None&lt;/td&gt;
      &lt;td&gt;150 GB/s from RAM&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;RAM plus SSDs&lt;/td&gt;
      &lt;td&gt;0.5 TB&lt;/td&gt;
      &lt;td&gt;8 × 4 TB&lt;/td&gt;
      &lt;td&gt;150 GB/s from RAM, 56 GB/s from flash&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Eight SSDs measured 12.5 million random reads per second. Five storage engines on the same box (RocksDB, WiredTiger, PostgreSQL, MySQL and LeanStore as first built) reached a fraction of that; the best managed 3.6 million.&lt;sup id=&quot;fnref:haas:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:haas&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt; The hardware outran the software.&lt;/p&gt;

&lt;p&gt;Little’s law says why. Flash answers a random read in about 100 µs, so&lt;/p&gt;

\[\text{IOPS} = \frac{\text{I/Os in flight}}{\text{latency}}\]

&lt;p&gt;and a thread that waits for each read gets 10,000 IOPS. Saturating the array takes about 1,000 reads in flight, more than 100 per device. At 12 million IOPS a 64-core server has some 13,000 CPU cycles per I/O, half of it spent just issuing and completing the request, unless the kernel is bypassed.&lt;sup id=&quot;fnref:haas:3&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:haas&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt; Engines that reach the hardware share a design:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Asynchronous I/O issued by the worker threads themselves:&lt;/strong&gt; io_uring, libaio or kernel-bypass SPDK; all three can saturate the drives, and SPDK spends the least CPU doing it.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Lightweight user-space threads&lt;/strong&gt;, so one core can switch between thousands of outstanding requests instead of blocking.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;4 KB pages:&lt;/strong&gt; the best balance of IOPS, latency and amplification on flash. Smaller pages got slower, larger ones amplify.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Out-of-memory paths treated as hot:&lt;/strong&gt; eviction partitioned to handle tens of millions of pages a second.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Built that way, LeanStore ran TPC-C at 1.1 million transactions a second with data ten times the size of its 400 GB buffer pool, and 400,000 a second at forty times.&lt;sup id=&quot;fnref:haas:4&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:haas&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt; Mixed reads and writes cut the array to 6.7 million IOPS, since flash writes cost about ten times as much as reads. So a working set that fits local NVMe but overflows RAM can run close to in-memory speed, if the engine keeps enough I/O in flight. Check that before buying RAM, or before deciding the local tier is too slow and moving the truth to a slower one.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;strong&gt;Writes: durability costs one round trip&lt;/strong&gt;&lt;/p&gt;

&lt;div class=&quot;mermaid&quot; style=&quot;display:flex; justify-content:center&quot;&gt;
sequenceDiagram
    participant C as Client
    participant P as Primary
    participant R as Replica (other AZ)
    participant S as Object store
    Note over C,R: Local-disk design
    C-&amp;gt;&amp;gt;P: commit
    P-&amp;gt;&amp;gt;R: replicate
    R--&amp;gt;&amp;gt;P: ack
    P--&amp;gt;&amp;gt;C: ack (one cross-AZ round trip)
    Note over C,S: Object-store design
    C-&amp;gt;&amp;gt;P: commit
    P-&amp;gt;&amp;gt;S: PUT (batched)
    S--&amp;gt;&amp;gt;P: ok
    P--&amp;gt;&amp;gt;C: ack (one object-store write)
&lt;/div&gt;

&lt;p&gt;One cross-zone round trip against one object-store write. Latency favours replication: a standard object-store write takes on the order of 100 ms, and the one-zone classes that reach single-digit milliseconds give up multi-zone durability.&lt;sup id=&quot;fnref:s3-perf:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:s3-perf&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:s3-express:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:s3-express&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt; Cost can favour the store, depending on batch size.&lt;/p&gt;

&lt;p&gt;Replicating to two other zones costs $0.01 per GB out and $0.01 in, per copy: $0.04 per GB written.&lt;sup id=&quot;fnref:xaz&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:xaz&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;8&lt;/a&gt;&lt;/sup&gt; A PUT costs $0.005 per 1,000 whatever its size,&lt;sup id=&quot;fnref:s3-pricing:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:s3-pricing&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt; so per GB the object store costs \(\frac{\$0.000005 \times 10^9}{b}\) for batches of \(b\) bytes:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/where-should-your-data-live/put-cost.svg&quot; alt=&quot;Object-store PUT cost per GB written against batch size: about $0.08 at 64 KB, $0.04 at 125 KB, $0.005 at 1 MB and $0.00125 at 4 MB, crossing the $0.04 per GB of two-zone replication at about 125 KB.&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;AWS US East list prices: $0.005 per 1,000 PUTs; $0.01 per GB each way across zones.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The break-even batch is about 125 KB, and filling it takes time: \(b\) divided by the writer’s throughput. A writer producing 1 MB/s waits 125 ms per batch; at 10 MB/s, 12.5 ms. Object-store-first wins on cost for high-volume, log-shaped data, and pays for it in latency on low-volume streams. Storage rent tilts it further. S3 Standard costs about $0.023 per GB-month; three replicas on gp3 cost about $0.24, ten times as much, and for long retention that outweighs every write-path term above.&lt;sup id=&quot;fnref:s3-pricing:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:s3-pricing&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:ebs-pricing:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:ebs-pricing&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;  The sums still leave out consumer GETs and the producer’s own hop across zones.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;Object storage is the best bottom tier. What it gives:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Managed multi-zone durability.&lt;/li&gt;
  &lt;li&gt;A small, immutable interface that pushes designs towards logs, now with conditional writes: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;If-None-Match&lt;/code&gt; since August 2024 and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;If-Match&lt;/code&gt; since November 2024, enough for writer fencing.&lt;sup id=&quot;fnref:s3-cond&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:s3-cond&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;9&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;Elastic capacity, cheap per GB and costly per request.&lt;/li&gt;
  &lt;li&gt;Recovery by warming a cache, with no data to copy.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What you still own:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Cache sizing, eviction and cold restarts, which usually arrive mid-incident.&lt;/li&gt;
  &lt;li&gt;Metadata: the object set, ordering and writer fencing, typically backed by consensus.&lt;/li&gt;
  &lt;li&gt;Compaction and garbage collection, or read amplification and a large bill.&lt;/li&gt;
  &lt;li&gt;The miss path: S3 scales to at least 3,500 writes and 5,500 reads per second per prefix, returning 503s while it scales up.&lt;sup id=&quot;fnref:s3-perf:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:s3-perf&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; Throttling shows up in the tail.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Capacity and durability get simpler. The system doesn’t: on-call moves to the cache and metadata layers.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;Streaming systems have already made this move. We operate self-hosted Kafka, Flink and related data infrastructure for customers as a managed service, so we have a stake in where its data lives.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Tiered storage&lt;/strong&gt; (&lt;a href=&quot;https://cwiki.apache.org/confluence/display/KAFKA/KIP-405%3A+Kafka+Tiered+Storage&quot;&gt;KIP-405&lt;/a&gt;): hot segments local, cold segments in object storage. Early access in Kafka 3.6, production-ready in 3.9.&lt;sup id=&quot;fnref:kafka39&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kafka39&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;10&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Diskless topics&lt;/strong&gt; (&lt;a href=&quot;https://cwiki.apache.org/confluence/display/KAFKA/KIP-1150%3A+Diskless+Topics&quot;&gt;KIP-1150&lt;/a&gt;) and object-store-native Kafka-compatible systems: the write path on object storage, trading produce latency for no cross-zone replication traffic and nearly stateless brokers. KIP-1150 was accepted in March 2026; its core design, in KIP-1163 and KIP-1164, was still under discussion in August 2026, with no release named.&lt;sup id=&quot;fnref:kip1150&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kip1150&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:diskless-status&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:diskless-status&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;12&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Choose per workload:&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Workload&lt;/th&gt;
      &lt;th&gt;Latency budget&lt;/th&gt;
      &lt;th&gt;Source of truth&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Payments, orders, control plane&lt;/td&gt;
      &lt;td&gt;Low tens of ms, tight p99&lt;/td&gt;
      &lt;td&gt;Replicated local disks, tiered history&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;CDC into analytics&lt;/td&gt;
      &lt;td&gt;Seconds&lt;/td&gt;
      &lt;td&gt;Tiered or diskless, by volume&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Logs, metrics, clickstream&lt;/td&gt;
      &lt;td&gt;Seconds to minutes&lt;/td&gt;
      &lt;td&gt;Object storage first&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Long-term replay&lt;/td&gt;
      &lt;td&gt;Throughput&lt;/td&gt;
      &lt;td&gt;Object storage behind a cache&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;strong&gt;Checklist&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Working set against RAM and NVMe per node, measured.&lt;/li&gt;
  &lt;li&gt;Miss rate at each tier boundary, and the latency behind it.&lt;/li&gt;
  &lt;li&gt;I/Os in flight per NVMe device, the I/O interface, and page size: whether the engine can reach the drives at all.&lt;/li&gt;
  &lt;li&gt;The p99 and p999 budget.&lt;/li&gt;
  &lt;li&gt;Round trips per durable write, and how much batching the budget tolerates.&lt;/li&gt;
  &lt;li&gt;Recovery: rebuild from peers or warm from the store, how long, and how degraded meanwhile.&lt;/li&gt;
  &lt;li&gt;Cost: IOPS caps, provisioned throughput, cross-zone transfer, per-request charges, and the break-even object and batch sizes above.&lt;/li&gt;
  &lt;li&gt;Who owns the cache, the metadata and compaction.&lt;/li&gt;
&lt;/ul&gt;

&lt;hr /&gt;

&lt;p&gt;Miss-heavy OLTP belongs on local NVMe; high-volume logs belong in cached object storage. Durability costs one round trip either way: a few milliseconds across zones, or about 100 ms to a standard object store. Pick the tier that holds the truth, cache the rest, and keep misses rare and cheap.&lt;/p&gt;

&lt;script defer=&quot;&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js&quot;&gt;&lt;/script&gt;

&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:thread&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Thread on X. &lt;a href=&quot;https://x.com/jorandirkgreef/status/2118057836207104173&quot;&gt;https://x.com/jorandirkgreef/status/2118057836207104173&lt;/a&gt; &lt;a href=&quot;#fnref:thread&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:s3-perf&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;AWS, “Best practices design patterns: optimizing Amazon S3 performance” (at least 3,500 PUT and 5,500 GET requests per second per prefix; 503 Slow Down while scaling; small-object latencies of roughly 100–200 ms). &lt;a href=&quot;https://docs.aws.amazon.com/AmazonS3/latest/userguide/optimizing-performance.html&quot;&gt;https://docs.aws.amazon.com/AmazonS3/latest/userguide/optimizing-performance.html&lt;/a&gt; &lt;a href=&quot;#fnref:s3-perf&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:s3-perf:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:s3-perf:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:s3-express&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;AWS, “Amazon S3 Express One Zone” (single-digit millisecond access, single Availability Zone). &lt;a href=&quot;https://aws.amazon.com/s3/storage-classes/express-one-zone/&quot;&gt;https://aws.amazon.com/s3/storage-classes/express-one-zone/&lt;/a&gt; &lt;a href=&quot;#fnref:s3-express&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:s3-express:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:5min&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Raja Appuswamy, Goetz Graefe, Renata Borovica-Gajic and Anastasia Ailamaki, “The Five-Minute Rule 30 Years Later and Its Impact on the Storage Hierarchy,” &lt;em&gt;Communications of the ACM&lt;/em&gt; 62(11), November 2019. &lt;a href=&quot;https://doi.org/10.1145/3318163&quot;&gt;https://doi.org/10.1145/3318163&lt;/a&gt; &lt;a href=&quot;#fnref:5min&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:5min:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:s3-pricing&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;AWS, “Amazon S3 pricing,” US East (N. Virginia), S3 Standard: $0.005 per 1,000 PUT requests, $0.0004 per 1,000 GET requests. &lt;a href=&quot;https://aws.amazon.com/s3/pricing/&quot;&gt;https://aws.amazon.com/s3/pricing/&lt;/a&gt; &lt;a href=&quot;#fnref:s3-pricing&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:s3-pricing:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:s3-pricing:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:ebs-pricing&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;AWS, “Amazon EBS pricing,” US East (N. Virginia), gp3: $0.08 per GB-month. &lt;a href=&quot;https://aws.amazon.com/ebs/pricing/&quot;&gt;https://aws.amazon.com/ebs/pricing/&lt;/a&gt; &lt;a href=&quot;#fnref:ebs-pricing&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:ebs-pricing:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:haas&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Gabriel Haas and Viktor Leis, “What Modern NVMe Storage Can Do, And How To Exploit It: High-Performance I/O for High-Performance Storage Engines,” &lt;em&gt;PVLDB&lt;/em&gt; 16(9), 2090–2102, 2023. &lt;a href=&quot;https://www.vldb.org/pvldb/vol16/p2090-haas.pdf&quot;&gt;https://www.vldb.org/pvldb/vol16/p2090-haas.pdf&lt;/a&gt; &lt;a href=&quot;#fnref:haas&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:haas:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:haas:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:haas:3&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;4&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:haas:4&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;5&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:xaz&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;AWS Architecture Blog, “Exploring Data Transfer Costs for AWS Managed Databases” (cross-AZ traffic charged $0.01 per GB in each direction). &lt;a href=&quot;https://aws.amazon.com/blogs/architecture/exploring-data-transfer-costs-for-aws-managed-databases/&quot;&gt;https://aws.amazon.com/blogs/architecture/exploring-data-transfer-costs-for-aws-managed-databases/&lt;/a&gt; &lt;a href=&quot;#fnref:xaz&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:s3-cond&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;AWS, “Amazon S3 now supports conditional writes,” 20 August 2024; “Amazon S3 adds new functionality for conditional writes,” 25 November 2024. &lt;a href=&quot;https://aws.amazon.com/about-aws/whats-new/2024/08/amazon-s3-conditional-writes&quot;&gt;https://aws.amazon.com/about-aws/whats-new/2024/08/amazon-s3-conditional-writes&lt;/a&gt;; &lt;a href=&quot;https://aws.amazon.com/about-aws/whats-new/2024/11/amazon-s3-functionality-conditional-writes&quot;&gt;https://aws.amazon.com/about-aws/whats-new/2024/11/amazon-s3-functionality-conditional-writes&lt;/a&gt; &lt;a href=&quot;#fnref:s3-cond&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kafka39&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Apache Kafka, “Apache Kafka 3.9.0 Release Announcement,” 6 November 2024. &lt;a href=&quot;https://kafka.apache.org/blog/2024/11/06/apache-kafka-3.9.0-release-announcement/&quot;&gt;https://kafka.apache.org/blog/2024/11/06/apache-kafka-3.9.0-release-announcement/&lt;/a&gt; &lt;a href=&quot;#fnref:kafka39&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kip1150&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Aiven, “KIP-1150 accepted, and the road ahead,” 12 March 2026. &lt;a href=&quot;https://aiven.io/blog/kip-1150-accepted-and-the-road-ahead&quot;&gt;https://aiven.io/blog/kip-1150-accepted-and-the-road-ahead&lt;/a&gt; &lt;a href=&quot;#fnref:kip1150&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:diskless-status&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;SoftwareMill, “Diskless Kafka: object storage, KIP-1150 and Kafka’s future,” August 2026; Apache Kafka wiki, “KIP-1163: Diskless Core.” &lt;a href=&quot;https://softwaremill.com/diskless-kafka-object-storage-kip-1150-and-kafkas-future/&quot;&gt;https://softwaremill.com/diskless-kafka-object-storage-kip-1150-and-kafkas-future/&lt;/a&gt;; &lt;a href=&quot;https://cwiki.apache.org/confluence/display/KAFKA/KIP-1163:+Diskless+Core&quot;&gt;https://cwiki.apache.org/confluence/display/KAFKA/KIP-1163:+Diskless+Core&lt;/a&gt; &lt;a href=&quot;#fnref:diskless-status&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Tue, 17 Nov 2026 00:00:00 +0000</pubDate>
        <link>https://platformatory.io/blog/where-should-your-data-live/</link>
        <guid isPermaLink="true">https://platformatory.io/blog/where-should-your-data-live/</guid>
        
        
        <category>Storage</category>
        
        <category>Distributed Systems</category>
        
        <category>Infrastructure</category>
        
        <category>Kafka</category>
        
        <category>Platform Engineering</category>
        
      </item>
    
      <item>
        <title>Oracle CDC with XStream and Debezium, Revisited: Where Changes Wait</title>
        <description>&lt;p&gt;Moving Oracle changes into Kafka sounds simple: capture committed changes and publish them as events. We’ve written about doing it with &lt;a href=&quot;/blog/debezium-oracledb-logminer/&quot;&gt;Debezium and LogMiner&lt;/a&gt;, with &lt;a href=&quot;/blog/debezium-oracledb-openlogreplicator/&quot;&gt;OpenLogReplicator&lt;/a&gt;, and with &lt;a href=&quot;/blog/Demystifying-Oracle-CDC-with-Confluent-Database-Kafka-Changes/&quot;&gt;Confluent’s Oracle CDC connector&lt;/a&gt;. Since then the ground has shifted. Debezium’s Oracle connector now offers four capture paths, Confluent ships a second Oracle connector built on XStream, and the question has moved from “how do we set it up?” to “why is it three hours behind?”&lt;/p&gt;

&lt;p&gt;The setup is the easy part. A pipeline that moves 100,000 events a second in a benchmark can still fall hours behind at month-end, or take a day to recover from an outage. What decides throughput, lag and cost is where changes wait, how much spare capacity sits behind each wait, and who pays for the capture engine.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;strong&gt;What happens between an Oracle commit and a Kafka event?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;With XStream, seven stages:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Redo:&lt;/strong&gt; Oracle writes every change to the online redo logs, then archives them.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Capture:&lt;/strong&gt; a capture process mines the redo and turns changes into logical change records (LCRs).&lt;sup id=&quot;fnref:xstream-concepts&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:xstream-concepts&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Buffered queue:&lt;/strong&gt; LCRs wait in SGA memory, in the Streams pool, until their transaction commits. They spill to disk when they’ve waited too long, when a transaction holds too many, or when memory runs short.&lt;sup id=&quot;fnref:xstream-concepts:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:xstream-concepts&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Outbound server:&lt;/strong&gt; assembles committed transactions and streams them to one attached client.&lt;sup id=&quot;fnref:xstream-concepts:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:xstream-concepts&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Connector:&lt;/strong&gt; Debezium, or Confluent’s connector built on it,&lt;sup id=&quot;fnref:confluent-xstream&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:confluent-xstream&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; turns LCRs into Kafka records and buffers them in a queue for Kafka Connect.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Producer:&lt;/strong&gt; batches, compresses and sends.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Broker:&lt;/strong&gt; replicates and acknowledges.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The client acknowledges progress by reporting a &lt;em&gt;processed low position&lt;/em&gt;: the point below which every transaction has been handled. The outbound server keeps its own copy, updated on a timer (30 seconds by default for OCI clients), so after a restart it resends whatever it can’t prove was processed, and the client must discard the duplicates.&lt;sup id=&quot;fnref:xstream-concepts:3&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:xstream-concepts&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; Delivery into Kafka is at-least-once; Confluent’s documentation says so plainly.&lt;sup id=&quot;fnref:confluent-xstream:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:confluent-xstream&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; Consumers should be idempotent on the row key and the change’s SCN.&lt;/p&gt;

&lt;p&gt;Each stage has its own capacity, buffer and failure mode, and each exposes a number that says whether it’s keeping up. Diagnosing lag means reading those numbers in order. Scaling Oracle, Connect or Kafka at random only moves money.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where do open transactions wait?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is the question the choice of capture path really answers. Oracle can only publish a transaction once it commits, so something has to hold the changes of every open transaction until then. The four paths put that something in different places:&lt;sup id=&quot;fnref:debezium-oracle&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:debezium-oracle&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Capture path&lt;/th&gt;
      &lt;th&gt;Where open transactions wait&lt;/th&gt;
      &lt;th&gt;What breaks first under a long transaction&lt;/th&gt;
      &lt;th&gt;Extra Oracle licence&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;LogMiner, buffered (Debezium’s default)&lt;/td&gt;
      &lt;td&gt;Connector JVM heap, or a disk-backed Infinispan or Ehcache buffer&lt;/td&gt;
      &lt;td&gt;Heap; the mining window can’t advance past the oldest open transaction&lt;/td&gt;
      &lt;td&gt;No&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;LogMiner, unbuffered&lt;/td&gt;
      &lt;td&gt;Oracle PGA, since LogMiner returns committed changes only&lt;/td&gt;
      &lt;td&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PGA_AGGREGATE_LIMIT&lt;/code&gt; errors on large transactions&lt;/td&gt;
      &lt;td&gt;No&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;OpenLogReplicator&lt;/td&gt;
      &lt;td&gt;A separate process that reads redo files directly&lt;/td&gt;
      &lt;td&gt;That process’s memory; little load on the database&lt;/td&gt;
      &lt;td&gt;No&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;XStream&lt;/td&gt;
      &lt;td&gt;The Streams pool in Oracle’s SGA, spilling to disk&lt;/td&gt;
      &lt;td&gt;Streams pool pressure, then spill I/O&lt;/td&gt;
      &lt;td&gt;Yes: XStream is part of Oracle GoldenGate&lt;sup id=&quot;fnref:gg-licence&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:gg-licence&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;The table also explains why “LogMiner versus XStream” benchmarks diverge so widely. They mostly measure where a long transaction lands. LogMiner’s &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;CONTINUOUS_MINE&lt;/code&gt; option, which older tools relied on to follow log switches, was removed in Oracle 19c, so LogMiner-based connectors now track log switches themselves.&lt;sup id=&quot;fnref:logmnr-19c&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:logmnr-19c&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;strong&gt;What’s the trade between throughput and latency?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Batching amortises serialisation, network round trips, compression and producer overhead across more events, and every batch makes something wait. Two relationships bound the trade. The first is plain arithmetic:&lt;/p&gt;

\[\text{backlog growth} = \lambda - \mu\]

&lt;p&gt;where \(\lambda\) is the rate changes arrive and \(\mu\) the rate the slowest stage can process them. If \(\lambda &amp;gt; \mu\) for long, lag grows without limit, and no buffer size fixes it. The second is Little’s law:&lt;/p&gt;

\[L = \lambda W\]

&lt;p&gt;Events in flight equal throughput times average residence time. At 10,000 events a second and two seconds in the pipeline, 20,000 events are in flight; at 100 ms, 1,000.&lt;/p&gt;

&lt;p&gt;How close to its capacity a stage runs also sets its wait. In the simplest queueing model, one server with random arrivals, time in the system is \(S/(1-\rho)\) for service time \(S\) and utilisation \(\rho\): twice the service time at 50% busy, five times at 80%, ten times at 90%. Real pipelines aren’t that simple, but the shape holds: a stage run hot turns small bursts into long waits.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How much headroom does recovery need?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;More than most teams provision. After an outage of length \(D\), the backlog is \(\lambda D\), and it drains at \(\mu - \lambda\) while new changes keep arriving. With headroom \(h = \mu/\lambda\):&lt;/p&gt;

\[T_{\text{drain}} = \frac{\lambda D}{\mu - \lambda} = \frac{D}{h - 1}\]

&lt;p&gt;For a one-hour outage, catching up takes four hours at 1.25× headroom, two at 1.5×, one at 2×, and 15 minutes at 5×:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/oracle-cdc-revisited/drain-time.svg&quot; alt=&quot;Time to catch up after a one-hour outage against headroom, the ratio of processing capacity to arrival rate: 4 hours at 1.25 times, 2 hours at 1.5, 1 hour at 2, 30 minutes at 3 and 15 minutes at 5.&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Assumes a one-hour outage, with arrivals continuing at the same rate during the catch-up.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A pipeline sized at 1.25× peak looks healthy every day and takes four hours to recover from a one-hour outage, longer if the outage hit at peak. An SLO that promises recovery from a one-hour outage within 15 minutes is a promise of 5× headroom at the slowest stage. Say that before signing it.&lt;/p&gt;

&lt;p&gt;Recovery also needs the redo to still exist. Capture restarts from the required checkpoint SCN, and every redo log from there on must be available.&lt;sup id=&quot;fnref:xstream-concepts:4&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:xstream-concepts&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; Archive retention has to cover the outage, the drain, and the age of the oldest open transaction, which holds the restart point back. At an illustrative 50 MB/s of redo, an hour’s outage and 15 minutes’ drain need 225 GB of archived logs on hand, before any long transaction stretches it.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;strong&gt;Is Oracle or Kafka the bottleneck?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Neither, by default. The stage whose backlog grows is the constraint:&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Observation&lt;/th&gt;
      &lt;th&gt;Likely constraint&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Capture falls behind redo generation&lt;/td&gt;
      &lt;td&gt;Mining: CPU, redo I/O, transaction reconstruction&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Capture keeps up; the outbound low watermark lags&lt;/td&gt;
      &lt;td&gt;XStream delivery, or backpressure from the connector&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;The connector’s queue sits near full&lt;/td&gt;
      &lt;td&gt;Record conversion in Connect, or Kafka publishing&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Producer request latency rises&lt;/td&gt;
      &lt;td&gt;Brokers, network, replication or producer settings&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Every stage keeps up; consumer lag rises&lt;/td&gt;
      &lt;td&gt;The downstream consumer&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Redo throughput and event throughput are different measurements. Oracle can write a lot of redo for changes that yield few events (index maintenance, uncaptured tables, LOB churn), and supplemental logging adds redo of its own. Compare captured LCRs per second with Kafka records per second; redo against records compares unlike things.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How should XStream’s memory be sized?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Three settings, all in Oracle:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;STREAMS_POOL_SIZE&lt;/code&gt;:&lt;/strong&gt; the shared pool XStream draws on. Oracle requires at least 300 MB, and recommends setting it explicitly rather than leaving it to automatic memory management.&lt;sup id=&quot;fnref:xstream-config&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:xstream-config&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt; Left unset with automatic management off, the pool takes 10% of the shared pool on first use.&lt;sup id=&quot;fnref:streams-pool&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:streams-pool&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Capture &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;MAX_SGA_SIZE&lt;/code&gt;:&lt;/strong&gt; the capture process’s share of the pool.&lt;sup id=&quot;fnref:xstream-config:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:xstream-config&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Outbound &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;MAX_SGA_SIZE&lt;/code&gt;:&lt;/strong&gt; the outbound server’s share. The sum of every component’s limit must stay below the pool size.&lt;sup id=&quot;fnref:xstream-config:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:xstream-config&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Oracle prescribes no ratio between capture and outbound. Equal shares are a sensible start; give capture more when transaction reconstruction dominates, and outbound more when delivery does, and decide from measured use and spill rather than by rule. Two apply parameters, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;txn_lcr_spill_threshold&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;txn_age_spill_threshold&lt;/code&gt;, set when LCRs spill, and Oracle notes that an outbound server performs best when few do.&lt;sup id=&quot;fnref:xstream-concepts:5&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:xstream-concepts&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; Capture &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PARALLELISM&lt;/code&gt; defaults to 0 for XStream Out, one process doing all the mining; raising it adds reader, preparer and builder processes.&lt;sup id=&quot;fnref:xstream-concepts:6&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:xstream-concepts&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;More memory helps only when memory is the constraint. It can’t buy CPU, faster redo reads or a faster Kafka cluster.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why do long transactions matter so much?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A transaction that starts at 10:00 and commits at 10:30 can’t be published at 10:01, however quickly its redo was mined. For thirty minutes something holds its changes, and on every path above, that something is finite. Meanwhile the restart point can’t advance past it, so redo retention stretches with it.&lt;/p&gt;

&lt;p&gt;The leading indicator is the age of the oldest open transaction that capture is tracking. Debezium’s LogMiner adapter exposes it as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;OldestScnAgeInMilliseconds&lt;/code&gt;, alongside &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;NumberOfActiveTransactions&lt;/code&gt;.&lt;sup id=&quot;fnref:debezium-oracle:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:debezium-oracle&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt; Age alone misleads: a two-hour idle transaction and a five-minute one that updates ten million rows stress different things. Track the largest open transaction by LCRs or bytes too, and keep database-wide open transactions apart from the ones capture actually follows.&lt;/p&gt;

&lt;p&gt;Two Debezium escape valves deserve care. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;log.mining.window.max.ms&lt;/code&gt; lets the mining window advance past a transaction that’s been open too long, while still tracking it. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;log.mining.transaction.retention.ms&lt;/code&gt; discards transactions open longer than its value, and their changes are never emitted.&lt;sup id=&quot;fnref:debezium-oracle:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:debezium-oracle&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt; The first trades memory for complexity; the second trades it for data loss.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;strong&gt;Which Oracle-side settings matter most?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Roughly in order:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Capture scope:&lt;/strong&gt; capture only the schemas and tables you need; everything else is redo decoded for nothing.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Supplemental logging:&lt;/strong&gt; log the key columns correctness needs, and no more.&lt;sup id=&quot;fnref:xstream-config:3&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:xstream-config&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Streams pool and process memory:&lt;/strong&gt; sized against measured use and spill.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Redo and archive I/O:&lt;/strong&gt; enough for peak generation and for catch-up reads at the same time.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Transaction shape:&lt;/strong&gt; the application’s batch jobs, purges and forgotten sessions.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Retention:&lt;/strong&gt; archives kept for the recovery window above.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;RAC topology:&lt;/strong&gt; capture follows the queue’s owning instance; set &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;USE_RAC_SERVICE&lt;/code&gt;.&lt;sup id=&quot;fnref:xstream-concepts:7&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:xstream-concepts&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; Confluent reports persistent throughput drops after RAC failover on Oracle 19.30 and 19.31, which it attributes to an Oracle defect.&lt;sup id=&quot;fnref:confluent-rac&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:confluent-rac&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;8&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then measure, change one thing, and measure again under the same workload.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How much does the connector’s configuration matter?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Less than its reputation, as long as nothing downstream is saturated. Debezium’s main dials, with their defaults:&lt;sup id=&quot;fnref:debezium-oracle:3&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:debezium-oracle&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;max.batch.size&lt;/code&gt; (2,048):&lt;/strong&gt; the most records handed to Connect per iteration. It’s a ceiling: a batch returns before it fills, so raising it adds no wait.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;max.queue.size&lt;/code&gt; (8,192):&lt;/strong&gt; the records buffered between the capture thread and Connect. Keep it larger than the batch size; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;max.queue.size.in.bytes&lt;/code&gt; adds a byte cap for wide rows and LOBs.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;poll.interval.ms&lt;/code&gt; (500):&lt;/strong&gt; how long each iteration waits for new events. Not Oracle’s mining interval.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;heartbeat.interval.ms&lt;/code&gt; (0, off):&lt;/strong&gt; heartbeats keep offsets moving on quiet tables. Confluent recommends minutes to hours for its connector.&lt;sup id=&quot;fnref:confluent-xstream:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:confluent-xstream&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On the producer, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;linger.ms&lt;/code&gt; now defaults to 5 ms, not 0, since Kafka 4.0, because larger batches usually mean similar or lower latency.&lt;sup id=&quot;fnref:kip-1030&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kip-1030&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;9&lt;/a&gt;&lt;/sup&gt; Compression and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;acks&lt;/code&gt; trade CPU, bandwidth and durability against latency.&lt;/p&gt;

&lt;p&gt;A bigger queue absorbs a burst; it doesn’t make a saturated stage faster. And some latency isn’t configurable: Confluent’s documentation notes about three seconds of extra latency when the database is quiet, from XStream’s own batching.&lt;sup id=&quot;fnref:confluent-xstream:3&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:confluent-xstream&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is Confluent’s XStream connector faster than Debezium’s?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The public evidence can’t say. Confluent’s connector is built on Debezium and Kafka Connect, and both use the same XStream outbound server.&lt;sup id=&quot;fnref:confluent-xstream:4&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:confluent-xstream&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; Confluent claims two to three times the throughput and latency of “traditional CDC approaches”,&lt;sup id=&quot;fnref:confluent-blog&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:confluent-blog&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;10&lt;/a&gt;&lt;/sup&gt; meaning LogMiner. The benchmarks sit in a gated whitepaper, and they compare XStream with LogMiner. Neither says anything about one XStream connector against another.&lt;/p&gt;

&lt;p&gt;A fair head-to-head holds constant the Oracle version and workload, XStream settings, Kafka cluster and replication, serialisation, compression and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;acks&lt;/code&gt;, connector resources, transaction sizes and concurrency, and the starting backlog. Then the differences that remain (LCR conversion, allocation, buffering, checkpointing, restart) can show up, and their size will depend on the workload.&lt;/p&gt;

&lt;p&gt;The licensing difference is clearer than the performance one, and larger. XStream is licensed as part of Oracle GoldenGate, which in turn requires Enterprise Edition.&lt;sup id=&quot;fnref:gg-licence:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:gg-licence&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt; Debezium’s XStream adapter needs that licence. Confluent’s connector includes it, under an agreement with Oracle, in its own subscription.&lt;sup id=&quot;fnref:confluent-xstream:5&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:confluent-xstream&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; So the honest comparisons are a Confluent subscription against a GoldenGate licence plus running Debezium yourself, or against LogMiner or OpenLogReplicator, which need no extra Oracle licence and leave the long-transaction problem in your connector.&lt;/p&gt;

&lt;p&gt;Confluent’s connector has XStream’s limits too: one outbound server per connector, since a server accepts one client; one pluggable database per connector; no capture on a Data Guard standby, where downstream capture is the workaround.&lt;sup id=&quot;fnref:confluent-xstream:6&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:confluent-xstream&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;strong&gt;What should a CDC service level measure?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One “lag” number won’t do. Four dimensions:&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Dimension&lt;/th&gt;
      &lt;th&gt;Measures&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Freshness&lt;/td&gt;
      &lt;td&gt;p50, p95 and p99 commit-to-Kafka latency; age of the oldest committed change not yet in Kafka&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Capacity&lt;/td&gt;
      &lt;td&gt;Redo MB/s; LCRs per second; Kafka records per second; measured maximum rate, giving headroom&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Pressure&lt;/td&gt;
      &lt;td&gt;Capture and outbound progress; queue depth; spill; Streams pool use; oldest open transaction&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Recovery&lt;/td&gt;
      &lt;td&gt;Redo retained against redo required; checkpoint age; restart time; drain rate&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;SCN differences aren’t seconds; convert through commit timestamps. And the age of the last processed event misreports freshness when tables are idle or a long transaction is open, which is what heartbeats are for.&lt;/p&gt;

&lt;p&gt;A useful SLO names both steady state and recovery: &lt;em&gt;99% of committed changes visible in Kafka within five seconds at the agreed peak, and recovery from a one-hour outage within 15 minutes&lt;/em&gt;. By the drain arithmetic, the second clause costs 5× headroom, and it’s often the clause worth negotiating.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What does reliable Oracle CDC cost?&lt;/strong&gt;&lt;/p&gt;

\[\text{cost} = \text{licences} + \text{infrastructure} + \text{operations} + \text{incidents and recovery}\]

&lt;p&gt;Licences are Oracle’s (Enterprise Edition and GoldenGate, for XStream) and the connector’s. Infrastructure is database CPU and memory for capture, archive storage for retention, Connect workers, and Kafka capacity sized for the drain rather than the average. Operations is the people who understand capture, the Streams pool and Kafka at once, on call around the clock. A free connector gets expensive when every long transaction becomes a page; a subscription doesn’t pay for itself by including support. We operate self-hosted Kafka, Flink and related data infrastructure for customers as a managed service, and predictability is worth more than peak throughput there.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;So what’s the right architecture?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Start from the business requirement: how fresh, at what peak, recovered how fast. Translate it into headroom with the drain formula. Pick the capture path by where you can afford open transactions to wait and what you’re licensed for. Size Oracle and Kafka separately, instrument every boundary in the pipeline, and test the cases that hurt: a long transaction, a burst, a slow broker, a restart after an hour down.&lt;/p&gt;

&lt;p&gt;Use open-source Debezium where it meets the workload and you can run it. Pay for a commercial connector when its measured behaviour, support or bundled licence beats the alternative on that test. Its own benchmark settles nothing.&lt;/p&gt;

&lt;script defer=&quot;&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js&quot;&gt;&lt;/script&gt;

&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:xstream-concepts&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Oracle, &lt;em&gt;XStream Guide&lt;/em&gt; 19c, “XStream Out Concepts” (capture process, LCRs, buffered queue and spill, outbound server and single client session, processed low position and acknowledgement interval, checkpoints and required checkpoint SCN, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PARALLELISM&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;USE_RAC_SERVICE&lt;/code&gt;). &lt;a href=&quot;https://docs.oracle.com/en/database/oracle/oracle-database/19/xstrm/xstream-out-concepts.html&quot;&gt;https://docs.oracle.com/en/database/oracle/oracle-database/19/xstrm/xstream-out-concepts.html&lt;/a&gt; &lt;a href=&quot;#fnref:xstream-concepts&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:xstream-concepts:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:xstream-concepts:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:xstream-concepts:3&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;4&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:xstream-concepts:4&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;5&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:xstream-concepts:5&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;6&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:xstream-concepts:6&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;7&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:xstream-concepts:7&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;8&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:confluent-xstream&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Confluent, “Oracle XStream CDC Source Connector for Confluent Platform” (built on Debezium and Kafka Connect; at-least-once delivery; XStream licence included; limitations; heartbeat and quiet-database latency notes). &lt;a href=&quot;https://docs.confluent.io/kafka-connectors/oracle-xstream-cdc-source/current/overview.html&quot;&gt;https://docs.confluent.io/kafka-connectors/oracle-xstream-cdc-source/current/overview.html&lt;/a&gt; &lt;a href=&quot;#fnref:confluent-xstream&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:confluent-xstream:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:confluent-xstream:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:confluent-xstream:3&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;4&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:confluent-xstream:4&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;5&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:confluent-xstream:5&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;6&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:confluent-xstream:6&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;7&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:debezium-oracle&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Debezium documentation 3.7, “Debezium connector for Oracle” (adapters, buffer types, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;log.mining.window.max.ms&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;log.mining.transaction.retention.ms&lt;/code&gt;, queue and batch defaults, streaming metrics). &lt;a href=&quot;https://debezium.io/documentation/reference/stable/connectors/oracle.html&quot;&gt;https://debezium.io/documentation/reference/stable/connectors/oracle.html&lt;/a&gt; &lt;a href=&quot;#fnref:debezium-oracle&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:debezium-oracle:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:debezium-oracle:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:debezium-oracle:3&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;4&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:gg-licence&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Oracle GoldenGate Licensing Information (a GoldenGate licence includes Oracle XStream; Enterprise Edition is a prerequisite). &lt;a href=&quot;https://docs.oracle.com/en/middleware/goldengate/core/23/ogglc/oracle-goldengate.html&quot;&gt;https://docs.oracle.com/en/middleware/goldengate/core/23/ogglc/oracle-goldengate.html&lt;/a&gt; &lt;a href=&quot;#fnref:gg-licence&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:gg-licence:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:logmnr-19c&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Oracle Database PL/SQL Packages and Types Reference 19c, “DBMS_LOGMNR” (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;CONTINUOUS_MINE&lt;/code&gt; desupported in 19c). &lt;a href=&quot;https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_LOGMNR.html&quot;&gt;https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_LOGMNR.html&lt;/a&gt; &lt;a href=&quot;#fnref:logmnr-19c&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:xstream-config&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Oracle, &lt;em&gt;XStream Guide&lt;/em&gt; 19c, “Configuring XStream Out” (Streams pool of at least 300 MB, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;max_sga_size&lt;/code&gt; for capture and outbound, supplemental logging). &lt;a href=&quot;https://docs.oracle.com/en/database/oracle/oracle-database/19/xstrm/configuring-xstream-out.html&quot;&gt;https://docs.oracle.com/en/database/oracle/oracle-database/19/xstrm/configuring-xstream-out.html&lt;/a&gt; &lt;a href=&quot;#fnref:xstream-config&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:xstream-config:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:xstream-config:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:xstream-config:3&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;4&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:streams-pool&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Oracle Database Reference 21c, “STREAMS_POOL_SIZE.” &lt;a href=&quot;https://docs.oracle.com/en/database/oracle/oracle-database/21/refrn/STREAMS_POOL_SIZE.html&quot;&gt;https://docs.oracle.com/en/database/oracle/oracle-database/21/refrn/STREAMS_POOL_SIZE.html&lt;/a&gt; &lt;a href=&quot;#fnref:streams-pool&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:confluent-rac&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Confluent Support, “Why does Oracle XStream CDC Source Connector throughput drop after RAC failover.” &lt;a href=&quot;https://support.confluent.io/hc/en-us/articles/52668236858260-Why-does-Oracle-XStream-CDC-Source-Connector-throughput-drops-after-RAC-failover&quot;&gt;https://support.confluent.io/hc/en-us/articles/52668236858260-Why-does-Oracle-XStream-CDC-Source-Connector-throughput-drops-after-RAC-failover&lt;/a&gt; &lt;a href=&quot;#fnref:confluent-rac&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kip-1030&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Apache Kafka, “KIP-1030: Change constraints and default values for various configurations” (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;linger.ms&lt;/code&gt; default from 0 to 5 in 4.0). &lt;a href=&quot;https://cwiki.apache.org/confluence/display/KAFKA/KIP-1030:+Change+constraints+and+default+values+for+various+configurations&quot;&gt;https://cwiki.apache.org/confluence/display/KAFKA/KIP-1030:+Change+constraints+and+default+values+for+various+configurations&lt;/a&gt; &lt;a href=&quot;#fnref:kip-1030&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:confluent-blog&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Mac Khajuria and Sudhindra Sheshadrivasan, “Meet the Oracle XStream CDC Source Connector,” Confluent blog, 19 March 2025. &lt;a href=&quot;https://www.confluent.io/blog/oracle-xstream-cdc-connector/&quot;&gt;https://www.confluent.io/blog/oracle-xstream-cdc-connector/&lt;/a&gt; &lt;a href=&quot;#fnref:confluent-blog&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Sat, 14 Nov 2026 00:00:00 +0000</pubDate>
        <link>https://platformatory.io/blog/oracle-cdc-revisited/</link>
        <guid isPermaLink="true">https://platformatory.io/blog/oracle-cdc-revisited/</guid>
        
        
        <category>Kafka</category>
        
        <category>CDC</category>
        
        <category>Oracle</category>
        
        <category>Connectors</category>
        
        <category>Data Streaming</category>
        
      </item>
    
      <item>
        <title>Running a Private AI Estate: Self-Hosting LLMs from One GPU to a Cluster</title>
        <description>&lt;p&gt;Work your way out of GPU poverty and the same question arrives at every team: can we serve intelligence ourselves, as a service, to everyone who needs it, air-gapped if we have to?&lt;/p&gt;

&lt;p&gt;Appliances are back, this time shipping with a model, and the hardware is a purchase order:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;tinybox (2024):&lt;/strong&gt; multi-GPU machines in one chassis, from $15,000 at launch.&lt;sup id=&quot;fnref:tinybox&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:tinybox&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;DGX Spark (October 2025):&lt;/strong&gt; book-sized, 128 GB of memory shared by CPU and GPU, a 240 W power supply, $3,999 at launch.&lt;sup id=&quot;fnref:spark&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:spark&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:spark-price&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:spark-price&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At any non-trivial scale the economics of self-hosting can be compelling. How compelling depends on the class of model, on whether you train, serve or both, and on what the intelligence is for; &lt;a href=&quot;/blog/ai-sovereignty-intelligence-utility/&quot;&gt;Too Cheap to Meter&lt;/a&gt; works through that case. Here we take the case as made and work through the how, from one box on a desk to clusters that serve and train across racks.&lt;/p&gt;

&lt;p&gt;We followed the question through, and each answer raised the next question.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;strong&gt;What will it actually run?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The first surprise is that compute isn’t the constraint. Each generated token reads the model’s active weights from memory once, so single-stream speed has a hard ceiling:&lt;/p&gt;

\[\text{tokens/s} \;\le\; \frac{\text{memory bandwidth}}{\text{bytes read per token}}\]

&lt;p&gt;Desktop appliances have plenty of capacity and little bandwidth: 273 GB/s on the Spark, about a twelfth of a datacentre H100’s 3.35 TB/s.&lt;sup id=&quot;fnref:spark:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:spark&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:h100&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:h100&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt; On that box:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Llama 3.1 70B, FP8 (70 GB read per token):&lt;/strong&gt; ceiling \(273/70 \approx 3.9\) tokens/s; measured 2.7, against 803 tokens/s of prefill.&lt;sup id=&quot;fnref:lmsys-spark&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:lmsys-spark&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Llama 3.1 8B, FP8:&lt;/strong&gt; 20.5 tokens/s for one user, 368 aggregate across a batch of 32.&lt;sup id=&quot;fnref:lmsys-spark:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:lmsys-spark&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;gpt-oss-120b, MXFP4:&lt;/strong&gt; 117B parameters, about 5.1B active per token at 4.25 bits, roughly 2.7 GB read per token; ceiling around 100 tokens/s.&lt;sup id=&quot;fnref:gpt-oss&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:gpt-oss&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So the answer is: big models that touch little per token. Mixture-of-experts models fit a capacity-rich, bandwidth-poor machine; dense giants fit and crawl.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/self-hosting-llms-air-gapped/decode-ceiling.svg&quot; alt=&quot;Single-stream decode ceilings on 273 GB/s of memory bandwidth: about 3.9 tokens per second for Llama 3.1 70B in FP8 (2.7 measured), about 34 for Llama 3.1 8B in FP8 (20.5 measured), and about 100 for gpt-oss-120b, which reads only its active experts.&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;273 GB/s of unified memory. Measured values from October 2025;&lt;sup id=&quot;fnref:lmsys-spark:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:lmsys-spark&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt; ceilings from the arithmetic above.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can it make the model ours, by fine-tuning on our own data?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Partly. Training holds far more in memory than serving does:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Full fine-tuning, 16-bit:&lt;/strong&gt; weights, gradients and optimizer state at once, more than 780 GB for a 65B model, so \(780/65 \approx 12\) bytes per parameter.&lt;sup id=&quot;fnref:qlora&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:qlora&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt; 128 GB covers roughly \(128/12 \approx 10\)B parameters, before activations.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;QLoRA:&lt;/strong&gt; a frozen 4-bit model plus small trained adapters; 65B fits in under 48 GB.&lt;sup id=&quot;fnref:qlora:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:qlora&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt; The “fine-tune 70B” headline assumes this.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Adapters are the realistic path: your documents, tools and tone layered onto an open model. And a box that’s training is a box that isn’t serving, which is the first hint that one machine will have more than one job.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What if one box isn’t enough?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Link two, and the network sets the pace: a 200 Gb/s port moves 25 GB/s, a tenth of the memory bandwidth inside each box.&lt;sup id=&quot;fnref:spark:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:spark&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; Distributed inference turns up on a desk.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;strong&gt;How do we know it’s good enough?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;“Fast enough” has to become numbers before anyone depends on the box. For inference:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;TTFT and ITL&lt;/strong&gt; (time to first token, inter-token latency) at p50 and p95: what users feel as responsive and fluent.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Goodput:&lt;/strong&gt; requests or tokens per second inside both latency targets. Peak throughput with latency ignored is a vanity number.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Concurrency:&lt;/strong&gt; users or agents sustained before targets break.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Tokens per joule and cost per million tokens, at the wall plug.&lt;/strong&gt; Software counters on unified memory are incomplete; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nvidia-smi&lt;/code&gt; on the Spark reports no memory use at all.&lt;sup id=&quot;fnref:spark-k8s&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:spark-k8s&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;8&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Quality on your own tasks:&lt;/strong&gt; a quantised model twice as fast that fails your evaluation set is a regression.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For fine-tuning: training tokens per second, time to converge on your data, and the result on the same evaluation set. The tools are free: GuideLLM for request-rate sweeps,&lt;sup id=&quot;fnref:guidellm&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:guidellm&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;9&lt;/a&gt;&lt;/sup&gt; vLLM’s &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bench serve&lt;/code&gt;, and NVIDIA’s AIPerf for realistic arrival patterns.&lt;sup id=&quot;fnref:aiperf&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:aiperf&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;10&lt;/a&gt;&lt;/sup&gt; Their metric definitions differ, so compare within one tool.&lt;sup id=&quot;fnref:llm-bench-concepts&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:llm-bench-concepts&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;And is it really “at the cost of power”?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Electricity per million tokens, for a box drawing \(P\) kW at \(c\) dollars per kWh and producing \(r\) tokens per second:&lt;/p&gt;

\[C_{10^6} = \frac{P \cdot c}{3600\, r} \times 10^{6}\]

&lt;p&gt;With \(P = 0.24\) (full draw) and \(c = 0.15\) (illustrative), that’s 3.6 cents an hour:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Dense 70B, one user (2.7 tokens/s):&lt;/strong&gt; about $3.70 of electricity per million tokens&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;8B, one user (20.5 tokens/s):&lt;/strong&gt; about $0.49&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;8B, batch of 32 (368 tokens/s):&lt;/strong&gt; under 3 cents&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Hardware:&lt;/strong&gt; $3,999 over three years is about 15 cents an hour, four times the electricity&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Power is the small line, and the spread across workloads is 136-fold on the same box. The cost per token is decided by model choice and batching, and batching means many users.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/self-hosting-llms-air-gapped/cost-at-plug.svg&quot; alt=&quot;Cost per million tokens at illustrative prices: about $3.70 for a dense 70B model at batch 1, $0.49 for an 8B model at batch 1 and $0.03 for an 8B model at batch 32 in electricity alone; adding three-year amortisation raises them to about $19.40, $2.55 and $0.14.&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Illustrative: 240 W at full draw, $0.15/kWh, $3,999 over three years.&lt;/em&gt;&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;strong&gt;So how do we run it, once other people depend on it?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every answer so far points the same way. Good economics need batching, so many users. Making the model ours means fine-tuning, so a second workload. Measuring needs benchmarks, a third. Big models need a second box. And the air-gap means every image, driver, weight and update arrives by one audited path. The box has turned into a small fleet with shared GPUs.&lt;/p&gt;

&lt;p&gt;Three ways to run that, each right for someone:&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Option&lt;/th&gt;
      &lt;th&gt;Fits&lt;/th&gt;
      &lt;th&gt;Strains when&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;A single model server (Ollama, llama.cpp, or vLLM in a container)&lt;/td&gt;
      &lt;td&gt;One person, one model, quick experiments&lt;/td&gt;
      &lt;td&gt;A second user needs queueing, a second model needs the GPU, or updates have to be audited&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;A compose file of services on one box&lt;/td&gt;
      &lt;td&gt;A small team sharing one box&lt;/td&gt;
      &lt;td&gt;A second box arrives, jobs compete for GPUs, or you need rolling updates&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;A small Kubernetes distribution with the GPU Operator&lt;/td&gt;
      &lt;td&gt;Several workloads, several boxes, controlled air-gapped updates&lt;/td&gt;
      &lt;td&gt;There’s one box and one user, or the hardware is so new the GPU tooling lags&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;For one person experimenting, the single server wins: it answers in ten minutes, and Kubernetes would cost more than it saves. A compose file stretches surprisingly far on one box. Kubernetes has real costs, machinery to learn and run, and GPU tooling that trails brand-new desktop parts.&lt;/p&gt;

&lt;p&gt;But each requirement the simple options lack has to be built by hand: a scheduler for shared GPUs, an update mechanism, an air-gap procedure, a way to reproduce the box. Kubernetes already has them as a &lt;a href=&quot;https://platformatory.io/platform-thesis/&quot;&gt;durable primitive&lt;/a&gt;: declarative deployments, GPU scheduling, health checks, operators. Past the second user, workload or box, it’s the cheaper path. (We build platforms on Kubernetes for customers, so we have a stake in this answer.)&lt;/p&gt;

&lt;p&gt;The pieces exist, air-gapped included:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Distribution:&lt;/strong&gt; k3s and RKE2 both document air-gapped installs: images from a tarball or private registry, artifacts pre-downloaded, upgrades through the same registry.&lt;sup id=&quot;fnref:k3s-airgap&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:k3s-airgap&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;12&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:rke2-airgap&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:rke2-airgap&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;13&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;GPUs:&lt;/strong&gt; NVIDIA’s GPU Operator installs driver, container runtime and device plugin, and lists the Spark as supported.&lt;sup id=&quot;fnref:gpu-operator&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:gpu-operator&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;14&lt;/a&gt;&lt;/sup&gt; Community reports show device-plugin versions crashing or misallocating on unified memory, so pin and test.&lt;sup id=&quot;fnref:spark-k8s:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:spark-k8s&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;8&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Serving:&lt;/strong&gt; vLLM or SGLang as the engine; llm-d’s Kubernetes-native routing beyond one replica; LeaderWorkerSet when a model spans two linked boxes.&lt;sup id=&quot;fnref:llmd&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:llmd&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;15&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Air-gap:&lt;/strong&gt; a registry mirror for images, a model store for weights, one audited path in for updates, the same shape for every workload.&lt;/li&gt;
&lt;/ul&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;strong&gt;What changes when the fleet becomes a cluster?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Past a few boxes, the two workloads stop resembling each other. Serving is a service: many short requests, bound by latency, scaled out by adding replicas. Training is one synchronous computation spread over every GPU in the job, bound by throughput, and it fails as a unit. Both run on the same hardware hierarchy, and the hierarchy is the first constraint.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/self-hosting-llms-air-gapped/parallelism-topology.svg&quot; alt=&quot;Parallelism mapped onto hardware: tensor parallel inside a server on NVLink at 900 GB/s per GPU, pipeline and expert parallel between servers, sharded data-parallel replicas across racks on a 400 Gb/s network, under HBM at 3.35 TB/s inside each GPU.&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;H100 SXM figures;&lt;sup id=&quot;fnref:h100:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:h100&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt; one 400 Gb/s link per GPU, as in Llama 3’s training cluster.&lt;sup id=&quot;fnref:llama3&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:llama3&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Each step outward costs bandwidth: 3.35 TB/s of memory inside a GPU, 900 GB/s of NVLink between the GPUs of one server, 50 GB/s per GPU across the network. That’s an 18-fold drop at the edge of the server, and every parallelism scheme is a decision about which data crosses it. Llama 3 orders its four, from the inside out, as tensor, context, pipeline and data parallel, and keeps tensor parallelism, the chattiest, inside the eight NVLinked GPUs of one server.&lt;sup id=&quot;fnref:llama3:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:llama3&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How is one model served across many GPUs?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The request splits before the model does. Prefill reads the whole prompt in one pass and is bound by compute; decode emits one token at a time and is bound by memory bandwidth, which is why the Spark managed 803 tokens/s of prefill and 2.7 of decode. Then the model splits, in one of five ways:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Data parallel:&lt;/strong&gt; a whole copy of the model per GPU or server, with a load balancer in front. The default whenever the model fits.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Tensor parallel:&lt;/strong&gt; each layer’s matrices split across GPUs, with an all-reduce every layer. Fast inside a server; across servers vLLM’s documentation asks for InfiniBand and calls a fallback to TCP “not efficient”.&lt;sup id=&quot;fnref:vllm-parallel&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:vllm-parallel&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;17&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Pipeline parallel:&lt;/strong&gt; layers cut into stages, one per server, so only activations cross the network. vLLM’s recipe for a model larger than a server is tensor parallel within each server and pipeline parallel across them.&lt;sup id=&quot;fnref:vllm-parallel:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:vllm-parallel&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;17&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Expert parallel:&lt;/strong&gt; a mixture-of-experts model’s experts spread across GPUs, attention kept data-parallel, each token sent to the few experts it needs.&lt;sup id=&quot;fnref:vllm-parallel:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:vllm-parallel&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;17&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Disaggregated prefill and decode:&lt;/strong&gt; the two phases on separate GPU pools, each sized and split for its own bottleneck, with the KV cache shipped between them. DistServe served 7.4 times more requests within latency targets than colocated systems.&lt;sup id=&quot;fnref:distserve&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:distserve&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;18&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once the weights are split, the bottleneck moves to the KV cache, the attention state each sequence keeps for every token it has seen:&lt;/p&gt;

\[\text{KV bytes per token} = 2 \times \text{layers} \times \text{KV heads} \times \text{head dim} \times \text{bytes per value}\]

&lt;p&gt;Llama 3 70B has 80 layers, 8 KV heads and \(8192/64 = 128\) dimensions per head.&lt;sup id=&quot;fnref:llama3:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:llama3&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt; At 16 bits that’s \(2 \times 80 \times 8 \times 128 \times 2 \approx 0.33\) MB per token: 2.7 GB for an 8,000-token conversation, 43 GB for one at the full 128,000. An eight-GPU H100 server has 640 GB; 70 GB of FP8 weights leave about 570 GB, room for some 210 conversations of 8,000 tokens or 13 at full context, before activations. Cache memory, more than weights, sets concurrency, and concurrency sets the cost per token. So distributed serving is largely cache logistics: routing each request to the replica that already holds its prefix, offloading cold cache to CPU memory or disk, and moving cache from prefill to decode over RDMA.&lt;sup id=&quot;fnref:llmd:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:llmd&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;15&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:dynamo&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:dynamo&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;19&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How is a model trained across many machines?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Memory forces the split before speed does. Mixed-precision training with Adam keeps 16 bytes per parameter: 16-bit weights and gradients, plus 32-bit copies of the weights, momentum and variance.&lt;sup id=&quot;fnref:zero&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:zero&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;20&lt;/a&gt;&lt;/sup&gt; QLoRA’s “more than 780 GB” for 65B was a floor. At 16 bytes, a 70B model needs 1.12 TB for its training state, fourteen 80 GB GPUs before a single activation; 405B needs 6.5 TB. So the state is sharded, each GPU holding a slice and gathering layers as it needs them (ZeRO, and PyTorch’s FSDP),&lt;sup id=&quot;fnref:zero:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:zero&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;20&lt;/a&gt;&lt;/sup&gt; and the model is split as for serving, with context parallelism added for long sequences.&lt;sup id=&quot;fnref:llama3:3&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:llama3&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:megatron&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:megatron&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;21&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;The job is synchronous: every step waits for the slowest GPU, and one failure stops all of them. Even at the frontier the hardware delivers well under half its peak. Llama 3 405B trained at 38–43% model FLOPs utilisation on up to 16,000 H100s;&lt;sup id=&quot;fnref:llama3:4&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:llama3&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt; Megatron-LM reached 52% on 3,072 GPUs in 2021.&lt;sup id=&quot;fnref:megatron:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:megatron&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;21&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What runs all this on Kubernetes?&lt;/strong&gt;&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Layer&lt;/th&gt;
      &lt;th&gt;Serving&lt;/th&gt;
      &lt;th&gt;Training&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Devices&lt;/td&gt;
      &lt;td&gt;GPU Operator; Dynamic Resource Allocation, stable since Kubernetes 1.34, requests GPUs and NICs by attribute rather than count&lt;sup id=&quot;fnref:dra&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:dra&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;22&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;
      &lt;td&gt;The same&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Network&lt;/td&gt;
      &lt;td&gt;RDMA NICs (InfiniBand or RoCE) attached to pods, GPUDirect RDMA, NCCL&lt;/td&gt;
      &lt;td&gt;The same, carrying far more&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Engine&lt;/td&gt;
      &lt;td&gt;vLLM, SGLang, TensorRT-LLM&lt;/td&gt;
      &lt;td&gt;PyTorch FSDP, Megatron-LM, DeepSpeed, JAX&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Unit of pods&lt;/td&gt;
      &lt;td&gt;LeaderWorkerSet: a multi-host replica created, placed and restarted as one&lt;sup id=&quot;fnref:lws&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:lws&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;23&lt;/a&gt;&lt;/sup&gt;; Grove’s PodCliqueSet for disaggregated roles&lt;sup id=&quot;fnref:grove&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:grove&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;24&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;
      &lt;td&gt;JobSet: a group of Jobs recreated whole on failure, optionally one per rack&lt;sup id=&quot;fnref:jobset&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:jobset&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;25&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Queues and gangs&lt;/td&gt;
      &lt;td&gt;Shared with training when one cluster runs both&lt;/td&gt;
      &lt;td&gt;Kueue: quotas, all-or-nothing admission, placement by rack or block&lt;sup id=&quot;fnref:kueue-tas&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kueue-tas&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;26&lt;/a&gt;&lt;/sup&gt;; KAI Scheduler: gangs, hierarchical queues, GPU sharing&lt;sup id=&quot;fnref:kai&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kai&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;27&lt;/a&gt;&lt;/sup&gt;; Volcano; Slurm on Kubernetes via Slinky&lt;sup id=&quot;fnref:slinky&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:slinky&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;28&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Routing&lt;/td&gt;
      &lt;td&gt;Gateway API Inference Extension: an InferencePool and an endpoint picker that routes on prefix cache and LoRA adapters&lt;sup id=&quot;fnref:gie&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:gie&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;29&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;
      &lt;td&gt;Not applicable&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Platform&lt;/td&gt;
      &lt;td&gt;llm-d: prefix-aware scheduling, disaggregation, wide expert parallelism, tiered KV cache&lt;sup id=&quot;fnref:llmd:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:llmd&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;15&lt;/a&gt;&lt;/sup&gt;; NVIDIA Dynamo&lt;sup id=&quot;fnref:dynamo:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:dynamo&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;19&lt;/a&gt;&lt;/sup&gt;; KServe’s LLMInferenceService, built on llm-d&lt;sup id=&quot;fnref:kserve&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kserve&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;30&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;
      &lt;td&gt;Kubeflow Trainer v2: a TrainJob over JobSet for PyTorch, DeepSpeed, Megatron-LM, JAX and more&lt;sup id=&quot;fnref:trainer&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:trainer&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;31&lt;/a&gt;&lt;/sup&gt;; KubeRay&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Weights and checkpoints&lt;/td&gt;
      &lt;td&gt;A model store, and loaders that stream weights into GPU memory as they arrive&lt;sup id=&quot;fnref:streamer&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:streamer&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;32&lt;/a&gt;&lt;/sup&gt;&lt;/td&gt;
      &lt;td&gt;Storage sized for checkpoint bursts&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;The pattern down the table: the pod is the wrong unit for both workloads. Each project adds a bigger one (a group, a gang, a set) that is scheduled, placed and restarted together, and teaches the scheduler a topology it otherwise can’t see. Most of it is young. Kubeflow Trainer still calls itself alpha,&lt;sup id=&quot;fnref:trainer:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:trainer&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;31&lt;/a&gt;&lt;/sup&gt; llm-d reached 1.0 only in October 2026,&lt;sup id=&quot;fnref:llmd:3&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:llmd&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;15&lt;/a&gt;&lt;/sup&gt; and Grove and LeaderWorkerSet overlap. Pin versions, and expect to swap a layer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What breaks?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;At scale, failure is the steady state. Over a 54-day snapshot of Llama 3 405B pre-training on 16,384 H100s, Meta logged 419 unexpected interruptions, about one every three hours. Some 78% were confirmed or suspected hardware, led by faulty GPUs (30.1%) and HBM3 memory (17.2%). Six were silent data corruption: wrong numbers, no error.&lt;sup id=&quot;fnref:llama3:5&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:llama3&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt; That’s one failure per 50,000 GPU-hours or so. If failures scale with GPU count, a 1,024-GPU job meets one every two days.&lt;/p&gt;

&lt;p&gt;Recovery means restarting from a checkpoint, and the interval has a classic answer. With \(\delta\) the time to write a checkpoint and \(M\) the mean time between interrupts, Young’s first-order optimum, refined by Daly, is&lt;sup id=&quot;fnref:daly&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:daly&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;33&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

\[\tau \approx \sqrt{2 \delta M}\]

&lt;p&gt;and the fraction of the run lost is roughly \(\delta/\tau + \tau/(2M)\): writing checkpoints, plus redoing the work since the last one. At \(M = 185\) minutes, a five-minute checkpoint gives \(\tau \approx 43\) minutes and loses about 23% of the run. A 30-second one gives about 14 minutes and loses about 7%, before restarts. Write speed is the lever. Llama 3’s storage sustained 2 TB/s and peaked at 7 TB/s, because checkpoints arrive as bursts that saturate it, and Meta kept effective training time above 90%.&lt;sup id=&quot;fnref:llama3:6&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:llama3&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;The rest of the list, for serving:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Round-robin throws away the cache.&lt;/strong&gt; A plain load balancer scatters a conversation’s turns across replicas, and each one recomputes the prefix. Route on cache and load.&lt;sup id=&quot;fnref:gie:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:gie&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;29&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Busy isn’t healthy.&lt;/strong&gt; A GPU can report itself fully used while latency targets break. Scale on queue depth, cache use or the targets themselves, as Dynamo’s planner does.&lt;sup id=&quot;fnref:dynamo:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:dynamo&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;19&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cold starts are measured in weights.&lt;/strong&gt; A replica isn’t ready until 70 GB, or several hundred, reach its GPUs. Pre-stage weights on nodes or stream them; in an air gap, from the model store inside it.&lt;sup id=&quot;fnref:streamer:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:streamer&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;32&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;A multi-host replica lives and dies whole.&lt;/strong&gt; Lose one pod of a 16-GPU replica and the group restarts.&lt;sup id=&quot;fnref:lws:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:lws&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;23&lt;/a&gt;&lt;/sup&gt; Rolling updates need spare capacity in replica-sized units: 16 free GPUs to surge one replica.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The network falls back quietly.&lt;/strong&gt; Without RDMA devices and the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;IPC_LOCK&lt;/code&gt; capability in the pod, NCCL drops to TCP; check its logs for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;NET/IB/GDRDMA&lt;/code&gt;. The container’s default &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/dev/shm&lt;/code&gt; is too small, so mount a memory-backed volume.&lt;sup id=&quot;fnref:vllm-parallel:3&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:vllm-parallel&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;17&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And for training:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Gang or deadlock.&lt;/strong&gt; Two jobs that each get half their pods hold the whole cluster and progress on neither. Admit all or nothing.&lt;sup id=&quot;fnref:kueue-tas:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kueue-tas&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;26&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:kai:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kai&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;27&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Placement is performance.&lt;/strong&gt; A job scattered across racks puts its chattiest traffic on the slowest links. Schedule by topology.&lt;sup id=&quot;fnref:kueue-tas:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kueue-tas&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;26&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Kubernetes restarts pods; training restarts jobs.&lt;/strong&gt; A replacement pod can’t rejoin a collective that has moved on, so recovery is the whole job, from the last checkpoint.&lt;sup id=&quot;fnref:jobset:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:jobset&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;25&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Stragglers set the pace.&lt;/strong&gt; One slow GPU, hot node or flaky link slows every step. Llama 3 saw throughput swing 1–2% with the time of day, as mid-day heat changed GPU clocks.&lt;sup id=&quot;fnref:llama3:7&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:llama3&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Corruption doesn’t crash.&lt;/strong&gt; It surfaces as a loss spike, or a worse model weeks later. A study of a large production fleet found hundreds of defective CPUs across hundreds of thousands of machines, and argued the problem is systemic;&lt;sup id=&quot;fnref:sdc&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:sdc&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;34&lt;/a&gt;&lt;/sup&gt; GPUs are no exception.&lt;sup id=&quot;fnref:llama3:8&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:llama3&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Power moves with the job.&lt;/strong&gt; Thousands of GPUs stalling and resuming together swing a data centre’s draw by tens of megawatts.&lt;sup id=&quot;fnref:llama3:9&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:llama3&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An air gap compounds all of it. Driver, RDMA stack, NCCL and engine versions must match on every node, and each arrives through the one import path, so the cluster runs from a single tested bill of materials, upgraded as a whole.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;And for the CTO weighing this against an API?&lt;/strong&gt; Owning the box pays when:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;the data can’t leave the building, by regulation or by choice&lt;/li&gt;
  &lt;li&gt;usage is steady and high enough to keep batches full, where the per-token cost falls 100-fold&lt;/li&gt;
  &lt;li&gt;an open model the size of the box does the job, judged on your own evaluation set&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Rent the API when usage is spiky, the best model matters more than control, or there’s nobody to run the platform.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;So, can you serve intelligence yourself? Yes: the hardware is affordable, the models are good, and the power bill is small. At cluster scale the hard parts are moving bytes across the slowest link and surviving failure, and Kubernetes now has a project for each. The ownership that pays off is of the platform around the boxes, built once and reused on every box and rack after it.&lt;/p&gt;

&lt;script defer=&quot;&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js&quot;&gt;&lt;/script&gt;

&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:tinybox&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Tom’s Hardware, “TinyBox AI accelerator now available starting at $15k, available in 7900XTX and RTX 4090 variants,” 2024; current models at &lt;a href=&quot;https://docs.tinygrad.org/tinybox/&quot;&gt;https://docs.tinygrad.org/tinybox/&lt;/a&gt;. &lt;a href=&quot;https://www.tomshardware.com/pc-components/gpus/tinybox-ai-accelerator-now-available-starting-at-dollar15k-available-in-7900xtx-and-rtx-4090-variants&quot;&gt;https://www.tomshardware.com/pc-components/gpus/tinybox-ai-accelerator-now-available-starting-at-dollar15k-available-in-7900xtx-and-rtx-4090-variants&lt;/a&gt; &lt;a href=&quot;#fnref:tinybox&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:spark&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;NVIDIA, “DGX Spark” product page and specifications (128 GB LPDDR5x unified memory, 273 GB/s, up to 1 PFLOP FP4 with sparsity, ConnectX-7 at 200 Gb/s, 240 W power supply, 200B-parameter inference and 70B-parameter fine-tuning claims). &lt;a href=&quot;https://www.nvidia.com/en-us/products/workstations/dgx-spark/&quot;&gt;https://www.nvidia.com/en-us/products/workstations/dgx-spark/&lt;/a&gt; &lt;a href=&quot;#fnref:spark&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:spark:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:spark:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:spark-price&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;&lt;em&gt;The Register&lt;/em&gt;, “Nvidia’s GB10 Spark,” 13 October 2025 (launch price). NVIDIA later raised the US price, citing memory supply. &lt;a href=&quot;https://theregister.com/2025/10/13/nvidia_gb10_spark&quot;&gt;https://theregister.com/2025/10/13/nvidia_gb10_spark&lt;/a&gt; &lt;a href=&quot;#fnref:spark-price&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:h100&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;NVIDIA, “H100 Tensor Core GPU” specifications (H100 SXM: 3.35 TB/s memory bandwidth). &lt;a href=&quot;https://www.nvidia.com/en-us/data-center/h100/&quot;&gt;https://www.nvidia.com/en-us/data-center/h100/&lt;/a&gt; &lt;a href=&quot;#fnref:h100&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:h100:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:lmsys-spark&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Jerry Zhou and Richard Chen, “NVIDIA DGX Spark In-Depth Review,” LMSYS, 13 October 2025. The authors note that results may become outdated as software support matures. &lt;a href=&quot;https://www.lmsys.org/blog/2025-10-13-nvidia-dgx-spark&quot;&gt;https://www.lmsys.org/blog/2025-10-13-nvidia-dgx-spark&lt;/a&gt; &lt;a href=&quot;#fnref:lmsys-spark&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:lmsys-spark:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:lmsys-spark:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:gpt-oss&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;OpenAI, gpt-oss-120b model card (116.8B total parameters, about 5.13B active per token; MoE weights in MXFP4 at 4.25 bits). &lt;a href=&quot;https://huggingface.co/openai/gpt-oss-120b&quot;&gt;https://huggingface.co/openai/gpt-oss-120b&lt;/a&gt; &lt;a href=&quot;#fnref:gpt-oss&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:qlora&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Tim Dettmers et al., “QLoRA: Efficient Finetuning of Quantized LLMs,” NeurIPS 2023; arXiv:2305.14314. &lt;a href=&quot;https://arxiv.org/abs/2305.14314&quot;&gt;https://arxiv.org/abs/2305.14314&lt;/a&gt; &lt;a href=&quot;#fnref:qlora&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:qlora:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:spark-k8s&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Collabnix, “Setting up a K3s Kubernetes cluster on NVIDIA DGX Spark with full GPU support” (community guide), and the NVIDIA Developer Forums thread “Blackwell GB10 GPU, device plugin v0.18.0, driver 580.95.05.” &lt;a href=&quot;https://collabnix.com/setting-up-a-k3s-kubernetes-cluster-on-nvidia-dgx-spark-with-full-gpu-support/&quot;&gt;https://collabnix.com/setting-up-a-k3s-kubernetes-cluster-on-nvidia-dgx-spark-with-full-gpu-support/&lt;/a&gt;; &lt;a href=&quot;https://forums.developer.nvidia.com/t/blackwell-gb10-gpu-device-plugin-v0-18-0-driver-580-95-05/348704&quot;&gt;https://forums.developer.nvidia.com/t/blackwell-gb10-gpu-device-plugin-v0-18-0-driver-580-95-05/348704&lt;/a&gt; &lt;a href=&quot;#fnref:spark-k8s&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:spark-k8s:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:guidellm&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Red Hat Developer, “Measure what matters: benchmarking and evaluation” (GuideLLM rate sweeps against OpenAI-compatible servers, with TTFT and ITL percentiles). &lt;a href=&quot;https://developers.redhat.com/learning/learn:openshift-ai:get-started-vllm/resource/resources:measure-what-matters-benchmarking-and-evaluation&quot;&gt;https://developers.redhat.com/learning/learn:openshift-ai:get-started-vllm/resource/resources:measure-what-matters-benchmarking-and-evaluation&lt;/a&gt; &lt;a href=&quot;#fnref:guidellm&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:aiperf&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;NVIDIA Technical Blog, “Benchmarking LLM Inference at Scale with AIPerf.” &lt;a href=&quot;https://developer.nvidia.com/blog/benchmarking-llm-inference-at-scale-with-aiperf&quot;&gt;https://developer.nvidia.com/blog/benchmarking-llm-inference-at-scale-with-aiperf&lt;/a&gt; &lt;a href=&quot;#fnref:aiperf&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:llm-bench-concepts&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;NVIDIA Technical Blog, “LLM Benchmarking: Fundamental Concepts” (differences in metric definitions between tools). &lt;a href=&quot;https://developer.nvidia.com/blog/llm-benchmarking-fundamental-concepts&quot;&gt;https://developer.nvidia.com/blog/llm-benchmarking-fundamental-concepts&lt;/a&gt; &lt;a href=&quot;#fnref:llm-bench-concepts&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:k3s-airgap&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;K3s documentation, “Air-Gap Install.” &lt;a href=&quot;https://docs.k3s.io/installation/airgap&quot;&gt;https://docs.k3s.io/installation/airgap&lt;/a&gt; &lt;a href=&quot;#fnref:k3s-airgap&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:rke2-airgap&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;RKE2 documentation, “Air-Gap Install.” &lt;a href=&quot;https://docs.rke2.io/install/airgap&quot;&gt;https://docs.rke2.io/install/airgap&lt;/a&gt; &lt;a href=&quot;#fnref:rke2-airgap&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:gpu-operator&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;NVIDIA GPU Operator 26.7, “Platform Support” (DGX Spark listed under Blackwell). &lt;a href=&quot;https://docs.nvidia.com/datacenter/cloud-native/gpu-operator/26.7/platform-support.html&quot;&gt;https://docs.nvidia.com/datacenter/cloud-native/gpu-operator/26.7/platform-support.html&lt;/a&gt; &lt;a href=&quot;#fnref:gpu-operator&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:llmd&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;llm-d, GitHub repository (v1.0, October 2026: inference scheduler, disaggregation, tiered KV cache on vLLM and SGLang). &lt;a href=&quot;https://github.com/llm-d/llm-d&quot;&gt;https://github.com/llm-d/llm-d&lt;/a&gt; &lt;a href=&quot;#fnref:llmd&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:llmd:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:llmd:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:llmd:3&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;4&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:llama3&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Aaron Grattafiori et al., “The Llama 3 Herd of Models,” arXiv:2407.21783, July 2024 (revised November 2024): §3.3.1 infrastructure and storage, §3.3.2 parallelism and MFU, §3.3.4 reliability, Table 3 architecture, Table 5 interruption causes. &lt;a href=&quot;https://arxiv.org/abs/2407.21783&quot;&gt;https://arxiv.org/abs/2407.21783&lt;/a&gt; &lt;a href=&quot;#fnref:llama3&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:llama3:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:llama3:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:llama3:3&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;4&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:llama3:4&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;5&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:llama3:5&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;6&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:llama3:6&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;7&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:llama3:7&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;8&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:llama3:8&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;9&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:llama3:9&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;10&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:vllm-parallel&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;vLLM documentation, “Parallelism and Scaling.” &lt;a href=&quot;https://docs.vllm.ai/en/latest/serving/parallelism_scaling.html&quot;&gt;https://docs.vllm.ai/en/latest/serving/parallelism_scaling.html&lt;/a&gt; &lt;a href=&quot;#fnref:vllm-parallel&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:vllm-parallel:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:vllm-parallel:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:vllm-parallel:3&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;4&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:distserve&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Yinmin Zhong et al., “DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving,” OSDI 2024; arXiv:2401.09670. &lt;a href=&quot;https://arxiv.org/abs/2401.09670&quot;&gt;https://arxiv.org/abs/2401.09670&lt;/a&gt; &lt;a href=&quot;#fnref:distserve&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:dynamo&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;NVIDIA Dynamo, GitHub repository (disaggregated serving, KV-aware routing, KV block manager, NIXL transfers, SLA-driven planner). &lt;a href=&quot;https://github.com/ai-dynamo/dynamo&quot;&gt;https://github.com/ai-dynamo/dynamo&lt;/a&gt; &lt;a href=&quot;#fnref:dynamo&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:dynamo:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:dynamo:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:zero&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Samyam Rajbhandari et al., “ZeRO: Memory Optimizations Toward Training Trillion Parameter Models,” arXiv:1910.02054, 2019 (§3.1: 2Ψ + 2Ψ + 12Ψ = 16Ψ bytes for mixed-precision Adam). &lt;a href=&quot;https://arxiv.org/abs/1910.02054&quot;&gt;https://arxiv.org/abs/1910.02054&lt;/a&gt; &lt;a href=&quot;#fnref:zero&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:zero:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:megatron&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Deepak Narayanan et al., “Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LM,” SC 2021; arXiv:2104.04473. &lt;a href=&quot;https://arxiv.org/abs/2104.04473&quot;&gt;https://arxiv.org/abs/2104.04473&lt;/a&gt; &lt;a href=&quot;#fnref:megatron&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:megatron:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:dra&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Kubernetes blog, “Kubernetes v1.34: DRA has graduated to GA,” 1 September 2025. &lt;a href=&quot;https://kubernetes.io/blog/2025/09/01/kubernetes-v1-34-dra-updates/&quot;&gt;https://kubernetes.io/blog/2025/09/01/kubernetes-v1-34-dra-updates/&lt;/a&gt; &lt;a href=&quot;#fnref:dra&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:lws&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Kubernetes SIGs, LeaderWorkerSet. &lt;a href=&quot;https://github.com/kubernetes-sigs/lws&quot;&gt;https://github.com/kubernetes-sigs/lws&lt;/a&gt; &lt;a href=&quot;#fnref:lws&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:lws:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:grove&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;NVIDIA Dynamo documentation, “Grove” (PodCliqueSet, PodClique, PodCliqueScalingGroup; scheduling through KAI Scheduler). &lt;a href=&quot;https://docs.nvidia.com/dynamo/knowledge-base/kubernetes/multinode/grove.md&quot;&gt;https://docs.nvidia.com/dynamo/knowledge-base/kubernetes/multinode/grove.md&lt;/a&gt; &lt;a href=&quot;#fnref:grove&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:jobset&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Kubernetes SIGs, JobSet (failure policy recreates the whole JobSet; exclusive placement per topology domain). &lt;a href=&quot;https://github.com/kubernetes-sigs/jobset&quot;&gt;https://github.com/kubernetes-sigs/jobset&lt;/a&gt; &lt;a href=&quot;#fnref:jobset&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:jobset:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kueue-tas&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Kueue documentation, “Topology Aware Scheduling”; Kueue v0.15.0 release announcement (TAS for Kubeflow Trainer v2). &lt;a href=&quot;https://kueue.sigs.k8s.io/docs/concepts/topology_aware_scheduling/&quot;&gt;https://kueue.sigs.k8s.io/docs/concepts/topology_aware_scheduling/&lt;/a&gt; &lt;a href=&quot;#fnref:kueue-tas&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:kueue-tas:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:kueue-tas:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kai&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;NVIDIA, KAI Scheduler (CNCF sandbox; Apache-2.0). &lt;a href=&quot;https://github.com/NVIDIA/KAI-Scheduler&quot;&gt;https://github.com/NVIDIA/KAI-Scheduler&lt;/a&gt; &lt;a href=&quot;#fnref:kai&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:kai:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:slinky&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;SchedMD, Slinky slurm-operator. &lt;a href=&quot;https://slinky.schedmd.com/projects/slurm-operator&quot;&gt;https://slinky.schedmd.com/projects/slurm-operator&lt;/a&gt; &lt;a href=&quot;#fnref:slinky&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:gie&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Kubernetes SIGs, Gateway API Inference Extension. &lt;a href=&quot;https://gateway-api-inference-extension.sigs.k8s.io/&quot;&gt;https://gateway-api-inference-extension.sigs.k8s.io/&lt;/a&gt; &lt;a href=&quot;#fnref:gie&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:gie:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kserve&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;KServe, “KServe 0.17 release,” March 2026 (LLMInferenceService on llm-d, disaggregated prefill and decode). &lt;a href=&quot;https://kserve.github.io/website/blog/kserve-0.17-release&quot;&gt;https://kserve.github.io/website/blog/kserve-0.17-release&lt;/a&gt; &lt;a href=&quot;#fnref:kserve&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:trainer&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Kubeflow Trainer, GitHub repository (v2.4.0, November 2026; status alpha). &lt;a href=&quot;https://github.com/kubeflow/trainer&quot;&gt;https://github.com/kubeflow/trainer&lt;/a&gt; &lt;a href=&quot;#fnref:trainer&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:trainer:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:streamer&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Run:ai Model Streamer, GitHub repository. &lt;a href=&quot;https://github.com/run-ai/runai-model-streamer&quot;&gt;https://github.com/run-ai/runai-model-streamer&lt;/a&gt; &lt;a href=&quot;#fnref:streamer&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:streamer:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:daly&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;J. T. Daly, “A higher order estimate of the optimum checkpoint interval for restart dumps,” Future Generation Computer Systems 22(3), 303–312, 2006 (extends J. W. Young’s first-order estimate). &lt;a href=&quot;https://laro.lanl.gov/esploro/outputs/journalArticle/A-higher-order-estimate-of-the/9916364420003761&quot;&gt;https://laro.lanl.gov/esploro/outputs/journalArticle/A-higher-order-estimate-of-the/9916364420003761&lt;/a&gt; &lt;a href=&quot;#fnref:daly&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:sdc&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Harish Dattatraya Dixit et al., “Silent Data Corruptions at Scale,” arXiv:2102.11245, 2021. &lt;a href=&quot;https://arxiv.org/abs/2102.11245&quot;&gt;https://arxiv.org/abs/2102.11245&lt;/a&gt; &lt;a href=&quot;#fnref:sdc&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Wed, 11 Nov 2026 00:00:00 +0000</pubDate>
        <link>https://platformatory.io/blog/self-hosting-llms-air-gapped/</link>
        <guid isPermaLink="true">https://platformatory.io/blog/self-hosting-llms-air-gapped/</guid>
        
        
        <category>AI</category>
        
        <category>Kubernetes</category>
        
        <category>Platform Engineering</category>
        
        <category>Infrastructure</category>
        
      </item>
    
      <item>
        <title>The Architecture &amp; Economics of AI Sovereignty</title>
        <description>&lt;p&gt;There’s an old joke about a lecture on the cosmos, interrupted by someone insisting the world rests on the back of a giant turtle. What holds up the turtle? “It’s turtles all the way down.”&lt;/p&gt;

&lt;p&gt;The AI supply chain is turtles all the way down, and each turtle is a wrapper around the one beneath it:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;The AI product&lt;/strong&gt; is a wrapper around a model API.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The model&lt;/strong&gt; is a wrapper around accelerators: trained and served on NVIDIA GPUs or Google TPUs, with its weights shaped by the hardware they ran on.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The accelerator&lt;/strong&gt; is a wrapper around a design and a fab. Design is the visible moat, years of architecture and software. Fabrication is the quieter one: a craft perfected by a few, with TSMC taking about 70% of global foundry revenue in Q2 2025.&lt;sup id=&quot;fnref:foundry&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:foundry&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; Its memory comes from three suppliers, SK hynix with about half.&lt;sup id=&quot;fnref:hbm&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:hbm&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The fab&lt;/strong&gt; is a wrapper around lithography: EUV scanners from one Dutch company, ASML, built around US light-source modules and German lasers.&lt;sup id=&quot;fnref:asml&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:asml&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;ASML&lt;/strong&gt; is a wrapper around Carl Zeiss, its sole supplier of the mirrors and optics for EUV; Zeiss’s output caps ASML’s.&lt;sup id=&quot;fnref:zeiss&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:zeiss&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;4&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Zeiss&lt;/strong&gt; is a wrapper around precision machine tools and materials. Machine tools have been strategic for decades: in the 1980s, milling machines sold to the Soviet Union cut quieter submarine propellers, and members of Congress smashed a Toshiba radio on the Capitol lawn in protest.&lt;sup id=&quot;fnref:kcl-toshiba&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kcl-toshiba&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;5&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:upi-toshiba&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:upi-toshiba&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Under all of it:&lt;/strong&gt; neon for lithography lasers, more than half of it from Ukraine until 2022,&lt;sup id=&quot;fnref:neon&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:neon&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;7&lt;/a&gt;&lt;/sup&gt; high-purity quartz for silicon crucibles, almost all of it from one North Carolina town that a hurricane shut for days in 2024,&lt;sup id=&quot;fnref:spruce-pine&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:spruce-pine&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;8&lt;/a&gt;&lt;/sup&gt;&lt;sup id=&quot;fnref:spruce-pine-minimal&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:spruce-pine-minimal&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;9&lt;/a&gt;&lt;/sup&gt; and power, about 415 TWh for data centres in 2024, heading for around 945 TWh by 2030.&lt;sup id=&quot;fnref:iea&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:iea&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;10&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Where does it end? Nowhere convenient. More than 50 points in the semiconductor supply chain have a single region holding over 65% of the global market.&lt;sup id=&quot;fnref:sia-bcg&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:sia-bcg&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;11&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;In 1954 the US Atomic Energy Commission promised electricity “too cheap to meter.” Fuel was cheap; the plants and grid were not, and the meter stayed.&lt;sup id=&quot;fnref:strauss&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:strauss&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;12&lt;/a&gt;&lt;/sup&gt; In March 2026 the phrase came back with intelligence as “a utility, like electricity or water,” sold “on a meter.”&lt;sup id=&quot;fnref:altman-meter&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:altman-meter&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;13&lt;/a&gt;&lt;/sup&gt; If every hospital, court, ministry and company comes to need intelligence the way it needs electricity, the questions become a utility’s: who owns the plant, where it sits, and what happens in an outage. Utilities attract tariffs, stockpiles, guarded plants and the language of national security, and so governments everywhere now talk about sovereign AI. Over a stack of turtles, what would that even mean?&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;Sovereignty arrives with analogies attached, and each one breaks somewhere.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;A standing army?&lt;/strong&gt; Armies are sovereign capacity: force a state can use without asking permission. Yet most armies fly jets and run engines built abroad. Military sovereignty in practice means you can operate and maintain what you have, independently, and replace it through allies.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Military technology?&lt;/strong&gt; Governments already treat AI that way. The US controlled advanced AI chips and chipmaking tools in October 2022,&lt;sup id=&quot;fnref:bis-2022&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:bis-2022&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;14&lt;/a&gt;&lt;/sup&gt; and in January 2025 briefly wrote closed model weights into export law.&lt;sup id=&quot;fnref:gibson-dunn&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:gibson-dunn&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;15&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Owning the goods?&lt;/strong&gt; Full ownership means controlling every one of these: frontier and domain models with their training data; accelerator design and the software to design chips; leading-edge fabrication; high-bandwidth memory; EUV lithography; the optics inside it; specialty chemicals; gases and materials; power and cooling; precision machine tools.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The chemicals show how fast a single layer can bite. In July 2019 Japan restricted exports of photoresist, hydrogen fluoride and fluorinated polyimide to South Korea, home of the world’s largest memory makers. Before the curbs, South Korea sourced 92% of its photoresist and 94% of its fluorinated polyimide from Japan.&lt;sup id=&quot;fnref:japan-korea&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:japan-korea&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;16&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;So is full sovereignty achievable? No country has it, the United States included: its AI runs on Dutch lithography, German optics, Taiwanese fabrication and Japanese chemicals. Autarky over the whole stack is a myth. The useful question is which layers to own, in what order.&lt;/p&gt;

&lt;p&gt;Maslow ordered human needs as a pyramid: physiological needs at the base, safety above them, then belonging, esteem and, at the top, self-actualisation. You don’t pursue the upper levels while the base is unmet. AI sovereignty has the same shape:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Operational sovereignty (the base).&lt;/strong&gt; Your AI keeps running if a foreign provider, or its government, says no: serving capacity on your soil, open weights you hold, people who can run and fix it. The bare minimum, and the one to secure first.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Data sovereignty (safety).&lt;/strong&gt; Your data stays under your law, in your languages.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Model sovereignty (belonging).&lt;/strong&gt; Domain and regional models, adapted and distilled for your industries and languages.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Compute security (esteem).&lt;/strong&gt; Accelerator supply secured through stockpiles, contracts and allies.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Industrial sovereignty (self-actualisation).&lt;/strong&gt; Fabs, lithography, optics, machine tools: the summit some aim for and nobody completes alone.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/ai-sovereignty-intelligence-utility/sovereignty-pyramid.svg&quot; alt=&quot;The hierarchy of AI sovereignty as a pyramid: operational sovereignty at the base, then data sovereignty, model sovereignty, compute security, and industrial sovereignty at the top.&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Most sovereign-AI plans start at the summit (a national fab, a national chip) while the base stays unmet: a ministry whose chatbot stops if one API key is revoked. Public compute pools that rent subsidised GPUs to local startups and researchers start at the base instead. For policy, the pyramid sets the order of spending.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;Operational sovereignty is an architecture before it is a policy. Drawn as a system, it has six parts:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;A policy router&lt;/strong&gt; at the front door: it classifies each request by sensitivity and residency, decides where the work may run, and holds the failover plan.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;A shared domestic serving pool:&lt;/strong&gt; open-weight models and distilled domain and language models, on GPUs inside the border, run by people inside the border.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;A model registry&lt;/strong&gt; holding the weights locally, versioned and escrowed, so a licence change abroad can’t take them away.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;An evaluation harness&lt;/strong&gt; in local tasks and languages, the only way to know whether a domestic model is good enough for a court summary in Tamil or a claims form in Bahasa.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;A distillation pipeline&lt;/strong&gt; that turns logged traces and graded examples into smaller students.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;A frontier API across the border:&lt;/strong&gt; optional, for non-sensitive work, and mostly a teacher under contract.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src=&quot;../assets/blog-images/ai-sovereignty-intelligence-utility/sovereign-architecture.svg&quot; alt=&quot;Operational sovereignty as a system: inside the jurisdiction, a policy router sends work to a shared domestic serving pool of open-weight and distilled domain models on local GPUs, backed by a model registry, an evaluation harness and a distillation pipeline; across the border, a frontier API is optional for non-sensitive work and acts mainly as a teacher under contract.&quot; /&gt;&lt;/p&gt;

&lt;p&gt;We build data platforms and agentic systems for customers, so we have a stake in how this gets built.&lt;/p&gt;

&lt;p&gt;The test is a drill: cut the border link for a week. Sensitive and essential work shouldn’t notice; frontier-only features degrade, visibly and on purpose. Run it before a supplier or a government runs it for you.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;What does intelligence cost at population scale? A utility sizes its grid from demand, and the same arithmetic works here. For \(U\) people at \(D\) tokens a day, a peak-to-average ratio \(f\), and a GPU serving \(r\) tokens per second at full batch, the fleet is&lt;/p&gt;

\[N = \frac{f\, U D}{86\,400\; r}\]

&lt;p&gt;and the yearly cost per person, for a GPU-hour price \(h\) at average utilisation \(u\), is&lt;/p&gt;

\[A = \frac{365\, D\, h}{3600\; r\, u}\]

&lt;p&gt;Four of the inputs are choices, and they vary by orders of magnitude:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Demand \(D\):&lt;/strong&gt; about 2,000 tokens a day for occasional chat, 20,000 for a daily assistant, 200,000 for agents that resend context at every step&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Model efficiency \(r\):&lt;/strong&gt; illustratively 5,000 tokens per second per GPU for a small distilled model, 2,000 for a mid-sized open model, a few hundred for frontier-class models&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Utilisation \(u\):&lt;/strong&gt; 0.5 for a fleet sized for twice its average load; higher only by pooling demand&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The hour \(h\):&lt;/strong&gt; priced in dollars everywhere. H100 rental medians fell from $9.34 at hyperscalers in late 2024 to $1.95 on marketplaces by late 2025.&lt;sup id=&quot;fnref:silicon-data&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:silicon-data&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;17&lt;/a&gt;&lt;/sup&gt; Power is a small part of it: 700 W&lt;sup id=&quot;fnref:h100&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:h100&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;18&lt;/a&gt;&lt;/sup&gt; with a 1.3 facility overhead at $0.10 per kWh is $0.09 an hour, under 5% of $2. The hour is mostly capital.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The fifth input is the one a country doesn’t choose: income per head \(y\). With \(h = \$2\) and \(u = 0.5\), set against the World Bank’s income bands:&lt;sup id=&quot;fnref:wb-groups&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:wb-groups&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;19&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Workload and model&lt;/th&gt;
      &lt;th&gt;Per person, per year&lt;/th&gt;
      &lt;th&gt;Low income ($1,000)&lt;/th&gt;
      &lt;th&gt;Lower-middle ($2,700)&lt;/th&gt;
      &lt;th&gt;Upper-middle ($10,000)&lt;/th&gt;
      &lt;th&gt;High ($60,000)&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Assistant, small distilled model&lt;/td&gt;
      &lt;td&gt;$1.60&lt;/td&gt;
      &lt;td&gt;0.16%&lt;/td&gt;
      &lt;td&gt;0.06%&lt;/td&gt;
      &lt;td&gt;0.02%&lt;/td&gt;
      &lt;td&gt;&amp;lt;0.01%&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Assistant, mid-sized open model&lt;/td&gt;
      &lt;td&gt;$4.10&lt;/td&gt;
      &lt;td&gt;0.41%&lt;/td&gt;
      &lt;td&gt;0.15%&lt;/td&gt;
      &lt;td&gt;0.04%&lt;/td&gt;
      &lt;td&gt;0.01%&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Agents, mid-sized open model&lt;/td&gt;
      &lt;td&gt;$41&lt;/td&gt;
      &lt;td&gt;4.1%&lt;/td&gt;
      &lt;td&gt;1.5%&lt;/td&gt;
      &lt;td&gt;0.41%&lt;/td&gt;
      &lt;td&gt;0.07%&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Agents, frontier-class model&lt;/td&gt;
      &lt;td&gt;$270&lt;/td&gt;
      &lt;td&gt;27%&lt;/td&gt;
      &lt;td&gt;10%&lt;/td&gt;
      &lt;td&gt;2.7%&lt;/td&gt;
      &lt;td&gt;0.45%&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;&lt;em&gt;Illustrative throughput and demand. Measure \(r\) on your own models and hardware.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;So the economics reduce to one ratio:&lt;/p&gt;

\[\frac{A}{y} = \frac{365\, D\, h}{3600\; r\, u\, y}\]

&lt;p&gt;\(h\) is set globally and \(y\) locally, and across economies \(y\) spans more than fifty-fold. Everything else is engineering. A high-income economy can afford frontier agents for everyone. A lower-middle-income one can afford an assistant for everyone and agents for some, on distilled models at high utilisation. For most of the world, sovereignty is won on \(r\) and \(u\): small models and pooled grids.&lt;/p&gt;

&lt;p&gt;Scale changes little of this. An assistant tier for 100 million people, about a twentieth of the 1.3 quadrillion tokens a month Google reported across its products in October 2025,&lt;sup id=&quot;fnref:google-tokens&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:google-tokens&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;20&lt;/a&gt;&lt;/sup&gt; needs about 23,000 GPUs and 21 MW,&lt;sup id=&quot;fnref:h100:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:h100&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;18&lt;/a&gt;&lt;/sup&gt; 0.04% of what the world’s data centres used in 2024.&lt;sup id=&quot;fnref:iea:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:iea&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;10&lt;/a&gt;&lt;/sup&gt; DeepSeek-V3’s final training run took 2.788 million H800 GPU-hours, priced by its authors at $5.6 million;&lt;sup id=&quot;fnref:deepseek-v3&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:deepseek-v3&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;21&lt;/a&gt;&lt;/sup&gt; that fleet burns the same GPU-hours in about five days and seventy times as many in a year. Serving is the bill, and a pool at 75% utilisation pays a third as much per token as one at 25%. Pooled demand is what makes a utility cheap, which argues for shared national or sector pools over a cluster per ministry. Meanwhile the headline plans are priced at the summit: the EU’s InvestAI aims to mobilise €200 billion, including a €20 billion fund for AI gigafactories.&lt;sup id=&quot;fnref:investai&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:investai&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;22&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;How GPU-poor is each economy, relative to what its people already use? Two public datasets give a rough answer: Epoch AI’s census of GPU clusters, in H100-equivalents,&lt;sup id=&quot;fnref:epoch-clusters&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:epoch-clusters&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;23&lt;/a&gt;&lt;/sup&gt; and Microsoft’s share of working-age adults using AI at the end of 2025,&lt;sup id=&quot;fnref:ms-diffusion&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:ms-diffusion&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;24&lt;/a&gt;&lt;/sup&gt; applied to World Bank working-age populations.&lt;sup id=&quot;fnref:wb-wap&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:wb-wap&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;25&lt;/a&gt;&lt;/sup&gt; The model above gives the yardstick: an assistant tier at 20,000 tokens a day needs about 231 H100-class GPUs per million users.&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Economy&lt;/th&gt;
      &lt;th&gt;AI users (millions)&lt;/th&gt;
      &lt;th&gt;Tracked H100-equivalents&lt;/th&gt;
      &lt;th&gt;Per million AI users&lt;/th&gt;
      &lt;th&gt;Against the assistant-tier need&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;United States&lt;/td&gt;
      &lt;td&gt;62.3&lt;/td&gt;
      &lt;td&gt;940,850&lt;/td&gt;
      &lt;td&gt;15,100&lt;/td&gt;
      &lt;td&gt;65×&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Finland&lt;/td&gt;
      &lt;td&gt;0.9&lt;/td&gt;
      &lt;td&gt;11,846&lt;/td&gt;
      &lt;td&gt;12,560&lt;/td&gt;
      &lt;td&gt;54×&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Norway&lt;/td&gt;
      &lt;td&gt;1.7&lt;/td&gt;
      &lt;td&gt;20,480&lt;/td&gt;
      &lt;td&gt;12,180&lt;/td&gt;
      &lt;td&gt;53×&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Germany&lt;/td&gt;
      &lt;td&gt;15.0&lt;/td&gt;
      &lt;td&gt;26,050&lt;/td&gt;
      &lt;td&gt;1,730&lt;/td&gt;
      &lt;td&gt;7.5×&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Japan&lt;/td&gt;
      &lt;td&gt;13.9&lt;/td&gt;
      &lt;td&gt;18,156&lt;/td&gt;
      &lt;td&gt;1,300&lt;/td&gt;
      &lt;td&gt;5.6×&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Saudi Arabia&lt;/td&gt;
      &lt;td&gt;6.8&lt;/td&gt;
      &lt;td&gt;8,391&lt;/td&gt;
      &lt;td&gt;1,240&lt;/td&gt;
      &lt;td&gt;5.4×&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;France&lt;/td&gt;
      &lt;td&gt;18.5&lt;/td&gt;
      &lt;td&gt;16,119&lt;/td&gt;
      &lt;td&gt;870&lt;/td&gt;
      &lt;td&gt;3.8×&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;China&lt;/td&gt;
      &lt;td&gt;159.2&lt;/td&gt;
      &lt;td&gt;109,411&lt;/td&gt;
      &lt;td&gt;690&lt;/td&gt;
      &lt;td&gt;3.0×&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;South Korea&lt;/td&gt;
      &lt;td&gt;11.1&lt;/td&gt;
      &lt;td&gt;6,286&lt;/td&gt;
      &lt;td&gt;560&lt;/td&gt;
      &lt;td&gt;2.4×&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;United Kingdom&lt;/td&gt;
      &lt;td&gt;17.1&lt;/td&gt;
      &lt;td&gt;7,972&lt;/td&gt;
      &lt;td&gt;470&lt;/td&gt;
      &lt;td&gt;2.0×&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Singapore&lt;/td&gt;
      &lt;td&gt;2.7&lt;/td&gt;
      &lt;td&gt;1,135&lt;/td&gt;
      &lt;td&gt;410&lt;/td&gt;
      &lt;td&gt;1.8×&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Canada&lt;/td&gt;
      &lt;td&gt;9.4&lt;/td&gt;
      &lt;td&gt;3,109&lt;/td&gt;
      &lt;td&gt;330&lt;/td&gt;
      &lt;td&gt;1.4×&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;United Arab Emirates&lt;/td&gt;
      &lt;td&gt;5.8&lt;/td&gt;
      &lt;td&gt;1,749&lt;/td&gt;
      &lt;td&gt;300&lt;/td&gt;
      &lt;td&gt;1.3×&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Brazil&lt;/td&gt;
      &lt;td&gt;25.1&lt;/td&gt;
      &lt;td&gt;1,215&lt;/td&gt;
      &lt;td&gt;50&lt;/td&gt;
      &lt;td&gt;0.2×&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;India&lt;/td&gt;
      &lt;td&gt;155.4&lt;/td&gt;
      &lt;td&gt;4,303&lt;/td&gt;
      &lt;td&gt;30&lt;/td&gt;
      &lt;td&gt;0.1×&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Indonesia, Mexico, Pakistan, Philippines, Nigeria&lt;/td&gt;
      &lt;td&gt;12 to 25 each&lt;/td&gt;
      &lt;td&gt;none tracked&lt;/td&gt;
      &lt;td&gt;0&lt;/td&gt;
      &lt;td&gt;0&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;&lt;em&gt;Tracked clusters only, as of mid-2025.&lt;sup id=&quot;fnref:epoch-clusters:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:epoch-clusters&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;23&lt;/a&gt;&lt;/sup&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The caveats are large:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Coverage:&lt;/strong&gt; the census captures an estimated 10–20% of global GPU cluster performance, Chinese entries are anonymised and rounded, and most hyperscaler cloud regions and many national programmes are missing.&lt;sup id=&quot;fnref:epoch-clusters:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:epoch-clusters&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;23&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Location versus use:&lt;/strong&gt; Finland and Norway rank high on shared European supercomputers; American clusters serve the world. A GPU in another country is capacity you rent, which is the dependency this essay is about.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Demand moves:&lt;/strong&gt; AI adoption grew in every economy on Microsoft’s list through 2025.&lt;sup id=&quot;fnref:ms-diffusion:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:ms-diffusion&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;24&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Even so, the shape is clear. A handful of economies hold many times their own assistant-tier demand. China and most of Europe hold a few times theirs. The largest pools of users, in India, Brazil, Indonesia, Mexico, Pakistan, the Philippines and Nigeria, hold a fraction of theirs or none on record, and rent the rest across a border.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;How does an AI grid make money? The same way any grid does: sell capacity and meter usage, and recover capital before the asset ages out.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Capacity:&lt;/strong&gt; reserved GPUs under long contracts, ideally with an anchor tenant such as a government or a telco&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Metered tokens:&lt;/strong&gt; wholesale to applications and distributors, priced per million&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Services above the meter:&lt;/strong&gt; fine-tuning, evaluation, compliant hosting for regulated data&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The risk is the price of the hour. A grid financed at 2024’s rental prices and rented at 2025’s loses money on every hour,&lt;sup id=&quot;fnref:silicon-data:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:silicon-data&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;17&lt;/a&gt;&lt;/sup&gt; and each hardware generation resets the curve. Grids that last will look like utilities: long contracts, high utilisation, regulated or anchor-backed returns. The middle of the stack is a thin-margin business.&lt;/p&gt;

&lt;p&gt;Who makes the money, then?&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;The turtles below:&lt;/strong&gt; NVIDIA’s data-centre revenue reached $193.7 billion in fiscal 2026, at a 71.1% company gross margin.&lt;sup id=&quot;fnref:nvidia-fy26&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:nvidia-fy26&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;26&lt;/a&gt;&lt;/sup&gt; Much of every GPU-hour repays that margin, and in most countries it leaves the country.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Whoever owns the customer:&lt;/strong&gt; telcos and app platforms that put intelligence on a bill people already pay.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Owners of domain models:&lt;/strong&gt; data, evaluations and distribution in a vertical or a language are harder to copy than a GPU cluster.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Grid operators:&lt;/strong&gt; utility returns at best, losses when the hour reprices.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The economy at large:&lt;/strong&gt; most of the value lands as productivity in the work that uses the tokens, and none of it appears on the grid’s income statement.&lt;/li&gt;
&lt;/ul&gt;

&lt;hr /&gt;

&lt;p&gt;India has more AI users than any economy except China, on a GDP per head of $2,702 in 2025,&lt;sup id=&quot;fnref:india-gdp&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:india-gdp&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;27&lt;/a&gt;&lt;/sup&gt; in the World Bank’s lower-middle-income band.&lt;sup id=&quot;fnref:wb-groups:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:wb-groups&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;19&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;GPU poverty:&lt;/strong&gt; the census above tracks about 4,300 H100-equivalents in India. Counting the national programme’s 38,000-plus GPUs&lt;sup id=&quot;fnref:indiaai&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:indiaai&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;28&lt;/a&gt;&lt;/sup&gt; lifts that to about 270 per million AI users, if the two don’t overlap: roughly the assistant tier for today’s users, a sixth of it if every working-age adult took it up, and a tenth of an agent tier&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Users:&lt;/strong&gt; ChatGPT’s daily active users in India reached 73 million in late 2025, more than double the US figure;&lt;sup id=&quot;fnref:reuters-freebies&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:reuters-freebies&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;29&lt;/a&gt;&lt;/sup&gt; Reliance Jio alone has about 500 million customers.&lt;sup id=&quot;fnref:reuters-freebies:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:reuters-freebies&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;29&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The hour:&lt;/strong&gt; the national programme’s common compute facility rents 38,000-plus GPUs at an average of about ₹65 per GPU-hour.&lt;sup id=&quot;fnref:indiaai:1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:indiaai&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;28&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The bill people already pay:&lt;/strong&gt; Jio’s average revenue per user (ARPU) was ₹213.7 a month in the December 2025 quarter.&lt;sup id=&quot;fnref:jio-arpu&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:jio-arpu&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;30&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An assistant for 500 million people, at 20,000 tokens a day on a mid-sized open model (\(r = 2{,}000\), \(u = 0.5\), \(h = \text{₹}65\)):&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Fleet:&lt;/strong&gt; about 116,000 GPUs, three times what the programme has onboarded&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Power:&lt;/strong&gt; about 106 MW, under 1 TWh a year&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cost:&lt;/strong&gt; about ₹6,600 crore a year: ₹132 per person, or ₹11 a month, about 5% of that ARPU&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;At twice the GPU-hour price:&lt;/strong&gt; ₹22 a month&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Agents for 50 million people at 200,000 tokens a day need another 116,000 GPUs and cost about ₹110 a month each on a mid-sized open model, half the ARPU. On a frontier-class model the same agents cost about ₹730 a month, 3.4 times what the average customer pays for their phone.&lt;/p&gt;

&lt;p&gt;So in India intelligence is affordable for everyone as an assistant on domestic, distilled models, and affordable as agents only for the top tier or on small models. The market is already pricing it that way. Late 2025 brought ChatGPT Go free for a year, Google’s AI Pro free for 18 months to Jio’s customers, and Perplexity Pro free for a year to Airtel’s. Analysts read the offers as a hunt for users and for training data in India’s languages.&lt;sup id=&quot;fnref:reuters-freebies:2&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:reuters-freebies&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;29&lt;/a&gt;&lt;/sup&gt; Intelligence is being sold the way mobile data was: bundled into a telco bill and priced in rupees per month.&lt;/p&gt;

&lt;p&gt;Who makes money in India on this path? The telcos, which own the bill; foreign model owners, which collect the users and the data; and chip vendors abroad, which are paid for every imported GPU. Operational sovereignty keeps the ₹11 a month at home: a domestic grid running Indic, domain-distilled models at high utilisation, with the frontier as the teacher.&lt;/p&gt;

&lt;p&gt;And operational sovereignty runs straight back to models. You can’t keep AI running on your own soil without models you hold: for your domains (law, health, finance, agriculture), your regions and your languages. You will still want frontier models, but as machine tools.&lt;/p&gt;

&lt;p&gt;The frontier model is also a machine tool, the machine that makes the machines. Its most consequential output is other models: synthetic training data, labelled edge cases, graded outputs, and the teacher that smaller students are distilled from. Distillation dates to 2015, when a small model trained to imitate a large one was shown to keep much of its skill at a fraction of the size.&lt;sup id=&quot;fnref:hinton-2015&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:hinton-2015&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;31&lt;/a&gt;&lt;/sup&gt; It’s now routine: DeepSeek shipped R1 in January 2025 together with smaller dense models distilled from its reasoning traces.&lt;sup id=&quot;fnref:deepseek-r1&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:deepseek-r1&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;32&lt;/a&gt;&lt;/sup&gt; The big model’s job is to make the small ones good.&lt;/p&gt;

&lt;p&gt;Machine tools end up controlled, and so do these. The January 2025 rule on model weights was rescinded four months later,&lt;sup id=&quot;fnref:kirkland&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:kirkland&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;33&lt;/a&gt;&lt;/sup&gt; but the category survives the rule. My prediction: frontier weights end up near enriched uranium, licensed, audited, rented through metered APIs with know-your-customer checks, and kept off the open market. A handful of labs, each close to a government, will run the generating plants.&lt;/p&gt;

&lt;p&gt;The serious objection is open weights. R1 shipped with its weights, and if the open frontier stays within months of the closed one there’s nothing to guard. The number to watch is the lag between the best closed and best open model on agent tasks. If it holds near zero, I’m wrong. If it holds at a year while export rules tighten, the plants stay behind the fence.&lt;/p&gt;

&lt;p&gt;Either way, the base of the pyramid is the same: models you hold, built or distilled for your domains, regions and languages, with the frontier as the machine tool that makes them. Most organisations need no power station of their own. They need to know what to run on the meter, and how little of it they can get away with.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Nations guard the machines that make machines.
Rent the generator; own what it powers.
A utility is a supplier, and suppliers have outages.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;script defer=&quot;&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js&quot;&gt;&lt;/script&gt;

&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:foundry&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;TrendForce figures for Q2 2025 foundry revenue (TSMC 70.2%), as reported by Notebookcheck. &lt;a href=&quot;https://www.notebookcheck.net/Global-foundry-revenue-surged-to-41-7-billion-in-q2-2025-with-TSMC-capturing-a-record-70-percent-market-share.1102353.0.html&quot;&gt;https://www.notebookcheck.net/Global-foundry-revenue-surged-to-41-7-billion-in-q2-2025-with-TSMC-capturing-a-record-70-percent-market-share.1102353.0.html&lt;/a&gt; &lt;a href=&quot;#fnref:foundry&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:hbm&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;TrendForce, “HBM market heats up as three giants clash with HBM4 at the center,” 17 September 2025 (SK hynix projected at 52.3% of 2025 HBM share). &lt;a href=&quot;https://www.trendforce.com/news/2025/09/17/news-hbm-market-heats-up-as-three-giants-clash-with-hbm4-at-the-center/&quot;&gt;https://www.trendforce.com/news/2025/09/17/news-hbm-market-heats-up-as-three-giants-clash-with-hbm4-at-the-center/&lt;/a&gt; &lt;a href=&quot;#fnref:hbm&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:asml&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;ASML, “Making EUV: from lab to fab,” 2022. &lt;a href=&quot;https://www.asml.com/en/company/stories/2022/making-euv-lab-to-fab&quot;&gt;https://www.asml.com/en/company/stories/2022/making-euv-lab-to-fab&lt;/a&gt; &lt;a href=&quot;#fnref:asml&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:zeiss&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Tom’s Hardware, “Zeiss expands German site that caps ASML’s EUV scanner output,” citing ASML’s 2025 annual report (Carl Zeiss SMT is ASML’s sole supplier of critical optical components). &lt;a href=&quot;https://www.tomshardware.com/tech-industry/zeiss-expands-german-site-that-caps-asmls-euv-scanner-output&quot;&gt;https://www.tomshardware.com/tech-industry/zeiss-expands-german-site-that-caps-asmls-euv-scanner-output&lt;/a&gt; &lt;a href=&quot;#fnref:zeiss&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kcl-toshiba&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;King’s College London, “The Toshiba-Kongsberg case,” 22 September 2014. &lt;a href=&quot;https://www.kcl.ac.uk/news/the-toshiba-kongsberg-case&quot;&gt;https://www.kcl.ac.uk/news/the-toshiba-kongsberg-case&lt;/a&gt; &lt;a href=&quot;#fnref:kcl-toshiba&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:upi-toshiba&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;United Press International, “Lawmakers hammer Toshiba,” 1 July 1987. &lt;a href=&quot;https://www.upi.com/Archives/1987/07/01/Lawmakers-hammer-Toshiba/3984552110400/&quot;&gt;https://www.upi.com/Archives/1987/07/01/Lawmakers-hammer-Toshiba/3984552110400/&lt;/a&gt; &lt;a href=&quot;#fnref:upi-toshiba&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:neon&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;CNBC, “Chip industry under threat with neon production set to fall off a cliff following Russia’s invasion of Ukraine,” 25 March 2022 (Ingas and Cryoin halted, per Reuters; Ukraine’s share per Bain &amp;amp; Co.). &lt;a href=&quot;https://www.cnbc.com/2022/03/25/russia-ukraine-war-laser-neon-shortage-threatens-semiconductor-industry.html&quot;&gt;https://www.cnbc.com/2022/03/25/russia-ukraine-war-laser-neon-shortage-threatens-semiconductor-industry.html&lt;/a&gt; &lt;a href=&quot;#fnref:neon&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:spruce-pine&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Megan Cassella, “How a tiny town hit by Helene could upend the global semiconductor chip industry,” CNBC, 3 October 2024 (republished by NBC New York). &lt;a href=&quot;https://www.nbcnewyork.com/news/business/money-report/how-a-tiny-town-hit-by-helene-could-upend-the-global-semiconductor-chip-industry/5855037/&quot;&gt;https://www.nbcnewyork.com/news/business/money-report/how-a-tiny-town-hit-by-helene-could-upend-the-global-semiconductor-chip-industry/5855037/&lt;/a&gt; &lt;a href=&quot;#fnref:spruce-pine&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:spruce-pine-minimal&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Bloomberg via BNN Bloomberg, “North Carolina Quartz Mine Owner Says Helene Damage Was Minimal,” 4 October 2024. &lt;a href=&quot;https://bnnbloomberg.ca/investing/2024/10/04/north-carolina-quartz-mine-owner-says-helene-damage-was-minimal&quot;&gt;https://bnnbloomberg.ca/investing/2024/10/04/north-carolina-quartz-mine-owner-says-helene-damage-was-minimal&lt;/a&gt; &lt;a href=&quot;#fnref:spruce-pine-minimal&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:iea&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;International Energy Agency, &lt;em&gt;Energy and AI&lt;/em&gt;, executive summary, 2025 (data centres used about 415 TWh in 2024, around 1.5% of global electricity; base case of about 945 TWh by 2030). &lt;a href=&quot;https://www.iea.org/reports/energy-and-ai/executive-summary&quot;&gt;https://www.iea.org/reports/energy-and-ai/executive-summary&lt;/a&gt; &lt;a href=&quot;#fnref:iea&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:iea:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:sia-bcg&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Semiconductor Industry Association and BCG, “Strengthening the Global Semiconductor Supply Chain in an Uncertain Era,” April 2021. &lt;a href=&quot;https://www.semiconductors.org/wp-content/uploads/2021/03/SIA-BCG_Global-Value-Chain_2-pager.pdf&quot;&gt;https://www.semiconductors.org/wp-content/uploads/2021/03/SIA-BCG_Global-Value-Chain_2-pager.pdf&lt;/a&gt; &lt;a href=&quot;#fnref:sia-bcg&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:strauss&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;US Nuclear Regulatory Commission, “Too Cheap to Meter: A History of the Phrase” (Strauss’s address to the National Association of Science Writers, 16 September 1954, and the industry reaction). &lt;a href=&quot;https://www.nrc.gov/reading-rm/basic-ref/students/history-101/too-cheap-to-meter.html&quot;&gt;https://www.nrc.gov/reading-rm/basic-ref/students/history-101/too-cheap-to-meter.html&lt;/a&gt; &lt;a href=&quot;#fnref:strauss&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:altman-meter&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Business Insider via AOL, “Sam Altman says AI will eventually be sold like electricity and water — by companies like OpenAI,” March 2026 (BlackRock U.S. Infrastructure Summit, 11 March 2026). &lt;a href=&quot;https://www.aol.com/news/sam-altman-says-ai-eventually-152157395.html&quot;&gt;https://www.aol.com/news/sam-altman-says-ai-eventually-152157395.html&lt;/a&gt; &lt;a href=&quot;#fnref:altman-meter&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:bis-2022&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;US Bureau of Industry and Security, “Commerce Implements New Export Controls on Advanced Computing and Semiconductor Manufacturing Items to the People’s Republic of China,” 7 October 2022. &lt;a href=&quot;https://www.bis.gov/press-release/commerce-implements-new-export-controls-advanced-computing-semiconductor-manufacturing-items-peoples&quot;&gt;https://www.bis.gov/press-release/commerce-implements-new-export-controls-advanced-computing-semiconductor-manufacturing-items-peoples&lt;/a&gt; &lt;a href=&quot;#fnref:bis-2022&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:gibson-dunn&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Gibson Dunn, “BIS Lays the Groundwork for Global and Metered Access to Frontier AI Models and the Computing Power to Train Them,” January 2025, on the interim final rule of 13 January 2025 (ECCN 4E091, closed-weight models trained with more than 10²⁶ operations). &lt;a href=&quot;https://gibsondunn.com/bis-lays-groundwork-for-global-and-metered-access-to-frontier-ai-models-and-computing-power-to-train-them&quot;&gt;https://gibsondunn.com/bis-lays-groundwork-for-global-and-metered-access-to-frontier-ai-models-and-computing-power-to-train-them&lt;/a&gt; &lt;a href=&quot;#fnref:gibson-dunn&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:japan-korea&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Japan Today, “Factbox: The high-tech materials at the heart of a Japan-S.Korea row,” 2019 (import shares from Korea Trade Association data). &lt;a href=&quot;https://japantoday.com/category/business/factbox-the-high-tech-materials-at-the-heart-of-a-japan-s.korea-row&quot;&gt;https://japantoday.com/category/business/factbox-the-high-tech-materials-at-the-heart-of-a-japan-s.korea-row&lt;/a&gt; &lt;a href=&quot;#fnref:japan-korea&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:silicon-data&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Silicon Data, “H100 rental price over time,” H100 Rental Price Index (hyperscaler median $9.34 per GPU-hour, June to December 2024; July to December 2025: hyperscaler $6.26, neocloud $3.33, marketplace $1.95). &lt;a href=&quot;https://www.silicondata.com/blog/h100-rental-price-over-time&quot;&gt;https://www.silicondata.com/blog/h100-rental-price-over-time&lt;/a&gt; &lt;a href=&quot;#fnref:silicon-data&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:silicon-data:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:h100&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;NVIDIA, “H100 Tensor Core GPU” specifications (H100 SXM: up to 700 W, configurable). &lt;a href=&quot;https://www.nvidia.com/en-us/data-center/h100/&quot;&gt;https://www.nvidia.com/en-us/data-center/h100/&lt;/a&gt; &lt;a href=&quot;#fnref:h100&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:h100:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:wb-groups&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;World Bank, “World Bank Country and Lending Groups,” fiscal year 2027 (2025 GNI per capita, Atlas method: low income $1,175 or less; lower-middle $1,176 to $4,635; upper-middle $4,636 to $14,375; high above $14,375; India lower-middle). &lt;a href=&quot;https://datahelpdesk.worldbank.org/knowledgebase/articles/906519-world-bank-country-and-lending-groups&quot;&gt;https://datahelpdesk.worldbank.org/knowledgebase/articles/906519-world-bank-country-and-lending-groups&lt;/a&gt; &lt;a href=&quot;#fnref:wb-groups&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:wb-groups:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:google-tokens&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Sundar Pichai, “Q3 earnings call: Remarks from our CEO,” Google, 29 October 2025 (“over 1.3 quadrillion monthly tokens,” up from 980 trillion announced in July). &lt;a href=&quot;https://blog.google/inside-google/message-ceo/alphabet-earnings-q3-2025/&quot;&gt;https://blog.google/inside-google/message-ceo/alphabet-earnings-q3-2025/&lt;/a&gt; &lt;a href=&quot;#fnref:google-tokens&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:deepseek-v3&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;DeepSeek-AI, “DeepSeek-V3 Technical Report,” arXiv:2412.19437, December 2024 (2.788M H800 GPU-hours for the official training run at an assumed $2 per GPU-hour; prior research and ablation experiments excluded). &lt;a href=&quot;https://arxiv.org/abs/2412.19437&quot;&gt;https://arxiv.org/abs/2412.19437&lt;/a&gt; &lt;a href=&quot;#fnref:deepseek-v3&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:investai&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;European Commission, “EU launches InvestAI initiative to mobilise €200 billion of investment in artificial intelligence,” 11 February 2025. &lt;a href=&quot;https://digital-strategy.ec.europa.eu/en/news/eu-launches-investai-initiative-mobilise-eu200-billion-investment-artificial-intelligence&quot;&gt;https://digital-strategy.ec.europa.eu/en/news/eu-launches-investai-initiative-mobilise-eu200-billion-investment-artificial-intelligence&lt;/a&gt; &lt;a href=&quot;#fnref:investai&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:epoch-clusters&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Epoch AI, “Data on GPU clusters” (formerly “AI Supercomputers”), CC BY, accessed November 2026 (H100-equivalents summed by country over existing, non-superseded clusters; the dataset covers an estimated 10–20% of global GPU cluster performance as of March 2025; Chinese systems anonymised and rounded). &lt;a href=&quot;https://epoch.ai/data/gpu-clusters&quot;&gt;https://epoch.ai/data/gpu-clusters&lt;/a&gt; &lt;a href=&quot;#fnref:epoch-clusters&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:epoch-clusters:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:epoch-clusters:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:ms-diffusion&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Microsoft AI Economy Institute, &lt;em&gt;AI Diffusion Report 2025 H2&lt;/em&gt;, January 2026 (AI user share of the working-age population by economy, H1 and H2 2025). &lt;a href=&quot;https://www.microsoft.com/en-us/research/wp-content/uploads/2026/01/Microsoft-AI-Diffusion-Report-2025-H2.pdf&quot;&gt;https://www.microsoft.com/en-us/research/wp-content/uploads/2026/01/Microsoft-AI-Diffusion-Report-2025-H2.pdf&lt;/a&gt; &lt;a href=&quot;#fnref:ms-diffusion&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:ms-diffusion:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:wb-wap&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;World Bank, World Development Indicators, “Population ages 15-64, total” (SP.POP.1564.TO), 2024. &lt;a href=&quot;https://data.worldbank.org/indicator/SP.POP.1564.TO&quot;&gt;https://data.worldbank.org/indicator/SP.POP.1564.TO&lt;/a&gt; &lt;a href=&quot;#fnref:wb-wap&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:nvidia-fy26&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;NVIDIA, “NVIDIA Announces Financial Results for Fourth Quarter and Fiscal 2026,” 25 February 2026 (data-centre revenue $193.7 billion; GAAP gross margin 71.1%). &lt;a href=&quot;https://investor.nvidia.com/news/press-release-details/2026/NVIDIA-Announces-Financial-Results-for-Fourth-Quarter-and-Fiscal-2026/default.aspx&quot;&gt;https://investor.nvidia.com/news/press-release-details/2026/NVIDIA-Announces-Financial-Results-for-Fourth-Quarter-and-Fiscal-2026/default.aspx&lt;/a&gt; &lt;a href=&quot;#fnref:nvidia-fy26&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:india-gdp&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;World Bank data via FRED, “Gross Domestic Product Per Capita for India” (PCAGDPINA646NWDB), 2025: $2,702.48. &lt;a href=&quot;https://fred.stlouisfed.org/series/PCAGDPINA646NWDB&quot;&gt;https://fred.stlouisfed.org/series/PCAGDPINA646NWDB&lt;/a&gt; &lt;a href=&quot;#fnref:india-gdp&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:indiaai&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Press Information Bureau, Government of India, IndiaAI Mission factsheet, February 2026 (38,000-plus GPUs available at ₹65 per hour). &lt;a href=&quot;https://static.pib.gov.in/WriteReadData/specificdocs/documents/2026/feb/doc2026217795001.pdf&quot;&gt;https://static.pib.gov.in/WriteReadData/specificdocs/documents/2026/feb/doc2026217795001.pdf&lt;/a&gt; &lt;a href=&quot;#fnref:indiaai&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:indiaai:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:reuters-freebies&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Reuters, “With freebies, OpenAI, Google vie for Indian users and training data,” 18 December 2025, as republished by &lt;em&gt;Deccan Chronicle&lt;/em&gt; (ChatGPT daily active users in India up 607% to 73 million per Sensor Tower; offers from OpenAI, Google with Reliance Jio, and Perplexity with Airtel). &lt;a href=&quot;https://www.deccanchronicle.com/technology/with-freebies-openai-google-vie-for-indian-users-and-training-data-1924649&quot;&gt;https://www.deccanchronicle.com/technology/with-freebies-openai-google-vie-for-indian-users-and-training-data-1924649&lt;/a&gt; &lt;a href=&quot;#fnref:reuters-freebies&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt; &lt;a href=&quot;#fnref:reuters-freebies:1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; &lt;a href=&quot;#fnref:reuters-freebies:2&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:jio-arpu&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;TelecomTalk, “Jio Posts 3Q FY26 ARPU of Rs 213.7, Subscriber Base Crosses 515 Million.” &lt;a href=&quot;https://telecomtalk.info/reliance-jio-posts-3qfy26-arpu-of-rs213/1003600/&quot;&gt;https://telecomtalk.info/reliance-jio-posts-3qfy26-arpu-of-rs213/1003600/&lt;/a&gt; &lt;a href=&quot;#fnref:jio-arpu&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:hinton-2015&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Geoffrey Hinton, Oriol Vinyals and Jeff Dean, “Distilling the Knowledge in a Neural Network,” arXiv:1503.02531, 2015. &lt;a href=&quot;https://arxiv.org/abs/1503.02531&quot;&gt;https://arxiv.org/abs/1503.02531&lt;/a&gt; &lt;a href=&quot;#fnref:hinton-2015&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:deepseek-r1&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;DeepSeek-AI, “DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning,” arXiv:2501.12948, 22 January 2025. &lt;a href=&quot;https://arxiv.org/abs/2501.12948&quot;&gt;https://arxiv.org/abs/2501.12948&lt;/a&gt; &lt;a href=&quot;#fnref:deepseek-r1&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li id=&quot;fn:kirkland&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;Kirkland &amp;amp; Ellis, “BIS Rescission of the Biden Administration’s AI Diffusion Rule,” May 2025 (rescission announced 13 May 2025). &lt;a href=&quot;https://www.kirkland.com/publications/kirkland-alert/2025/05/bis-rescission-of-the-biden-administration&quot;&gt;https://www.kirkland.com/publications/kirkland-alert/2025/05/bis-rescission-of-the-biden-administration&lt;/a&gt; &lt;a href=&quot;#fnref:kirkland&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;&amp;#8617;&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
</description>
        <pubDate>Mon, 02 Nov 2026 00:00:00 +0000</pubDate>
        <link>https://platformatory.io/blog/ai-sovereignty-intelligence-utility/</link>
        <guid isPermaLink="true">https://platformatory.io/blog/ai-sovereignty-intelligence-utility/</guid>
        
        
        <category>AI</category>
        
        <category>Platform Engineering</category>
        
        <category>Infrastructure</category>
        
        <category>Strategy</category>
        
      </item>
    
  </channel>
</rss>
