读见

十年之后,Google 为 AI 时代更新 SRE 指南

原题Ten Years On, Google Updates the SRE Book for the AI Era

约 5 分钟约 1,048 字原文英文已翻译

推荐理由Google 更新 SRE 指南引出 AI 服务的可靠性责任与指标变化,适合熟悉传统 SRE 的团队复核上线后的观测和响应要求。

读前速览

5 个要点

Google 发布了《站点可靠性工程》一书的修订版第二版,更新 SRE 实践,以应对现代云、微服务、平台工程和 AI 时代基础设施带来的挑战。

  1. SRE 实践已从基础设施正常运行时间转向以用户为中心的可靠性指标。

    第二版引入多层级 SLO、动态消耗速率告警和自动化策略执行,重点关注用户影响,而非单纯的可用性指标,反映出分布式、相互依赖的系统日益复杂。

  2. 可观测性已从静态仪表板转向 OpenTelemetry 和分布式追踪。

    现代 SRE 借助 OpenTelemetry、分布式追踪和自动化异常关联,缩短从告警发出到可信地解释系统故障原因之间的时间。

  3. AI 基础设施需要专门的可靠性工程方法。

    该书探讨了 GPU 和 TPU 集群、非确定性模型输出以及 AI 训练流水线特有的可靠性挑战。这些挑战与传统无状态 Web 服务有根本区别。

  4. 生成式 AI 是 SRE 的辅助工具,而非人类判断的替代品。

    AI 可用于事件分诊、撰写事后复盘、通过自然语言查询遥测数据,以及预测瓶颈。Datadog Scout 和 Google Gemini CLI 等模型的行业应用也体现了这一趋势。

  5. 组织模式已转向混合型团队和嵌入式可靠性专业力量。

    Google 介绍了从专职 SRE 团队转向混合模式,并在产品团队中设置可靠性倡导者的趋势,以应对大型组织面临的人员配置限制。

完整摘要

Google 宣布推出《站点可靠性工程》(SRE)一书的全新改写第二版,针对现代生产环境更新了这部具有开创性的 2016 年著作。新版探讨了从单体应用向微服务、多云、无服务器架构和内部开发者平台转变所带来的变化。主要更新包括以用户为中心的多层级 SLO、动态消耗速率告警,从静态仪表板向 OpenTelemetry 和分布式追踪的演进,通过声明式基础设施和自我修复系统实现自动化,以及以持续韧性检查取代定期故障演练。容量管理如今更强调动态自动扩缩容,以及针对 AI 工作负载优化 GPU/TPU 集群。该书将 SRE 视为一门不断演进的学科,认为它对保障 AI 基础设施的可靠性至关重要,并将生成式 AI 定位为用于事件分诊、撰写事后复盘和预测瓶颈的工具。组织模式则逐渐转向混合型 SRE 团队,以及嵌入产品团队的可靠性倡导者。尽管技术已有更新,Google 强调,以可靠性为核心的协作文化依然未变。

查看原文

Google 宣布推出其经典著作《Site Reliability Engineering: How Google Runs Production Systems》的全新重写第二版,距离初版出版已过去十年。本书更新了对站点可靠性工程(SRE)的思考,将现代云架构、平台工程和 AI 工作负载纳入其中,同时保留了原版的核心理念:将优秀的软件工程技术应用于运维工作。Google has announced a completely rewritten second edition of their seminal book Site Reliability Engineering: How Google Runs Production Systems, ten years after the original book was first published. The book updates thinking on site reliability engineering (SRE) to encompass modern cloud architectures, platform engineering and AI workloads, whilst keeping the original emphasis on applying good software engineering techniques to operations work.

由 Google SRE 项目经理 Betsy Beyer 和软件工程师 David Huska 宣布的新版本,旨在回应自 2016 年第一版问世以来发生了巨大变化的生产环境。作者认为,核心问题已不再是采用云基础设施,而是在系统变得更加分布式、相互依赖且持续变化的情况下维持可靠性。Announced by Google's SRE programme manager Betsy Beyer and software engineer David Huska, the new edition is positioned as a response to a production environment that has changed substantially since 2016, when the first edition appeared. The authors argue that the central problem is no longer adopting cloud infrastructure, but maintaining reliability as systems become more distributed, interdependent and continuously changing.

“现代生产环境始终处于不断变化之中。系统边界日益复杂,依赖关系层层交织,故障模式也比以往更加复杂,造成的损害更大。”——Betsy Beyer 和 David Huska,Google Cloud 博客
"Modern production environments operate under constant change. System boundaries are more complex, dependencies are deep, and failure modes are more complex and damaging than ever before."
Betsy Beyer and David Huska, Google Cloud Blog

最初的 SRE 著作之所以影响深远,是因为它公开介绍了 Google 如何运营大规模服务。书中阐述了服务等级目标(SLO)、错误预算、减少繁琐工作、事件管理和事后复盘等实践。InfoQ 在 2016 年的书评指出,该书将 SRE 描述为把软件工程应用于运维职能,并强调工程师应自动化重复性的运维工作,而不是仅仅对其作出响应。The original SRE book became influential because it gave a public account of how Google operated large-scale services. It described practices such as service level objectives (SLOs), error budgets, toil reduction, incident management and postmortems. InfoQ's 2016 review noted that the book presented SRE as the application of software engineering to an operations function, with engineers expected to automate repetitive operational work rather than simply respond to it.

