r/cpp • • Mar 24 '26

Optimizing a Lock-Free Ring Buffer

https://david.alvarezrosa.com/posts/optimizing-a-lock-free-ring-buffer/
106 Upvotes

58 comments sorted by

View all comments

Show parent comment

1

u/TheoreticalDumbass :illuminati: Mar 25 '26

i enjoy the memfd_create use, but will note in case there are issues in prod, a /dev/shm/ (or wherever) persistent file can make debugging easier