内容:Sakura,Abser,Dovics
校对:Abser
Github
tgcloud
As I know, Telegram added some limits for uploads after publish of this project Also notice that Telegram files is immutable, so you can’t change file content after confirm (confirm is literally usage of inputFile in some RPC method, like messages.sendMessage
or photos.uploadProfilePhoto
).
tgstore
There is also a more recent tgstore project for object storage. But, yeah, using Telegram for cloud storage is definitely not a fair use.
statsviz
go 程序的可视化运行时数据图表, 使用方式类似 pprof. 推荐这个项目主要是推荐大家参与开发, 尤其是关于 prometheus 集成部分, 可以做成一个业界认可的 go 语言程序最简便的运行时信息检测方案
sdn-handbook
这是一个 SDN 知识库,其中整理了 SDN 基本理论和实践案例,想学习 SDN 的朋友可以参考借鉴一下。
k8s
本周给大家推荐一个朋友研究 k8s 源码后画的总结图,主要是 watcher 部分的研究,原文链接会放在最后面,下面是截取的其中一部分,喜欢的小伙伴可以关注一下哦~~~
StreamWathcer
BroadcastWatcher
Broadcast 就是将一个事件去转发给多个 Watcher,所以 Broadcast 需要存储 watcher 的 map,每个 Watcher 会有各自的 result channel,当事件通过 incoming 到来的时候,会遍历所有的 watcher,将事件转发出去。
map 并不是线程安全的,添加 Wathcer 的时候,如何保证不会发生并发错误。