Optimizing a Ring Buffer for Throughput | Hacker News Reader