Go 1.28's HTTP/2 Parking: Measuring Memory Savings
Web page · https://abdolirad.me/articles/go-1-28-http2-parking-memory
First seen by Oriel on .
AI summary
A benchmark of Go 1.28 development code finds HTTP/2 connection parking reduces memory use for idle connections, with the largest measured savings at 5,000 connections.
- With 5,000 idle connections, parking reduced median RSS by 84.7–92.6 MiB, about 38.9%–41.4%, versus the same Go 1.28 binary with parking disabled.
- The benchmark reported 5,000 fewer goroutines and about 78 MiB less StackInuse with parking enabled at 5,000 connections.
- At 1,000 idle connections, RSS fell by about 15.7–16.6 MiB; the zero-connection baseline remained near 8.5–8.7 MiB.
- HeapAlloc results were inconsistent, and RSS savings cannot be attributed solely to stacks.
- Measurements used one machine, one benchmark, and a Go 1.28 development revision; they do not represent a final release or active production workloads.
#go #http/2 #goroutines #memory profiling
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Lobsters: 11, latest observation ; +10 over observed period since
Comments
Comment count reported by the source.
- Lobsters: 0, latest observation ; 0 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Lobsters | mhmqky | https://abdolirad.me/articles/go-1-28-http2-parking-memory/ Read discussion |