Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nemesisrobot
· 11y ago · 0 comments
IIRC, LMAX Disruptor[0] uses the same concept with its ring buffer to avoid GC-related slowdown.
[0]:
https://github.com/LMAX-Exchange/disruptor
Comments
[–]
vitalyd
11y ago
While it does avoid GC, it's mostly a faster way to share data between threads than the builtin concurrent collections.
[–]
nemesisrobot
OP
11y ago
Yep, that's what Disruptor is for. Here's a blog post by one of the devs giving more details about the ring buffer where she specifically mentions that objects are pooled to avoid the GC
http://mechanitis.blogspot.com/2011/06/dissecting-disruptor-...