DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Zero-copy in Go: sendfile, splice, and the cost of io.Copy

Quality: 8/10 Relevance: 9/10

Summary

Technical explainer on Go zero-copy IO with sendfile and splice on Linux. It shows how the Go runtime can use fast path transfers from file to socket, how wrapping a reader disrupts this path, and provides practical rules of thumb and benchmarks using strace and CPU profiling.

🚀 Service construit par Johan Denoyer