gorpc:一个为大型分布式系统设计的golang rpc框架
戈尔普
一个为大型分布式系统设计的golang rpc框架
运行gorpc测试
go test -v github.com/johntech-o/gorpc
上面的命令将在测试输出的末尾显示性能信息
client conn status: {"Result":{"127.0.0.1:6668":{"creating":0,"idle":0,"readAmount":907910,"working":30}},"Errno":0}
client conn Qps : {"Result":73011,"Errno":0}
HeapObjects: 2981940 - 21634 = 2960306
TotalAlloc: 789211080 - 50114848 = 739096232
PauseTotalMs: 1 - 0 = 1
NumGC: 12 - 1 = 11
server