第二版并未将 SRE 描述为一套固定不变的实践。相反,它阐述了随着组织从早期的云迁移和单体应用转向微服务、多云部署、无服务器系统和内部开发者平台,这些实践如何发生变化。The second edition does not present SRE as a fixed set of practices. Instead, it describes how those practices have changed as organisations have moved from early cloud migration and monolithic applications towards microservices, multi-cloud deployments, serverless systems and internal developer platforms.

多年来,最明显的变化之一涉及 SLO 和错误预算。Google 表示,团队过去依赖基本的可用性指标,并手动执行错误预算策略。修订后的指南则介绍了以用户为中心的多层级 SLO、动态消耗速率告警和自动化策略执行。可靠性实践本身也已从单纯关注基础设施正常运行时间,转向衡量故障对用户造成的影响。One of the clearest changes over the years concerns SLOs and error budgets. Google says that teams once relied on basic availability metrics and manually applied error-budget policies. The revised guidance describes user-centred, multi-tiered SLOs, dynamic burn-rate alerting and automated policy enforcement. Reliability practice itself has evolved away from infrastructure uptime alone and towards measures that describe the effect of failures on users.

可观测性也在不断演进,本书新版对此进行了阐述。按照谷歌的说法,第一版所处的时代以静态仪表盘、基础日志和人工告警分诊为特征,如今已让位于 OpenTelemetry、分布式追踪和自动化异常关联。目标不只是收集更多遥测数据,而是缩短从告警触发到找到可信解释、弄清故障原因之间的时间。Observability has also evolved, and the book's new edition talks this through. The first edition's world of static dashboards, basic logs and manual alert triage has given way, in Google's account, to OpenTelemetry, distributed tracing and automated anomaly correlation. The aim is not merely to collect more telemetry, but to reduce the time between an alert and a credible explanation of what has failed.

自动化是第三个主要修订领域。Google 描述了从使用自定义脚本处理孤立任务,转向声明式基础设施即代码、内部开发者平台和自愈系统的趋势。这与大型组织如今普遍采用的平台工程模式相一致:可靠性能力一次性构建到平台中,供产品团队使用,而不是由每个团队重复实现。Automation is the third major area of revision. Google describes a movement from custom scripts addressing isolated tasks towards declarative infrastructure as code, internal developer platforms and self-healing systems. This aligns with the platform-engineering model now common in larger organisations: reliability capabilities are built once into a platform and consumed by product teams, rather than being reimplemented by every team.

可靠性测试也发生了变化。Google 将定期开展的故障演练日和合成负载测试,与持续韧性检查、自动化流水线测试以及生产环境中的实时金丝雀验证进行了对比。实际意义在于,韧性成为交付流水线的一部分,而不是在重大版本发布前偶尔进行的一项演练。Reliability testing has also changed. Google contrasts scheduled game days and synthetic load tests with continuous resilience checks, automated pipeline testing and live production canary verification. The practical implication is that resilience becomes part of the delivery pipeline rather than an occasional exercise performed before a major release.

“现代工程实践不再仅仅依赖预定的演练日和合成负载测试,而是将持续韧性检查、自动化流水线测试以及线上生产环境的金丝雀验证融入其中。”——Betsy Beyer 和 David Huska,Google Cloud 博客
"Rather than relying solely on scheduled game days and synthetic load tests, modern engineering embeds continuous resilience checks, automated pipeline testing, and live production canary verification."
Betsy Beyer and David Huska, Google Cloud Blog

容量管理是本书更新的另一个领域。谷歌表示,手动配置资源和静态预测已被动态自动扩缩容、与云 FinOps 对齐,以及针对 GPU 和 TPU 集群的优化所取代。这一点很重要,因为 AI 训练和推理工作负载可能会集中消耗稀缺的加速计算资源,使容量规划、网络和成本控制在运营层面变得更加重要。Capacity management is another area where the book has been updated. Google says that manual provisioning and static forecasting have been replaced by dynamic auto-scaling, cloud FinOps alignment and optimisation for GPU and TPU clusters. This matters because AI training and inference workloads can concentrate demand on scarce accelerated computing resources, making capacity planning, networking and cost control more operationally significant.

生成式 AI 必然会在第二版中出现,体现在两个方面。首先,书中将 SRE 描述为运行 AI 基础设施所必需的一门学科。书中涵盖大型 GPU 和 TPU 集群的可靠性、网络拓扑、模型输出的非确定性、延迟特性,以及用于训练、微调和数据处理的流水线。这些运维问题与传统无状态 Web 服务所面临的问题截然不同。Generative AI inevitably appears in the second edition, in two facets. First, SRE is presented as a discipline needed to operate AI infrastructure. The book covers the reliability of large GPU and TPU clusters, network topologies, non-deterministic model outputs, latency behaviour and the pipelines used for training, fine-tuning and data processing. These are different operational problems from those posed by a conventional stateless web service.

