Optimizing a ring buffer for throughput (2021) · HackerTrans