the disruptor a number of advantages over traditional approaches: no contention = no locks = it's very fast. having everything track its own sequence number allows multiple producers and multiple consumers to use the same data structure.
How does a disruptor work?
How the Disruptor Works. Disruptor has an array based circular data structure (ring buffer). It is an array that has a pointer to next available slot. ... In a Disruptor, all events are published to all consumers (multicast), for parallel consumption through separate downstream queues.
What is LMAX Disruptor used for?
Disruptor is a library for the Java programming language that provides a concurrent ring buffer data structure of the same name, developed at LMAX Exchange. It is designed to provide a low-latency, high-throughput work queue in asynchronous event processing architectures.