Skip to Content
持續交付|使用Java
book

持續交付|使用Java

by Daniel Bryant, Abraham Marín-Pérez
July 2019
Intermediate to advanced
480 pages
9h 35m
Chinese
GoTop Information, Inc.
Content preview from 持續交付|使用Java
402
| 第十三章
小結
你在本章學到觀察機制的基礎知識:
對你來說,在 app 的生命週期中,了解系統內正在發生的事情和已經發生的事情非
常重要。這就是觀察機制的目的。
通常,你往往會在三個層面上監視和觀察整個系統:app、網路和機器。
觀察現代軟體 app 有三種主要方法:監視、log 和追縱。
監視是以接近即時的方式觀察系統,通常包括產生和捕捉暫態的數據、值和範圍。
log 通常是為了在將來觀察系統,可能是在事件(或故障)發生之後。
追蹤的目的是在請求遍歷(分散式)系統時,捕捉它的流程,並在你感興趣的特定
地點捕捉詮釋資料和時間。
app 的生命週期中,有些事件需要人為干預。為此,你要建立警報機制,根據特
定閾值,或使用監視和 log 取得的資料來觸發警報。
改寫 app 來加入監視、log 和追蹤機制比較困難,因此,你一定要在設計系統時就考
慮監視機制。
你絕對想在最終用戶發現問題前掌握它,因此,例外追蹤系統是必須放入問題管理
工具箱的另一項工具。
正確使用視覺化工具和儀表板可以讓你產生洞察力,並減少伴隨著原始數據和 log
資料的雜訊。
到目前為止,你已經了解實現持續交付的技術細節了。下一章會將重心放在“讓既有的
組織或 app 改用這種工作方式”時的挑戰。
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

精實企業|高績效組織如何達成創新規模化

精實企業|高績效組織如何達成創新規模化

Jez Humble, Joanne Molesky, Barry O'Reilly
管理Kubernetes

管理Kubernetes

Brendan Burns, Craig Tracey
精通機器學習|使用Python

精通機器學習|使用Python

Sarah Guido, Andreas C. Mueller
数字化转型:企业破局的34 个锦囊

数字化转型:企业破局的34 个锦囊

Gary O’Brien, Xiao Guo, Mike Mason

Publisher Resources

ISBN: 9789865021740