Posted in

Go网关为何在20万QPS时CPU飙升但吞吐不增?揪出runtime.sched.lock竞争热点——pprof mutex profile实操指南

第一章:Go网关能抗住多少并发 … Go网关为何在20万QPS时CPU飙升但吞吐不增?揪出runtime.sched.lock竞争热点——pprof mutex profile实操指南Read more

Posted in

Go语言接收终极压测报告(100万并发连接,RTT<5ms,CPU<65%,内存增长<0.3GB/h):附完整go tool pprof火焰图与perf record原始数据

第一章:Go语言接收的底层机制与 … Go语言接收终极压测报告(100万并发连接,RTT<5ms,CPU<65%,内存增长<0.3GB/h):附完整go tool pprof火焰图与perf record原始数据Read more

Posted in

Go数据类型选型决策树:面对100万QPS高并发场景,string vs []byte、int64 vs uint64、struct vs interface{}如何一锤定音?

第一章:Go语言的基本数据类型概 … Go数据类型选型决策树:面对100万QPS高并发场景,string vs []byte、int64 vs uint64、struct vs interface{}如何一锤定音?Read more