Bandwidth, Latency and Loss
RTT, bandwidth, BDP, jitter, loss and tail latency: the arithmetic that explains why a fast link still feels slow.
RTT, bandwidth, BDP, jitter, loss and tail latency: the arithmetic that explains why a fast link still feels slow.
Futures as compiler-built state machines, the executor that polls them, and the Send and Sync markers that keep shared state honest.
k6 and JMeter: load models, thresholds and the difference between a benchmark and a capacity test.
Go 运行时如何把 goroutine 调度到线程、如何分配内存、如何并发标记回收:GMP、work stealing、mcache/mcentral/mheap、三色标记、写屏障、pacer 与 GOGC/GOMEMLIMIT 的取舍。
从 go test 的包选择、表驱动与 t.Run 子测试,到 -race 的开销、-benchmem 与 benchstat 的对比方法、fuzz 与覆盖率门禁,并说明 CPU、heap、block、mutex profile 与 trace 各自回答什么问题。遇到缓存假绿、flaky 与覆盖率停滞时能按信号定位。