Re:Disruptor: High performance alternative to bounded queues...
by delibes on Friday July 08, 2016 @07:22PM
(#12059262)
You might want to also see Martin Thompson's old blog called Mechanical Sympathy, and in particular his post on 'false sharing'
http://mechanical-sympathy.blogspot.co.uk/2011/07/false-shar...
Re:Disruptor: High performance alternative to bounded queues...
by ignoramous on Friday July 08, 2016 @02:11PM
(#12057562)
Log4J is one such example outside the HFT realm.
https://www.grobmeier.de/log4j-2-performance-close-to-insane...
And Spring Reactor uses the disruptor as it's default async processor.
Disruptor looks like great fit for IoT and msg-relay (think whatsapp) workloads
Re:Disruptor: High performance alternative to bounded queues...
by irishjohnnie on Friday July 08, 2016 @04:22PM
(#12058372)
Ring buffers are also used in web servers, database servers, different kinds of device drivers protocol stacks, constrained embedded devices, etc.
The disruptor is an actual library based on ring buffers (other have already pointed out some other features).
In practical terms, this library has been immensely popular. Within a couple years of disruptor's release, practically every (java based) trading firm was using them. I've even seen c++ implementations, only vaguely resembling this library, being referred to as 'disruptors.'
Beyond the library, the original (and subsequent) presentations by the authors popularized the concepts of "mechanical sympathy" (understand the abstraction layer beneath what you are currently working in) and introduced a whole new set of developers to modern CPUs, thinking about cache lines, etc.