Building resilient AI-powered software, and planning for when things go wrong

Gergely Orosz · 2026年10月13日

AI 摘要 AI 生成,可能有误

This article shares excerpts from Sam Newman's new book, Building Resilient Distributed Systems, which took three years to complete because the author reworked sections to address how AI affects resilient system design. The excerpts focus on disaster recovery, covering key objectives like RPO and RTO, and four DR patterns: backup-and-restore, pilot light failover, warm failover, and multisite active-active. It also touches on the challenges of building reliable AI-powered software, including model provider resilience, GPU/CPU shortages affecting infrastructure availability, and tactics like being multi-model and multi-vendor.

Last week’s guest on the podcast was Sam Newman, who had released a book I’ve personally long awaited titled Building Resilient Distributed Systems. It’s an especially timely book for many of us software engineers, as we’re seeing more outages with nearly all services and systems – much of it caused by more code deploys thanks to AI agents writing more code; and more bugs causing more incidents in production.

Sam’s new book, Building Resilient Distributed Systems, in print form

Sam’s book being “fresh out of the oven,” it naturally also touches on what AI changes as we design resilient systems. In fact, Sam told me that he took a total of three years to finished the book – instead of the two he originally planned – because he went back and reworked all parts of the book, updating parts where AI is relevant to talk about.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 The Pragmatic Engineer

Inside Ramp's AI Transformation

AI 摘要This article details how fintech company Ramp built its own AI infrastructure in-house—including Ramp Router for LLM routing, the Laminar agent harness, and the Inspect coding agent—giving itself an 18-month head start via its acqui-hire of Cohere.io. It outlines seven key decisions behind Ramp's AI transformation, such as investing in quality gates before going all-in on agents, not mandating tool usage, automating bugfixing, making development 'multiplayer,' and turning non-engineers into builders with tools like Ramplify and Glass. The results include 99% engineer adoption of Inspect, sixfold growth in coding sessions, and a 30% reduction in Ramp's AI bill, though the author cautions readers to adapt rather than blindly copy these practices.

How Anthropic builds software in 2026 with Katelyn Lesse

AI 摘要This article summarizes a Pragmatic Engineer podcast episode with Katelyn Lesse, who leads platform engineering at Anthropic, covering how the company rewrote its Claude API from a Python monolith to Rust in about five months without Rust experts—using Claude to help engineers learn the language and shadow traffic to verify correctness. It also details how AI is reshaping engineering at Anthropic, including a Claude code review agent that triages pull requests, a Claude agent that handles oncall alerts before waking humans, and onboarding where new engineers learn systems by talking to Claude. Finally, it notes that Anthropic is replacing traditional coding interviews with agent-based exercises and now evaluates promotions based on project impact rather than completion time.

The Pragmatic Engineer Essay Challenge: Category Winners (Part 1)

AI 摘要To mark The Pragmatic Engineer's fifth birthday, the author launched an essay competition on how software engineering has changed with the rise of powerful AI coding models, awarding a $10,000 grand prize to Neil Kakkar and $2,500 to six category winners. This first part of the series shares excerpts from winners and runners-up in three categories: what happens when AI writes all the code, stories from solo AI-native builders, and reflections on what these changes mean for human engineers. The highlighted winning essays include Anton Zaides' account of a chaotic year of vibe coding at HoneyBook, David Veszelovszki's 'I'm a 100x engineer now!', and Jacob Bartlett's piece on agentic engineering skills at Granola.

The Pulse: Is Amazon’s writing culture collapsing because of AI?

AI 摘要This installment of 'The Pulse,' a series covering Big Tech and startup news, highlights Anthropic's IPO as the largest-ever, noting that the leading AI frontier lab has gone public. It also mentions the release of GTA VI and includes commentary from ex-Anthropic engineer Thariq Shihipar. The title also raises the question of whether Amazon's writing culture is collapsing due to AI.

Software factories and code reviews with Harjot Gill

AI 摘要This article covers a Pragmatic Engineer Podcast episode with Harjot Gill, founder and CEO of AI code review startup CodeRabbit, who shipped over 5,000 pull requests in a month using AI agents at a personal AI spend of roughly $250,000 per month. Gill argues that human code review is dead, describing a 'software factory' approach where agents verify their own work via formal methods, simulations, and staged rollouts, while engineers review releases rather than individual PRs. The episode also explains why heavy AI spending can pay off for dev-tool startups racing to launch new products, and outlines Gill's unconventional hiring criteria favoring agency, systems thinking, and even strategy gaming experience.