Sam Newman on Resilient Distributed Systems

Microservice tradeoffs, observability, retries and preserving understanding with AI.

SNSam Newmanゲスト
チャンネル
The Pragmatic Engineer
公開日
2026年10月7日
動画
1:59:04
読了時間
2 分
原文
英語
YouTube で開く
スクロールすると動画は右下に小さくなって再生を続けます。字幕は閲覧言語に合わせて切り替わります。
閲覧言語2 言語で読めます
この記事はまだ日本語に翻訳されていないため、英語の原文を表示しています。
要約

30 秒でわかる

Sam Newman discusses why distributed systems need observability and business-aware resilience choices, explains idempotency and overload, and considers how teams can use AI without losing a shared understanding of their architecture.

  1. 1MicroservicesIndependent deployment has benefits but distribution has costs.
  2. 2Three constraintsCommunication takes time, dependencies fail and resources are finite.
  3. 3ObservabilityConnect signals across components and user outcomes.
  4. 4IdempotencyIdempotent operations make repeated requests safer.
  5. 5OverloadRetries and recovery traffic can overwhelm limited capacity.
  6. 6Business contextFailure choices depend on business consequences.
  7. 7Cognitive debtTeams need shared understanding when using AI-generated code.

ポイント

  1. Independent deployment has benefits but distribution has costs.
  2. Communication takes time, dependencies fail and resources are finite.
  3. Connect signals across components and user outcomes.
  4. Idempotent operations make repeated requests safer.
  5. Retries and recovery traffic can overwhelm limited capacity.
  6. Failure choices depend on business consequences.
  7. Teams need shared understanding when using AI-generated code.
全文

チャプターごとに整えた全文を読む

文字起こしのみ
01

Experience and microservices

Practices, independence and costs.

Gergely Orosz interviews author and architect Sam Newman about microservices, resilient distributed systems and AI-assisted development. Newman discusses his own book and experience; the episode has sponsors.

Newman recounts his time at Thoughtworks and the influence of extreme programming and test-driven development. He describes the practices as part of a longer evolution in software delivery.

The conversation traces the emergence of microservices. Newman emphasizes independent deployment and team autonomy, while cautioning that distributed services introduce operational costs and should not be the default for every problem.

They discuss whether specifications may become more prominent as agents write code. Newman treats the relationship among intent, implementation and verification as an evolving question rather than declaring code irrelevant.

02

Resilient systems

Constraints, signals and tradeoffs.

Newman introduces his work on resilience engineering and explains why ideas from other safety-critical fields can broaden software teams’ thinking about failure and recovery.

He reduces distributed-systems challenges to three constraints: communication takes time, a dependency can be unavailable, and resources are finite. Timeouts, failures and saturation can interact, such as when retries consume scarce connections.

Observability is the ability to understand system behavior from its outputs. In a distributed system, teams must connect signals across components and consider user-facing outcomes, not just individual service health.

Resilience is a matter of degree and involves cost. A stripped-down standby service can protect essential functions, but the right investment depends on the consequences of failure and the business context.

03

Retries and overload

Idempotency and thundering herds.

Idempotency helps with retries: repeating an operation should have the same intended effect as applying it once. Newman uses an elevator call button as an illustration and contrasts it with a toggle.

A thundering herd occurs when demand overwhelms available capacity. Recovery traffic, cache misses or synchronized retries can create self-inflicted overload; capacity and retry behavior must be designed together.

The team’s choice to fail open or closed depends on the business and the harm of each error. Newman argues that formal concepts are useful but cannot replace understanding the consequences for customers.

He discusses resilience as more than absorbing known disruptions: added robustness can itself increase complexity and create new failure modes. Teams also need to adapt and learn.

04

AI and shared understanding

Limits, cognitive debt and modularity.

Newman sees possible uses for AI in correlation and incident analysis, while expressing concerns about model limitations. His claims about how models reason are his interpretation, not a settled scientific conclusion.

He uses “cognitive debt” to describe a risk that a team loses its shared understanding when it delegates too much thinking. He recommends keeping people engaged with architectural boundaries and reviewing generated work.

Modular architecture can give AI tools bounded areas to work in while people focus on the relationships between modules. Newman frames this as a way to experiment without surrendering the system’s mental model.

The interview closes with learning resources and Newman’s book. He discloses personal relationships when recommending some authors.

同じチャンネルの記事

1:41:17EN
The Pragmatic Engineer· 2026年10月28日ポッドキャスト · 2 人Titus Winters on Software Engineering, Teams and CS Educationゲスト Titus Winters · ホスト Gergely OroszA conversation on Google-scale refactoring, testing, AI and how engineers learn.Company BuildingLeadership
1:56:28EN
The Pragmatic Engineer· 2026年10月21日ポッドキャスト · 2 人Will Larson: The Revised Rules of Engineering Managementゲスト Will Larson · ホスト Gergely OroszThe 2010s taught engineering managers never to make a technical decision again. Will Larson, CTO of Imprint and author of Staff Engineer, argues that era is over: managers who cannot get back into the work are in a career trap.ManagementLeadershipCareer Growth+2
1:34:17EN
The Pragmatic Engineer· 2026年10月14日ポッドキャスト · 2 人Inside Uber’s Developer Infrastructure for AI Agentsゲスト Uday Kiran Medisetty · ホスト Gergely OroszUday Kiran Medisetty explains gateways, context, background coding and review.開発ワークフローとテストエージェント工学インフラとデプロイ
29:39EN
The Pragmatic Engineer· 2026年10月6日ポッドキャストThe State of Software Engineering in 2026: What Changed and What Did NotGergely Orosz reports from AI labs, startups and large technology companies.Software engineeringコーディングエージェントDeveloper productivity
1:42:31EN
The Pragmatic Engineer· 2026年9月30日ポッドキャスト · 2 人Peter Mattis on Distributed Databases and Coding with AIゲスト Peter Mattis · ホスト Gergely OroszFrom Gmail and Colossus to CockroachDB, performance and agent-assisted engineering.Software engineeringインフラとデプロイコーディングエージェント
1:28:32EN
The Pragmatic Engineer· 2026年9月23日ポッドキャスト · 2 人Maggie Appleton on Design Engineering in the Age of Agentsゲスト Maggie Appleton · ホスト Gergely OroszSketches, live prototypes and human judgment in collaborative software design.プロダクトと UXSoftware engineeringエージェント工学