Posted in

Go语言Web开发中的Context陷阱(超时传递断裂、Value泄漏、goroutine泄漏),20年老兵的3个救命检查清单

第一章:Go语言Web开发中的C … Go语言Web开发中的Context陷阱(超时传递断裂、Value泄漏、goroutine泄漏),20年老兵的3个救命检查清单Read more

Posted in

Go context.WithValue存储链污染问题(key类型不一致/struct{}滥用/深层嵌套),附pprof heap profile定位value泄漏的5步法

第一章:Go context.W … Go context.WithValue存储链污染问题(key类型不一致/struct{}滥用/深层嵌套),附pprof heap profile定位value泄漏的5步法Read more