r/cpp • • May 27 '26

Lessons I’ve learned from benchmarking lock free queues

https://open.substack.com/pub/simonlee99ap/p/should-your-system-use-lock-free?r=16x6qr&utm_medium=ios

Hey all, I’ve started writing about systems related topics, and as a first article I wanted to understand the tradeoffs of adopting lock free data structures. Turns out it’s hard to find an audience that’d be interested in this kind of topic, so I figured people here might be the best fit. Let me know what you think about the article! Would love to hear your thoughts

87 Upvotes

13 comments sorted by

View all comments

Show parent comment

1

u/hallofcheat99 May 28 '26

These are brilliant, thank you for the pointers. It really is a rabbit hole as you said, I feel like the more I dig the more surface area I can see.

Wait free, preventing cache thrashing, prefetching, and memory reclamation approaches (epoch based one too) are a few topics that piques my interest at the moment. Understanding what use cases exists in the wild is also fun, the comments here are giving me great inspirations