《使用Gin框架构建分布式应用》阅读笔记:p393-p437

《用Gin框架构建分布式应用》学习第17天,p393-p437总结,总45页。

一、技术总结

1.Prometheus

Prometheus放在代码里面使用,还是第一次见。在本人实际的工作中未看到这种用法。

2.Grafana

Grafana用于被监控数据的可视化。

3.Telegraf

Telegraf用于数据采集。在本人的实际工作中用得是node-exporter,因为监控的数据比较简单。相对于而言,Telegraf功能更全面。Telegraf采集数据后给到Prometheus。至于使用哪种依然是取决于业务。

chapter 10介绍了数据监控的常见工具,这些工具在现在,在业内依然是适用的。

二、英语总结

1.capture

p393, Capturing gin application metrics.

p393, You will also learn how to collect Gin application metrics to measure the performance of the Gin application and to profile for abnormal behavior.

capter在这里的意思等同于"collect, gather",metrics等同于"data",profile等同于"analyze"。

2.immune

p394,However, no app is immune from downtime or external attacks (DDoS).

(1) immune: im-("not, opposite of") + munis("performing services"). vt. not be able to damaged by sth.

be immune from等同于 be protected from。

3.spammy

p418, However, logs can be verbose and spammy -- that's why you'll need a centralized platform to be able to apply filters and keep an eye on important events.

adj.devoid of distinctive characteristics.

三、其它

完结,撒花。

书上介绍的这些倒是不难理解,难的是如何内化为自己的知识,难的是如何应用到自己所开发的项目中去,每一个项目都不同,只有自己亲自实践才算是学有所得,所有所用。这是每个人都无法避免的。

明天出读后感。

四、参考资料

1. 编程

(1) Mohamed Labouardy,《Building Distributed Applications in Gin》:https://book.douban.com/subject/35610349

2. 英语

(1) Etymology Dictionary:https://www.etymonline.com

(2) Cambridge Dictionary:https://dictionary.cambridge.org

欢迎搜索及关注:编程人(a_codists)

相关推荐
紧跟先前的步伐11 小时前
Go AI Agent 实战 08|HTTP 模型 API 的工作原理与请求流程
人工智能·http·ai·golang
紧跟先前的步伐11 小时前
Go AI Agent 实战 07|模型幻觉、能力边界与成本控制
大数据·人工智能·golang
利威尔xu14 小时前
Go GMP 调度器 10 个高频追问:3 个线上故障让 P99 从 80ms 飙到 2s、10 万 goroutine 泄漏
开发语言·后端·面试·性能优化·golang
FfHUCisI15 小时前
无锁 Reactor 网络模型与 gnet / evio 架构拆解
服务器·开发语言·后端·golang
紧跟先前的步伐1 天前
Go AI Agent 实战 05|Temperature 与生成参数:让模型输出可控
java·人工智能·golang
浮尘笔记1 天前
我用 Go 写了个手机端「远程 AI 开发控制台」(开源)
人工智能·智能手机·golang
microrain1 天前
专业版守核心,企业版做增量:SagooIoT 的跨模块能力出口
物联网·架构·golang·sagooiot
紧跟先前的步伐2 天前
Go AI Agent 实战 04|Prompt 与消息角色:System、User、Assistant
人工智能·golang·prompt
念何架构之路2 天前
go-grpc逻辑架构图
开发语言·后端·golang
FfHUCisI2 天前
Linux 网络 IO 模型演进与 Epoll 内部机制
golang