其次,文中将 AI 定位为可靠性工程师的工具。文章欢迎使用生成式 AI 来支持事件分诊和事后复盘报告撰写、通过自然语言查询遥测数据,以及利用预测模型在资源瓶颈导致服务中断之前识别它们。公告中的示例大多将 AI 置于辅助角色,为工程师收集和整理证据,而不是声称 AI 能取代运维判断。近期的行业动态似乎也印证了这一点:InfoQ 于 2026 年 10 月报道称,Datadog 已发布 Scout。这是一款专用模型,旨在其 Bits AI SRE 产品中调查生产环境问题。其他供应商也在探索类似方向,包括 Honeycomb 的 Canvas Agent、Splunk AI SRE 和 New Relic 的 SRE Agent。InfoQ 还在 2026 年 2 月报道了 Google Cloud 的 SRE 在真实服务中断期间使用 Gemini CLI 的情况;AI 的用途是帮助工程师处理事件,而不是自主取代值班人员。Second, AI is presented as a tool for reliability engineers. The post welcomes generative AI support for incident triage and postmortem writing, natural-language queries over telemetry, and predictive models that identify resource bottlenecks before they cause an outage. The examples in the announcement mostly place AI in a supporting role, gathering and organising evidence for engineers, rather than claiming that AI can replace operational judgement. Recent industry activity appears to support this, with InfoQ reporting in October 2026 that Datadog had released Scout, a specialist model intended to investigate production problems inside its Bits AI SRE product. Other vendors are exploring similar territory, including Honeycomb's Canvas Agent, Splunk AI SRE and New Relic's SRE Agent. InfoQ also reported in February 2026 on Google Cloud SREs using the Gemini CLI during real outages; using AI to help engineers work through incidents, rather than as an autonomous replacement for on-call staff.

该公告还修订了 SRE 在组织层面的安排。Google 表示,组织模式正从为特定应用配备专门的 SRE 团队,转向混合模式、与平台工程相融合,以及在产品团队中设立可靠性负责人。这一变化源于许多组织无法为每项服务都配置一个中央 SRE 团队,因此必须更广泛地分布可靠性方面的专业知识。The announcement also revises the organisational side of SRE. Google describes a move beyond dedicated SRE teams attached to particular applications, towards hybrid models, platform-engineering integration and reliability champions embedded in product teams. This has come about because many organisations cannot staff a central SRE team for every service, so reliability expertise has to be distributed more widely.

尽管技术有所更新,Google 认为,底层文化并未改变。作者再次强调了可靠性导向文化的重要性,并扩展了本书对系统工程中人的因素的论述。David Blank-Edelman 在 2025 年 InfoQ Dev Summit Boston 上发表的演讲《你问错了问题(关于可靠性与 SRE)》也提出了相关观点。他认为,可靠性工作应从客户的视角出发,而非从组件的视角出发,并指出 SRE 本质上是一项协作工作。他还对传统上聚焦于单一根本原因的做法提出质疑,主张审视导致故障的各种促成因素。Despite the technological updates, Google argues that the underlying culture has not changed. The authors restate the importance of reliability-focused culture and expand the book's coverage of the human aspects of systems engineering. David Blank-Edelman made a related point in a presentation, You Are Asking the Wrong Questions (about Reliability and SRE), delivered at InfoQ Dev Summit Boston in 2025. He argued that reliability work should start from the customer's perspective rather than the component's perspective, and described SRE as fundamentally collaborative. He also challenged the conventional focus on a single root cause, favouring an examination of the contributing factors behind a failure.

第二版可通过 Google Books 购买实体版,也可从 O'Reilly 获取电子版。对于已经践行 SRE 的团队来说,它的价值可能不在于介绍那些熟悉的概念,而在于展示这些概念如何适应平台、分布式系统和 AI 密集型基础设施。对于可靠性建设尚处于早期阶段的组织而言,它仍是一部内容详实的参考书,阐述了如何将运维转变为软件工程问题,而不是一系列手动任务。The second edition is available in physical format through Google Books and in digital format from O'Reilly. For teams already practising SRE, its value is likely to lie less in introducing familiar concepts than in showing how those concepts have been adapted for platforms, distributed systems and AI-heavy infrastructure. For organisations earlier in their reliability journey, it remains a substantial reference on how to make operations a software-engineering problem rather than a collection of manual tasks.

值得记下

  1. 现代生产环境始终处于变化之中。系统边界更加复杂,依赖关系错综深入,故障模式也比以往更加复杂,造成的损害更大。
  2. 现代工程不再只依赖定期故障演练和合成负载测试,而是将持续韧性检查、自动化流水线测试和生产环境实时金丝雀验证融入日常工作。
  3. 第二版并未将 SRE 描述为一套固定不变的实践,而是说明这些实践如何随着组织从早期的云迁移和单体应用,逐步转向微服务、多云部署、无服务器系统和内部开发者平台而发生变化。

← 回到本期 · 第 19 条