3 ms·
> see https://github.com/LMAX-Exchange/disruptor https://github.com/LMAX-Exchange/disruptor for the fastest concurrent bus I've seen in any language The geniou
by _pmf_ 13y ago
> see https://github.com/LMAX-Exchange/disruptor https://github.com/LMAX-Exchange/disruptor for the fastest concurrent bus I've seen in any language
The genious behind LMAX is the way they bend Java's object layout features; they achieve nice performance in spite of using Java, not because of it. Some decade old message passing libraries (OpenMP et al.) will probably outperform LMAX without even trying.
- twic 13y agoActually, i doubt it. The machine code that ends up running at the heart of a disruptor is pretty minimal, and it executes precisely zero lock or atomic operations when handing an object from one side to the other. I am not aware of any other message-passing system that lightweight. I would be genuinely interested to hear about one.