Get the latest tech news

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


A small file-serving service of mine slowed to a crawl one afternoon after a “harmless” middleware change. CPU on the server box doubled, throughput roughly halved.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of cost

cost

Photo of copy

copy

Photo of splice

splice

Related news:

News photo

Databricks unifies OLTP and OLAP, depending on what counts as a copy

News photo

Apple Says India's Antitrust Case Against It Is 'Copy-Pasted'

News photo

America's Large Homebuilders Shift the Cost of Shoddy Construction to Buyers