Hacker News new | ask | show | jobs
by BrokrnAlgorithm 664 days ago
Is there any didactic implementation of the Disruptor / multicast ring available somewhere? I've been curious in working through some practical example to understand the algorithm better.
2 comments

LMAX have an open source version of the disruptor in GitHub https://github.com/LMAX-Exchange/disruptor
Here's a high level description in TLA+: https://github.com/nicholassm/disruptor-rs/blob/main/verific...

(Disclaimer: I wrote it.)

There's also a spec for a Multi Producer Multi Consumer (MPMC) Disrupter.