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 可观测性工程
将事件拼接成链路
|
59
正是“分布式”的由来。微服务架构的流行导致调试定位微服务间故障和性能问题的需
求攀升。但是,一旦请求跨边界
比如从机房到云基础设施中,或者从你控制的基础
设施到你不控制的
SaaS
服务,然后返回
这时对于诊断问题、优化代码和构建更可
靠的服务,分布式链路追踪可能就非常有用。
分布式链路追踪的普及也意味着完成该任务的几种方法和相互竞争的标准已经出现。
2010
年谷歌出版的由
Ben Sigelman
等人所写的
Dapper
论文也首先吸引了大众的关注,
随即又有两个非常著名的开源链路追踪项目
2012
年推特的
Zipkin
https
:
//zipkin.io
2017
Uber
Jaeger
,此外还有
Honeycomb
https://hny.co
)和
Lightstep
https://
lightstep.com
)的一些商业解决方案。
虽然这些链路追踪项目在实施上有些许区别,但其核心方法和价值异曲同工。正如在第
一部分探讨的那样,扩展成一个错综复杂的依赖节点成为现代分布式系统的一种趋势。
正因为分布式链路追踪能够清晰地展示系统中服务和组件的关系,分布式链路追踪才显
得更有价值。
链路能帮助你理解系统依赖关系。依赖关系可能使问题变得模糊不清,如果不能清晰
理解依赖关系,调试可能就会变得尤为困难。比如,如果下游数据库服务出现性能
瓶颈,那么服务延迟可能就会堆积。在上游三到四层检测到延迟时,确定系统的哪个
组件是问题的根源可能会非常困难,因为现在在几十个其他服务中都可以看到相同的
延迟。
可观测系统中的链路仅是一连串相关联的事件。为了理解链路与可观测性基本构建块的 ...
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