import _ "net/http/pprof"
go func() {
log.Println(http.ListenAndServe("localhost:6060", nil))
}()
$ sudo brew install graphviz
$ curl "http://localhost:6060/debug/pprof/profile?seconds=10" -o cpu.prof
$ go tool pprof -web cpu.prof
1 How to avoid session flood
https://github.com/tslearn/rpc-cluster-go/tree/984c4a17ffd777b268a13c0506aef83d9ba6b15d
ssl 安全测试 https://www.ssllabs.com/ssltest/