Skip to Content
可观测性工程
book

可观测性工程

by Charity Majors, Liz Fong-Jones, George Miranda
July 2023
Beginner to intermediate
270 pages
4h 48m
Chinese
China Machine Press
Content preview from 可观测性工程
140
|
14
内部工具通常会贯穿于多个生产系统,但一些与研发相关的功能除外,例如,针对开发
系统执行的额外复杂度以及用于构建和测试的代码合并。内部工具同生产服务系统有着
不一样的视角:比起业务系统,内部系统的单功能的重要程度显著提高。任何依赖系统
的故障都可能放缓开发人员的速度和增加团队的挫败感,并最终影响向客户交付软件的
速度。换句话说,如果你的软件供应链的第一部分出现问题,这个部分便会成为余下依
赖这一部分的其他部分的瓶颈。
“速度慢”是分布式系统中最难调试的问题。“不稳定”是内部工具团队经常听到的抱
怨。这两者共同催生了“如何在高复杂性系统中通过交互排查问题”的挑战。例如,当
基础设施或者测试不稳定时,开发人员编写代码的能力就会下降,他们对工具就会产生
不信任,从而导致沮丧。这种复杂性促使
Slack
投资构建可以共享的可观测性流水线。
你将在第
18
章看到更多有关可观测性流水线的详细信息,第
18
章由
Slack
Suman
Karumuri
Ryan Katkov
撰写。而在下一节,你将了解如何解决这个问题。
14.2 探针:共享客户端库和维度
Slack CI
的一个主要挑战就是复杂性。在端到端测试中,故障可能是多个代码库共同更
改的结果,例如,这些代码库需要跨代码库、基础设施以及平台运行环境进行更改。在
2020
年,
Web
应用开发人员进行的一次提交中,我们的
CI
流水线就要执行
30
多个依赖
GitHub
的测试组件,这个流水线横跨了三个平台团队(性能、后端、前端),并且涵盖了
20
多个小团队和一些专业的服务领域。 ...
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

可观察性工程

可观察性工程

Charity Majors, Liz Fong-Jones, George Miranda
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9787111729099