Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Chaos Engineering 紹介[中国語]
Search
成臣 Chengchen
June 14, 2021
Education
0
270
Chaos Engineering 紹介[中国語]
Chaos Engineering 2021/06/10 勉強会で発表資料
https://cnt.connpass.com/event/215331/
成臣 Chengchen
June 14, 2021
Tweet
Share
More Decks by 成臣 Chengchen
See All by 成臣 Chengchen
ゲーム広告でのTiDB活用事例
it2911
0
230
ChaosBlade紹介[中国語]
it2911
0
200
Chaos Mesh紹介[中国語]
it2911
0
280
EKF日志分析平台架构方案实践
it2911
0
200
AWS云上架构演进
it2911
0
150
Ingress 勉強会: Traefik 2.0
it2911
0
390
F5-NGINX-Ingress勉強会
it2911
0
700
JD.com Blockchain as a Service @ Tokyo in 2019
it2911
0
190
Kubernetes with JUJU
it2911
0
230
Other Decks in Education
See All in Education
Tangible, Embedded and Embodied Interaction - Lecture 9 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1.2k
「小・中・高等学校における情報教育の体系的な学習を目指したカリキュラムモデル基本方針」
codeforeveryone
0
1.3k
Frederick Douglass versus George Fitzhugh
oripsolob
0
600
Avoin jakaminen ja Creative Commons -lisenssit
matleenalaakso
0
1.1k
子どもたち創造的活動機会の必要性に関する提言/creativehub
codeforeveryone
0
150
「ロータリーって何?」と訊かれたら:国際ロータリー 2720地区 2023-2024年度 公共イメージ部門 副委員長・ 熊本南ロータリークラブ・ 株式会社ヒデコーポレーション 代表 大津 英敬 氏
2720japanoke
0
560
Gesture-based Interaction - Lecture 8 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1.2k
SUMMER SCHOOL 2024
pnuslide
0
140
執筆テーマの決め方
sapi_kawahara
1
170
生成AIを活用できる大学教職員になる-基本と実践-
gmoriki
0
290
HCL Notes 14.0 「スタイルの変更」で「3 設定の確認」を深掘り
harunakano
0
1.9k
Railsチュートリアルの歩き方 (第7版)
yasslab
PRO
1
1M
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
19
1.9k
Ruby is Unlike a Banana
tanoku
96
10k
The Cost Of JavaScript in 2023
addyosmani
14
3.8k
The Mythical Team-Month
searls
215
42k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
18
1.7k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
15
1.4k
Debugging Ruby Performance
tmm1
70
11k
Design by the Numbers
sachag
274
18k
Code Review Best Practice
trishagee
54
15k
How GitHub (no longer) Works
holman
304
140k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
12
1.5k
For a Future-Friendly Web
brad_frost
171
8.9k
Transcript
混沌工程介绍及其重要性 Presented By
[email protected]
关于我 周志强 GitHub: STRRL PingCAP R&D Chaos Mesh 的核心开发成员, 拥有多年在云原生领域
的开发经验. 开源爱好者, Chaos Mesh Committer. 目前专注于 Chaos Engineering, 致力于构建一站式的 Chaos Engineering Platform.
概览 1. 混沌工程是什么 2. 混沌工程要做什么 3. 云原生下的混沌工程
混沌工程是什么
故障随时随地都可能发生!
分布式系统 - 越来越复杂
混沌工程的演进史
“混沌工程”成为近年来海内外的技术热点 2010 年,Netflix 发布了关于 Chaos Monkey 的文章 https://netflixtechblog.com/5-lessons-weve-learned-using-aws-1f2a28588e4c
对“混沌工程”理解上的分歧
混沌工程的目的 混沌工程是在分布式系统上进行实验的学科, 目的是建 立对系统抵御生产环境中失控条件的能力以及信心。 韧性 自愈 引用自混沌工程原则:https://principlesofchaos.org/zh/
混沌工程要做什么
混沌工程的原理 通过失败来避免失败
云原生时代 故障的特征模式
稳态的定义 • 关注系统的可测量的输出,而不是系统内部的属性 • 对这些输出在短时间内的度量构成了系统稳定状态 • 整个系统的吞吐量、错误率、延迟百分点等都可能是表示稳态行为的指标 • 在对照组和实验组中持续关注稳态的差异
受控的混沌实验 • 爆炸半径 ◦ 环境隔离 ◦ 资源限制 ◦ 流量控制 ◦
自动停止 • 安全管控 ◦ 权限的控制
生产环境中的混沌工程 引用自:https://netflixtechblog.com/chap-chaos-automation-platform-53e6d528371f Variable metric from a FIT(fault injection testing) experiment.
Event was introduced around 19:07.
生产环境中的混沌工程 引用自:https://netflixtechblog.com/chap-chaos-automation-platform-53e6d528371f
云原生下的混沌工程
云原生下的混沌工程 • 容器化 • Kubernetes • 弹性 ◦ 快速伸缩 ◦
为失败设计 ◦ 优雅降级
容器技术 • 容器为应用提供了良好的隔离环境 • 容器的隔离也能被用于实验的隔离 • 可以通过特权容器注入故障
声明式 API • 明确地声明预期的状态 • 控制器可靠的实施预期状态 • 方便用户的控制与观测
总结
总结 1. 混沌工程是什么 验证系统的韧性与自愈能力 2. 混沌工程要做什么 循环:假设稳态 - 混沌实验 -
验证 - 改进 3. 云原生下的混沌工程 云原生为混沌工程的实施带来便利
Thanks