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 可观测性工程
可观测性与软件供应链
|
139
接收
Web hook
测试结果的
API/ 前端
触发器生成 /
测试工作流
执行异步
作业
执行器 执行器
执行静态断言 /
容器构建
执行测试脚本,
上传结果
CI API,
Slack Web
用程序和作业
队列应用程序
环境
14-1:一个端到端测试 Web 应用的工作流示例
14.1 为什么 Slack 需要可观测性
纵观
Slack
整个历史,其在客户数量和代码规模上都有了非常大的增长。虽然这些变化
令人兴奋,但这样的增长也伴随着一些问题,例如,复杂性增加、边界模糊和系统扩展
性不足。测试用例的执行次数数量级曾经达到每天几千次,现在增加到了几十万次。这些
测试所使用的资源在不同的代码仓库和团队中都是不断变化的,并且有着技术多样化的趋
势。在这种规模下,有必要通过自动扩容和超卖等策略来控制成本和计算资源的使用。
有关
Slack
CI
系统和成本控制策略的更多详细信息,请参阅
Slack
Engineering
的博客文章“
Infrastructure Observability for Changing the Spend
Curve
”(
https://slack.engineering/infrastructure-observability-for-changing-
the-spend-curve
)。
所以,我们在开发环境中测试和部署代码的工作流比某些生产服务还要复杂。基础设施
或者代码运行时版本的潜在依赖关系可能会被意外更改并引入意外的故障。例如,
Slack
依赖
Git
进行版本控制 ...
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