Tagged articles
4 articles
Page 1 of 1
Java Architect Essentials
Java Architect Essentials
Apr 1, 2024 · Backend Development

Introducing Disruptor: A High‑Performance In‑Memory Queue with a Complete Java Demo

This article introduces the open‑source Java library Disruptor, explains its core concepts such as RingBuffer, Sequence, and WaitStrategy, and provides a step‑by‑step demo with Maven dependency, event model, factory, handler, and a Spring‑Boot test illustrating high‑throughput producer‑consumer messaging.

DisruptorProducer Consumerbackend-development
0 likes · 11 min read
Introducing Disruptor: A High‑Performance In‑Memory Queue with a Complete Java Demo
Selected Java Interview Questions
Selected Java Interview Questions
Dec 7, 2022 · Backend Development

Understanding Java Disruptor: Queues, Core Components, and High‑Performance Lock‑Free Design

This article introduces various Java queue implementations, explains the Disruptor framework’s architecture, demonstrates its usage with complete code examples, and analyzes core components such as RingBuffer, Sequencer, and WaitStrategy while addressing performance issues like false sharing and multi‑producer coordination.

DisruptorRingBufferconcurrent queue
0 likes · 12 min read
Understanding Java Disruptor: Queues, Core Components, and High‑Performance Lock‑Free Design
FunTester
FunTester
Feb 14, 2022 · Backend Development

Performance Comparison of LMAX Disruptor and LinkedBlockingQueue in Java

This article presents a comprehensive performance comparison between LMAX Disruptor and Java's LinkedBlockingQueue, detailing test setups, producer and consumer configurations, various object sizes, benchmark results, and practical conclusions for high‑throughput backend systems.

Disruptorbenchmarkconcurrent queue
0 likes · 26 min read
Performance Comparison of LMAX Disruptor and LinkedBlockingQueue in Java
21CTO
21CTO
Jan 12, 2021 · Fundamentals

How to Build a Lock‑Free Queue Using CAS: Step‑by‑Step Guide

This article explains the fundamentals of lock‑free queues, covering CAS and other atomic operations, detailed enqueue and dequeue implementations, the ABA problem and its solutions, as well as array‑based lock‑free queue designs, providing code examples and practical insights.

ABA problemCASatomic operations
0 likes · 15 min read
How to Build a Lock‑Free Queue Using CAS: Step‑by‑Step Guide