Tagged articles
2 articles
Page 1 of 1
IT Services Circle
IT Services Circle
Jan 9, 2025 · Backend Development

LMAX Disruptor: High‑Performance In‑Memory Queue and Its Typical Use Cases

The article introduces LMAX Disruptor, a high‑performance, lock‑free in‑memory queue for the JVM, compares it with JDK thread‑safe queues, and demonstrates five practical usage scenarios—including broadcast, log collection, chain of responsibility, multi‑task coordination, and multi‑consumer groups—through detailed Java code examples.

DisruptorEvent ProcessingHigh performance queue
0 likes · 10 min read
LMAX Disruptor: High‑Performance In‑Memory Queue and Its Typical Use Cases
Programmer DD
Programmer DD
Sep 25, 2018 · Fundamentals

Why Disruptor Beats Traditional Queues: Inside Java’s High‑Performance RingBuffer

This article explains how the Disruptor library implements lock‑free, bounded queues using a ring‑buffer, cache‑line padding and CAS operations, compares single‑ and multi‑producer sequencers, and provides practical Java code examples for building ultra‑low‑latency producer‑consumer pipelines.

High performance queueJava concurrencyMulti-producer
0 likes · 30 min read
Why Disruptor Beats Traditional Queues: Inside Java’s High‑Performance RingBuffer