Topics /

Systems & Performance

The most popular blog posts about systems & performance on Hacker News. 263 posts.

2017
245

How both TCP and Ethernet checksums fail (2015)

At Twitter, a team had a unusual failure where corrupt data ended up in memcache. The root cause appears to have been a switch that was corrupting packets. Most packets were being dropped and the throughput was much lower than normal, but some were still making it through. The hypothesis is that occasionally the…

254

Pruning spaces from strings quickly on ARM processors

Suppose that I give you a relatively long string and you want to remove all spaces from it. In ASCII, we can define spaces as the space character (' '), and the line ending characters ('\r' and '\n'). I am mostly interested in algorithmic and performance issues, so we can simplify the problem by removing all ……

257

Zip Files All the Way Down (2010)

A well-known scientist (some say it was Bertrand Russell) once gave a public lecture on astronomy. He described how the earth orbits around the sun and how the sun, in turn, orbits around the center of a vast collection of stars called our galaxy. At the end of the lecture, a little old lady at the back of the room…

259

What colour are your bits? (2004)

As of Summer 2024, my article "What Colour are your bits?" has been online 20 years, and people are still linking to it as a benchmark. It's clear that people still care about intellectual property in general and copyright in particular, and the difference, if any, between id...