Skip to Content
监控运维实践:原则与策略
book

监控运维实践:原则与策略

by Mike Julian
November 2020
Intermediate to advanced
142 pages
3h 12m
Chinese
Posts & Telecom Press
Content preview from 监控运维实践:原则与策略
55
第 6 章
前端监控
很多公司常常忽视前端监控,通常是因为监控是“运维管的事”。除了面向公众的
Web
服
务器,一般的系统管理员
/
运维工程师通常不会考虑应用程序的前端
。不幸的是,我们很
快就会看到,这是一个相当大的盲区。
本章会讨论为什么这是一个盲区,以及如何利用各种前端监控方法改变这一现状。本章最
后会总结如何将前端监控集成到你已经在用的工具中,以便你不会随着时间流逝失去那些
性能收益。
我说的
前端监控
是什么意思呢?我给前端下的定义是:所有通过浏览器或原生移动应用程
序在客户端解析和执行的东西。当你加载一个网页时,所有的
HTML
、
CSS
、
JavaScript
以
及图片就构成了前端。一个
We
b
应用程序做的所有工作——从数据库取数据、执行后端代
码(例如
Python
、
PHP
)
,或为数据调用
API
——就是后端。随着越来越多的工作从后端应
用程序转移到前端,这个描述可能不那么准确了。
实际上,随着
单页面应用程序
(
S
PA
)的大量出现,
JavaScript
错误激增而
HTTP
错误没有
相应变化的情况并不少见。传统的监控方法根本不适合客户端浏览器应用程序。
SPA
到底是什么
?
SPA
是一个浏览器加载的
Web
应用程序,其中大部分资源(如果不是全部的话)是在
客户端加载的,向服务器发出的数据请求很少。许多
SPA
的一个独特特性是页面刷新
并不必要,因为页面在后台更新其数据。
React.js
、
Angular.js
和
Ember.js
等是常用于
SPA
的框架。
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

Java数据科学实战

Java数据科学实战

Michael R. Brzustowicz, PhD
可编程网络自动化

可编程网络自动化

Jason Edelman, Scott S. Lowe, Matt Oswalt
精通模块化JavaScript

精通模块化JavaScript

Nicolás Bevacqua

Publisher Resources

ISBN: 9787115550750