Optimizing a ring buffer for throughput (2021) | Hacker News