Y
Hacker News
new
|
ask
|
show
|
jobs
by
nemesisrobot
3973 days ago
IIRC, LMAX Disruptor[0] uses the same concept with its ring buffer to avoid GC-related slowdown.
[0]:
https://github.com/LMAX-Exchange/disruptor
1 comments
vitalyd
3973 days ago
While it does avoid GC, it's mostly a faster way to share data between threads than the builtin concurrent collections.
link
nemesisrobot
3973 days 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-...
link