Skip to Content
Google系统架构解密: 构建安全可靠的系统
book

Google系统架构解密: 构建安全可靠的系统

by Heather Adkins, Betsy Beyer, Paul Blankinship, Piotr Lewandowski, Ana Oprea, Adam Stubblefield
September 2021
Beginner to intermediate
392 pages
12h 13m
Chinese
Posts & Telecom Press
Content preview from Google系统架构解密: 构建安全可靠的系统
99
8
弹性设计
撰写人:
Vitaliy Shipitsyn
Mitch Adler
Zoltan Egyed
Paul Blankinship
Jesus Climent
Jessie Y
ang
Douglas Colish
Christoph Kern
好的系统设计应该包括
弹性
的规划:系统抵御攻击和承受异常情况(给系统带来压力
并影响可靠性的场景)的能力。
在设计阶段早期,应该考虑如何在同时发生多个事件时仍保持系统完整或部分运行。
本章先从一个远古时期的故事讲起。这个故事中,纵深防御的机制拯救了一个帝国。
之后我们将目光转向现代的纵深防御策略,并以
Google App Engine
为例来讲解。
本章涵盖的解决方案有不同的实现成本,并且适用于不同规模的组织。如果你处于
一个较小的组织,我们建议关注可控降级,设立爆炸半径的控制机制,并将系统划
分成单独的故障域。随着组织的壮大,我们建议采用持续验证机制来确认和增强系
统的弹性。
作为系统设计的一部分,“弹性”代表的是系统承受重大故障或中断的能力。具备弹性的
系统可以自动从系统的部分故障(或者整个系统的故障)中恢复,并在问题解决后恢复
正常运行。理想情况下,弹性系统中的服务在整个事件过程中保持运行状态,但可能处
于降级模式。将弹性嵌入到系统中每一层的设计中,有助于保护系统免受意外故障和攻
击的影响。
设计弹性系统与设计易恢复性的系统(第
9
将详细介绍)不同。弹性与恢复性密切相关,
但恢复性关注的是系统损坏
之后
自我修复的能力,而弹性则意味着设计出
经得起
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

管理Kubernetes

管理Kubernetes

Brendan Burns, Craig Tracey
Python机器学习基础教程

Python机器学习基础教程

Andreas C. Müller, Sarah Guido
解密金融数据

解密金融数据

Justin Pauley

Publisher Resources

ISBN: 9787115569257