Struggling with system failures despite multiple safeguards? In the world of software development, distributed systems have proven essential yet remain complex. In this insightful guide, author Sam Newman offers more than just technical solutions. By combining wisdom from human factors and system safety with proven stability patterns, you'll uncover a clear pathway to truly enhance resilience.
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
Tip the Site
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat Pay
Alipay
Open WeChat or Alipay and scan. No login required.
AI guide
【One-Line Pitch】
A practical guide to making distributed systems survive failure by pairing stability patterns (timeouts, retries, idempotency) with hard-won lessons from human factors and system safety. Best for developers, architects, SREs, and operations folks who already run distributed systems and want resilience to be more than a checklist.
【Book Arc】
- **Opening (~0%–10%)**: Frames the problem — distributed systems are now essential yet fragile, and the book promises a dual lens of technical stability patterns plus human/organizational factors. It also lays out the two-part structure (technical first, sociotechnical second).
- **Early (~10%–30%)**: Defines resilience as the ability to withstand problems, recover, and keep evolving; explains why software failures matter more as systems spread; defines a distributed system and introduces the "two golden rules" (no instantaneous transmission; sometimes you can't reach the thing you want to talk to).
- **Middle (~30%–50%)**: Deepens the failure model — latency, unreachable services, DNS and network failures — then pivots to the human factor via Three Mile Island and Challenger, introducing human factors/ergonomics and "normalization of deviance."
- **Late (~50%–70%)**: Builds the sociotechnical view: humans are part of the system, not outside it; introduces models (e.g., a hexagonal sociotechnical model) to structure people, culture, and organizational context.
- **Ending (~70%–100%)**: Moves into operational practice — incident management (alerts, rotas, operator burnout) and constant learning (post-mortems, culture, game days) — though the excerpts note several of these chapters are still "to follow" in this early release.
【Key Takeaways】
- **Resilience is more than "don't crash"** (Early): it means withstanding problems, recovering, and adapting as context changes — a definition that spans software, hardware, and the people around them.
- **Two golden rules govern every distributed system** (Early): information cannot travel instantaneously, and sometimes the thing you want to talk to is unreachable. These two facts drive most resilience design decisions.
- **Abstractions hide failure** (Middle): HTTP clients, RPC frameworks, and cloud services hide packetization, latency, and unreachability — so engineers forget what can go wrong behind the API.
- **Humans are part of the system, not outside it** (Middle): Three Mile Island and Challenger show that confusing alarms and "normalization of deviance" cause outages as surely as bad code does.
- **Sociotechnical thinking is required** (Late): culture, organization, and even political context (e.g., a government agency avoiding cloud-vendor lock-in) shape whether a system can be resilient.
- **Incident response is a resilience feature** (Late): good alerts, sustainable rotas, and avoiding operator burnout matter as much as retry logic.
- **Learning must be institutionalized** (Late): post-mortems translated into action, the right culture, and game days turn incidents into improvement rather than repetition.
- **Technical patterns are named but not fully detailed in these excerpts** (Early): timeouts (including randomness), retries, and idempotency are introduced as chapter topics; the excerpts do not cover their full mechanics.
【Reading Tips】
- Read Part 1 (technical) as the foundation, but don't skip Chapter 1 — the definitions of resilience and the two golden rules anchor everything later.
- Treat the human-factors chapters as core, not optional: the Three Mile Island and Challenger cases are the book's argument for why technical fixes alone fail.
- Skim the chapter roadmap early to see what is still "to follow" in this early release; expect gaps in incident management and constant learning.
- When you reach timeouts, retries, and idempotency, read deeply — these are the most actionable stability patterns, even though the excerpts only preview them.
- Keep a notebook of your own system's failure modes as you read; map each chapter's concepts to real incidents you've seen.
【Coverage Limits】
This guide is based on stratified excerpts from a third early release; several chapters (fundamental concepts, incident management, constant learning) are marked "to follow," so detailed mechanics of timeouts, retries, idempotency, and consensus are not covered here.
Excerpt 1
27: Third Release See http://oreilly.com/catalog/errata.csp?isbn=9781098163549 for release details. The O’Reilly logo is a registered trademark of O’Reilly M...
This chapter covers the fundamental concepts of resiliency. I’ll define what resiliency is, and discuss the challenges of resiliency in the context of distri...
ines But distributed systems can get more complex than that. Consider a microservice architecture, as shown in Figure 1-2 . The arrows between the microservi...
fused and unable to carry out the right mitigating behavior. In the case of Challenger, what occurred became known as “Normalization Of Deviance” 11 . Despit...
d a model for resilience that focuses on four core concepts. Briefly, these concepts are: Robustness The ability to absorb expected issues, such as handling...
a a load balancer) that isn’t suffering from these problems. Finally, waiting forever (or too long for that matter), will mean you’ll hold on to more computi...
and what you can do to reduce the frequency that they occur. Tight Latency Bounds Although in general setting a timeout based on a percentile response time i...
arts its work, it knows that it only has 475ms left at most. It might under other circumstances be happy to wait up to 750ms for Media Library , but in this...
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.
Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat PayAlipay
Open WeChat or Alipay and scan. No login required.
Add Tag
Enter tag name (max 50 characters)
Share E-Book
Building Resilient Distributed Systems (Third Early Release) (Sam Newman)(Z-Library)
Scan QR code with your phone to access
Copy the link or scan the QR code to access this e-book on your phone
Share to WeChat Moments
Building Resilient Distributed Systems (Third Early Release) (Sam Newman)(Z-Library)
Scan the QR code with WeChat to open this book
Tap the ··· menu in the top-right corner
Choose Share to Moments
You are already in WeChat. Tap ··· in the top-right corner and choose Share to Moments.
Share E-Book via Email
Please enter email address
Donation Statistics
¥.00
Total Donations
0
Donation Count
Building Resilient Distributed Systems (Third Early Release) (Sam Newman)(Z-Library)
Find Your Favorite Books
Only registered users can comment after logging in. Comments need to be reviewed by administrators before being displayed
这本书讨论的是分布式系统的韧性建设。作者 Sam Newman 开篇即指出一个现实困境:许多团队已经加了超时、重试、冗余等多重防护,系统仍然会出故障。问题不在于防护措施不够多,而在于对韧性的理解过于狭窄。全书试图把技术稳定性模式与人的因素、系统安全视角结合起来,给出一条更完整的提升韧性的路径。
读者可以抓住几条主要线索。其一是韧性的定义与框架。作者把韧性拆成四个核心概念:稳健性,即吸收机器崩溃等预期问题的能力;回弹,即经历创伤性事件后的恢复;以及另外两个同样围绕系统承受问题、恢复并持续演进展开的维度。这一模型贯穿全书,取代了“加个超时重试就算稳了”的零散做法。
其二是分布式系统为何重要又为何脆弱。作者用真实宕机案例说明软件故障的现实代价,并提炼出两条基本法则:信息无法瞬时传递,有时你就是连不上对方。由此引出状态不一致、抽象隐藏底层细节、网络与 DNS 等具体故障源。书中提醒,在层层抽象的服务之下,仍然是真实的物理计算机、网线、交换机和电源。
其三是人的因素与系统安全视角。作者引入社会技术系统概念,说明文化、组织与政策同样影响稳定性,并借助核电站、航天飞机等事故分析,把其他高风险行业的经验迁移到软...
Digital LibraryAI Assistant
Hi — I can help you pick a book. Tell me a topic, language, or level, e.g. “a light English read”. If that's too broad, I'll ask one follow-up.
Loading comments...
Reply to Comment
Edit Comment