A Bill Kennedy Special
summary
Starts a local Kubernetes cluster with kind, deploys a Go sales service, and notices staging sets CPU 250m (0.25 core) limits. Explains Go scheduler and context-switch costs, reasons that too many goroutines hurt CPU-bound work, and shows Kubernetes can derive Go threads from limits. Changes runtime so Kubernetes sets GOMAXPROCS=1 for 250m, reapplies manifests, and measures: under the limit the single-threaded run performs noticeably faster, nearly doubling throughput in the demo.
AI-written summary · about
