摘要: github.com\eclipse\paho.mqtt.golang@v1.4.3\token.go // WaitTimeout implements the Token WaitTimeout method. func (b *baseToken) WaitTimeout(d time.Dur 阅读全文
posted @ 2023-11-14 17:37 papering 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 毕玄:稳定性,难的不是技术,而是…… https://mp.weixin.qq.com/s/n6LgMPzyWNx5EcCxp2CHDQ 作为一个惹出过和处理过一些严重故障的人,我仍然觉得要做好稳定性,最难的并不是技术。 或者更准确的说,关于怎么做好稳定性这个话题,从技术上说,从代码到设计到变更都有 阅读全文
posted @ 2023-11-14 16:08 papering 阅读(4) 评论(0) 推荐(0) 编辑
摘要: import ( "runtime" "time" "github.com/shirou/gopsutil/v3/cpu" "github.com/shirou/gopsutil/v3/disk" "github.com/shirou/gopsutil/v3/mem" ) const ( B = 1 阅读全文
posted @ 2023-11-14 14:54 papering 阅读(10) 评论(0) 推荐(0) 编辑