LMAX Disruptor
lastmod 2026-11-10created 2020-08-072 edits
LMAX Disruptor is a high-performance inter-thread messaging library for Java released by LMAX, a UK exchange. It coordinates producers and consumers on a preallocated ring buffer using sequence numbers and memory barriers instead of locks, greatly reducing latency and garbage generation compared with ordinary queues. It can build pipelines in which multiple consumers process events with dependencies on one another while preserving event order, and it is used in low-latency financial systems and in Log4j 2's asynchronous loggers, among others.
High Performance Inter-Thread Messaging Library