Tagged articles
51 articles
Page 1 of 1
Java Architect Handbook
Java Architect Handbook
Apr 28, 2026 · Backend Development

SpringBoot + Disruptor: Achieving 6 Million Orders per Second with Ultra‑Fast Concurrency

This article explains why Disruptor—a lock‑free, high‑throughput Java queue from LMAX—was chosen over traditional brokers, details its core concepts such as RingBuffer, Sequence, and WaitStrategy, and provides a step‑by‑step SpringBoot demo that can handle up to six million orders per second without pressure.

DisruptorJavaMessage Queue
0 likes · 13 min read
SpringBoot + Disruptor: Achieving 6 Million Orders per Second with Ultra‑Fast Concurrency
Top Architect
Top Architect
Oct 28, 2025 · Backend Development

How I Cut XML‑to‑MySQL Import Time from 300 s to 4 s

This article details a step‑by‑step performance overhaul for importing 60,000+ XML records into MySQL, covering baseline measurements, MySQL batch processing, asynchronous writes with Disruptor, XML parsing optimizations, and tuning MySQL buffers, ultimately reducing total runtime from 300 seconds to just four seconds.

Batch ProcessingDisruptorJava
0 likes · 14 min read
How I Cut XML‑to‑MySQL Import Time from 300 s to 4 s
Code Ape Tech Column
Code Ape Tech Column
Sep 15, 2025 · Backend Development

Unlock Ultra‑Fast Messaging with Disruptor: A Hands‑On Java Guide

This article introduces the high‑performance Disruptor library, explains its core concepts such as Ring Buffer, Sequence, and Wait Strategy, and provides a step‑by‑step Java demo—including Maven setup, event model, producer, consumer, and test—showcasing how to build a lock‑free in‑memory message queue.

Concurrent ProgrammingDisruptorJava
0 likes · 11 min read
Unlock Ultra‑Fast Messaging with Disruptor: A Hands‑On Java Guide
Su San Talks Tech
Su San Talks Tech
Jul 6, 2025 · Backend Development

Mastering Disruptor: High‑Performance In‑Memory Queue for Low‑Latency Java Apps

This article introduces the Disruptor in‑memory message queue—its architecture, core concepts such as Ring Buffer, Sequence, Sequencer and Wait Strategies, key features like multicast and gating, tuning options for producers and wait strategies, and provides a complete Java example to help developers build ultra‑low‑latency systems.

DisruptorIn-Memory QueueJava
0 likes · 10 min read
Mastering Disruptor: High‑Performance In‑Memory Queue for Low‑Latency Java Apps
Top Architect
Top Architect
Jul 5, 2025 · Databases

How I Cut XML‑to‑MySQL Import Time from 300 s to 4 s with Batch, RewriteBatchedStatements, and Multithreading

This article walks through optimizing a 60,000‑row XML‑to‑MySQL import by profiling the environment, measuring baseline performance, and applying JDBC batch rewriting, write aggregation, and asynchronous writes with LMAX Disruptor, ultimately reducing execution time from 300 seconds to about four seconds while keeping memory usage reasonable.

Batch ProcessingDisruptorJDBC
0 likes · 15 min read
How I Cut XML‑to‑MySQL Import Time from 300 s to 4 s with Batch, RewriteBatchedStatements, and Multithreading
dbaplus Community
dbaplus Community
Jun 1, 2025 · Backend Development

Why Log4j2 Async Logging Blocks Threads and How to Fix It

This article examines Log4j2 asynchronous logging bottlenecks, explains the underlying Disruptor queue mechanics, identifies root causes of thread blocking, and presents practical strategies—including queue tuning, log classification, bytecode instrumentation, and IDE plugins—to achieve fine‑grained, performant log control.

DisruptorIDE pluginLog Management
0 likes · 12 min read
Why Log4j2 Async Logging Blocks Threads and How to Fix It
Architect
Architect
May 2, 2025 · Backend Development

Understanding and Implementing LMAX Disruptor in Java

This article introduces the high‑performance LMAX Disruptor library, explains its core concepts such as Ring Buffer, Sequence, Sequencer, and Wait Strategy, and provides a step‑by‑step Java demo with complete code to build a producer‑consumer message queue.

Backend DevelopmentDisruptorJava
0 likes · 11 min read
Understanding and Implementing LMAX Disruptor in Java
Top Architect
Top Architect
Apr 18, 2025 · Backend Development

Optimizing XML-to-MySQL Import: Reducing Execution Time from 300 s to 4 s with Batch Processing and Multithreading

This article details how to dramatically speed up importing over 60,000 XML records into MySQL by profiling the original 300‑second implementation, enabling JDBC batch writes, configuring MySQL rewriteBatchedStatements, and applying a Disruptor‑based multithreaded pipeline, ultimately achieving sub‑5‑second runtimes with modest memory usage.

BatchProcessingDisruptorJava
0 likes · 15 min read
Optimizing XML-to-MySQL Import: Reducing Execution Time from 300 s to 4 s with Batch Processing and Multithreading
macrozheng
macrozheng
Mar 19, 2025 · Backend Development

Unlock Ultra‑Low Latency with Disruptor: Architecture, Features & Tuning Guide

This article introduces the high‑performance in‑memory queue Disruptor, covering its architecture—including ring buffer, sequence, sequencer, and wait strategies—its key features such as multicast events and lock‑free concurrency, and provides practical tuning advice and a complete Java example.

DisruptorIn-Memory QueueLow latency
0 likes · 12 min read
Unlock Ultra‑Low Latency with Disruptor: Architecture, Features & Tuning Guide
Java Tech Enthusiast
Java Tech Enthusiast
Feb 2, 2025 · Backend Development

Optimizing XML-to-MySQL Bulk Import with JDBC Batch and Disruptor

By switching from a naïve per‑record insert to JDBC batch writes with rewriteBatchedStatements and then off‑loading those batches to multiple consumer threads via a LMAX Disruptor ring buffer, the XML‑to‑MySQL import of 60,000 rows dropped from roughly 300 seconds to about 4 seconds while keeping memory usage modest.

BatchDisruptorJDBC
0 likes · 11 min read
Optimizing XML-to-MySQL Bulk Import with JDBC Batch and Disruptor
Top Architect
Top Architect
Jan 16, 2025 · Backend Development

Optimizing XML‑to‑MySQL Data Import: Reducing Execution Time from 300 s to 4 s

This article describes how to dramatically speed up the import of 60,000+ XML records into MySQL by analyzing the original environment, measuring baseline performance, and applying a series of backend optimizations—including MySQL batch mode, rewriteBatchedStatements, multithreaded asynchronous writes with Disruptor, and XML parsing improvements—ultimately cutting the total runtime from five minutes to just a few seconds.

Batch ProcessingDisruptorJava
0 likes · 14 min read
Optimizing XML‑to‑MySQL Data Import: Reducing Execution Time from 300 s to 4 s
Architect
Architect
Jan 12, 2025 · Databases

How I Cut XML‑to‑MySQL Import Time from 300 s to 4 s

This article walks through a real‑world case of importing over 60,000 XML rows into MySQL, profiling the initial 300‑second runtime, and applying a series of optimizations—including JDBC batch processing, rewriteBatchedStatements, multithreaded asynchronous writes with Disruptor, and MySQL tuning—to achieve a final import time of around 4 seconds while managing memory usage.

Batch ProcessingDisruptorJava
0 likes · 13 min read
How I Cut XML‑to‑MySQL Import Time from 300 s to 4 s
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
Code Ape Tech Column
Code Ape Tech Column
Dec 24, 2024 · Backend Development

Understanding the Disruptor In-Memory Message Queue: Architecture, Features, and Tuning

This article introduces the Disruptor in‑memory message queue, explains its core components such as Ring Buffer, Sequence, Sequencer and Wait Strategies, describes its distinctive features like multicast events and lock‑free concurrency, and provides tuning guidelines and a complete Java example.

DisruptorIn-Memory QueueJava concurrency
0 likes · 11 min read
Understanding the Disruptor In-Memory Message Queue: Architecture, Features, and Tuning
Top Architect
Top Architect
Dec 1, 2024 · Backend Development

Diagnosing Slow Asynchronous Log Printing in Java: From Mapping Overhead to Disruptor and JNI Analysis

This article investigates why a large number of quality‑check mappings cause severe latency in a Java service, traces the slowdown to excessive asynchronous log printing, explains the Disruptor‑based async logger internals, evaluates stack‑trace location handling and JNI overhead, and proposes practical configuration and code‑level fixes.

DisruptorJNIJava
0 likes · 20 min read
Diagnosing Slow Asynchronous Log Printing in Java: From Mapping Overhead to Disruptor and JNI Analysis
Architect
Architect
Nov 22, 2024 · Backend Development

Why Is Async Log4j2 Logging So Slow? A Deep Dive into Disruptor and JNI Overheads

The article investigates a severe performance bottleneck in a Java service caused by massive async Log4j2 logging, analyzes the Disruptor‑based async logger, explores JNI stack‑trace overhead, reproduces the issue with benchmarks, and provides practical recommendations to eliminate the slowdown.

DisruptorJNIJava
0 likes · 18 min read
Why Is Async Log4j2 Logging So Slow? A Deep Dive into Disruptor and JNI Overheads
Selected Java Interview Questions
Selected Java Interview Questions
Oct 20, 2024 · Backend Development

Optimizing XML‑to‑MySQL Bulk Import: Reducing Execution Time from 300 s to 4 s with JDBC Batch and Disruptor

This article details how a Java‑based XML‑to‑MySQL import of over 60,000 records was accelerated from 300 seconds to just 4 seconds by enabling JDBC batch processing, configuring rewriteBatchedStatements, and employing a multithreaded Disruptor pipeline for asynchronous writes, while also discussing further tuning options.

DisruptorJDBC BatchJava
0 likes · 11 min read
Optimizing XML‑to‑MySQL Bulk Import: Reducing Execution Time from 300 s to 4 s with JDBC Batch and Disruptor
vivo Internet Technology
vivo Internet Technology
Aug 14, 2024 · Backend Development

Understanding Disruptor: High‑Performance In‑Memory Queue, Core Concepts, Demo, and Source Code Analysis

The article explains the Disruptor—an intra‑process, lock‑free, array‑based queue that achieves millions of operations per second—by covering its core concepts, demo code, source‑code mechanics, performance optimizations such as pre‑allocation and false‑sharing avoidance, and real‑world Vivo iTheme applications with best‑practice tips.

DisruptorJavaProducer Consumer
0 likes · 29 min read
Understanding Disruptor: High‑Performance In‑Memory Queue, Core Concepts, Demo, and Source Code Analysis
Su San Talks Tech
Su San Talks Tech
May 11, 2024 · Backend Development

Unlock Ultra‑Fast Java Concurrency with the Disruptor Framework

Disruptor is an open‑source, lock‑free Java framework that uses a ring‑buffer and sequencer to achieve ultra‑high‑throughput, handling millions of events per second, and is employed by projects like LMAX, Storm, Camel, and Log4j2, with detailed concepts, wait strategies, and usage examples.

DisruptorJavaRingBuffer
0 likes · 13 min read
Unlock Ultra‑Fast Java Concurrency with the Disruptor Framework
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.

Backend DevelopmentDisruptorJava
0 likes · 11 min read
Introducing Disruptor: A High‑Performance In‑Memory Queue with a Complete Java Demo
Architecture Digest
Architecture Digest
Mar 13, 2024 · Backend Development

Using LMAX Disruptor as a High‑Performance In‑Memory Message Queue in Java

This article introduces the LMAX Disruptor library, explains its core concepts such as RingBuffer, Sequencer and WaitStrategy, and provides a step‑by‑step Java demo—including Maven dependency, model, event factory, handler, manager, service and test code—to build a fast, lock‑free producer‑consumer queue.

Backend DevelopmentDisruptorJava
0 likes · 10 min read
Using LMAX Disruptor as a High‑Performance In‑Memory Message Queue in Java
Code Ape Tech Column
Code Ape Tech Column
Feb 29, 2024 · Backend Development

Introduction to Disruptor: A High‑Performance Java Message Queue with Full Example

This article introduces the open‑source Disruptor library, explains its core concepts such as Ring Buffer, Sequence, Sequencer and Wait Strategy, and provides a step‑by‑step Java demo—including Maven dependency, event model, handlers, configuration, producer, and test code—to show how to build a fast in‑memory message queue.

Backend DevelopmentDisruptorJava
0 likes · 11 min read
Introduction to Disruptor: A High‑Performance Java Message Queue with Full Example
Java High-Performance Architecture
Java High-Performance Architecture
Nov 19, 2023 · Backend Development

Boost Java Performance with Disruptor: A Hands‑On Guide to High‑Throughput Queues

This article introduces the high‑performance Java library Disruptor, explains its core concepts such as Ring Buffer, Sequence, and Wait Strategy, and provides a step‑by‑step demo with Maven configuration, code examples, and test results to help developers implement fast, lock‑free producer‑consumer queues.

DisruptorJavaMessage Queue
0 likes · 12 min read
Boost Java Performance with Disruptor: A Hands‑On Guide to High‑Throughput Queues
Java High-Performance Architecture
Java High-Performance Architecture
Nov 15, 2023 · Backend Development

Mastering Disruptor: High‑Performance Java Queue for Producer‑Consumer Systems

This article introduces the open‑source Disruptor framework, explains its core concepts such as Ring Buffer, Sequencer, and Wait Strategies, and provides a step‑by‑step Java demo—including Maven setup, event factory, handlers, and a test case—to illustrate building a high‑throughput, low‑latency in‑memory message queue.

DisruptorJavaMessage Queue
0 likes · 11 min read
Mastering Disruptor: High‑Performance Java Queue for Producer‑Consumer Systems
Top Architect
Top Architect
Sep 20, 2023 · Operations

Design and Implementation of a Distributed Log Service: Tianyan vs ELK

This article examines the challenges of building a high‑performance log service for distributed systems, compares the traditional ELK stack with the Tianyan platform, details Tianyan's architecture—including ingest, storage, and consumer components, SDK and Minos collection methods, high‑throughput transmission with Disruptor and Bigpipe, log retrieval, resource isolation, dynamic cleaning, and best‑practice recommendations.

BigpipeDisruptorDistributed Systems
0 likes · 27 min read
Design and Implementation of a Distributed Log Service: Tianyan vs ELK
IT Architects Alliance
IT Architects Alliance
Feb 3, 2023 · Backend Development

Preventing Overselling in High‑Concurrency Flash Sales: 7 Locking & Queue Strategies with SpringBoot

This article analyzes the overselling problem in high‑concurrency flash‑sale scenarios, demonstrates seven concrete solutions—including improved locks, AOP locks, pessimistic and optimistic database locks, and queue‑based approaches using BlockingQueue and Disruptor—provides full SpringBoot code, JMeter test results, and practical recommendations for reliable stock reduction.

BackendDisruptorJMeter
0 likes · 19 min read
Preventing Overselling in High‑Concurrency Flash Sales: 7 Locking & Queue Strategies with SpringBoot
Sohu Tech Products
Sohu Tech Products
Jan 25, 2023 · Backend Development

Introduction to LMAX Disruptor: High‑Performance Java Memory Queue and Its Core Concepts

The article introduces the open‑source LMAX Disruptor, explains why it won the 2011 Duke's Choice Award, compares it with traditional JDK queues, details its core components such as Event, RingBuffer, Producer, and WaitStrategy, and provides a complete Java example that builds a producer‑consumer pipeline using Disruptor.

DisruptorHighPerformanceProducerConsumer
0 likes · 12 min read
Introduction to LMAX Disruptor: High‑Performance Java Memory Queue and Its Core Concepts
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.

DisruptorJavaRingBuffer
0 likes · 12 min read
Understanding Java Disruptor: Queues, Core Components, and High‑Performance Lock‑Free Design
Code Ape Tech Column
Code Ape Tech Column
Jun 9, 2022 · Backend Development

Introduction to Disruptor: High‑Performance Java Message Queue with Full Code Demo

This article introduces the open‑source Disruptor library, explains its core concepts such as Ring Buffer, Sequencer, and Wait Strategy, and provides a step‑by‑step Java implementation—including Maven dependency, event model, factory, handler, manager, producer, and test code—demonstrating how to build a fast in‑memory message queue.

Backend DevelopmentDisruptorJava
0 likes · 10 min read
Introduction to Disruptor: High‑Performance Java Message Queue with Full Code Demo
Top Architect
Top Architect
Apr 25, 2022 · Backend Development

Comprehensive Guide to Disruptor: Core Concepts, Implementation, and Demo in Java

This article introduces the high‑performance Disruptor library, explains its background, core concepts such as RingBuffer, Sequence, Sequencer, and WaitStrategy, and provides a step‑by‑step Java implementation with Maven dependencies, event factories, handlers, producers, and a runnable test case.

DisruptorHighPerformanceJava
0 likes · 12 min read
Comprehensive Guide to Disruptor: Core Concepts, Implementation, and Demo in Java
FunTester
FunTester
Mar 16, 2022 · Backend Development

Why Disruptor’s Default ExceptionHandler Crashes Your QPS and How to Fix It

When using the Disruptor library for high‑throughput testing, the default FatalExceptionHandler can repeatedly abort consumer threads on exceptions, causing QPS to drop to zero, but replacing it with an ignore handler or a custom implementation restores stability.

BackendDisruptorExceptionHandler
0 likes · 4 min read
Why Disruptor’s Default ExceptionHandler Crashes Your QPS and How to Fix It
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.

BenchmarkDisruptorJava
0 likes · 26 min read
Performance Comparison of LMAX Disruptor and LinkedBlockingQueue in Java
FunTester
FunTester
Dec 28, 2021 · Backend Development

Using LMAX Disruptor for High‑Performance Event Processing in Java

This article explains how to replace Java's LinkedBlockingQueue with the high‑throughput LMAX Disruptor library, covering dependency setup, event definition, Disruptor creation, producer and consumer implementations, handler configuration, startup/shutdown procedures, and provides both Java and Groovy demo code.

BackendDisruptorJava
0 likes · 8 min read
Using LMAX Disruptor for High‑Performance Event Processing in Java
vivo Internet Technology
vivo Internet Technology
Nov 18, 2020 · Cloud Native

vivo Distributed Tracing System Agent Technology Principles and Practical Experience

The 2017‑initiated vivo distributed tracing system leverages a JavaAgent‑based micro‑kernel architecture, using ByteBuddy for non‑intrusive bytecode instrumentation, a Disruptor lock‑free queue, and Kafka to capture Trace/Span data—including cross‑thread propagation—while employing sampling, degradation, and JVM metrics to ensure 94% adoption stability.

DisruptorDistributed TracingJavaAgent
0 likes · 23 min read
vivo Distributed Tracing System Agent Technology Principles and Practical Experience
JavaEdge
JavaEdge
Oct 8, 2020 · Backend Development

How Disruptor Achieves Lock-Free Speed: Single-Threaded Writes, Memory Barriers, and False Sharing

This article explains how the Disruptor library attains true lock‑free performance through single‑threaded writes, the use of memory barriers (volatile and happens‑before semantics), cache‑line alignment to eliminate false sharing, and a sequence‑barrier algorithm, providing code examples and practical optimization tips.

DisruptorJava concurrencyfalse sharing
0 likes · 5 min read
How Disruptor Achieves Lock-Free Speed: Single-Threaded Writes, Memory Barriers, and False Sharing
JD Retail Technology
JD Retail Technology
Sep 1, 2020 · Backend Development

JD Hotkey Framework: Architecture, Performance Optimizations, and Scaling to 350k QPS

The article details JD's high‑performance Hotkey middleware, explaining its real‑time hot‑data detection architecture, the challenges faced during massive traffic spikes, and a series of systematic optimizations—including JDK upgrades, thread‑pool tuning, Disruptor replacement, and serialization changes—that enabled the system to scale from 20k to 350k queries per second while maintaining millisecond‑level latency.

DisruptorHotKeyScalability
0 likes · 16 min read
JD Hotkey Framework: Architecture, Performance Optimizations, and Scaling to 350k QPS
Programmer DD
Programmer DD
Dec 2, 2018 · Backend Development

Why Log4j2 Beats Logback: Real‑World Performance Test and Disruptor Secrets

An in‑depth performance comparison of Logback and Log4j2 shows how asynchronous logging and the Disruptor queue dramatically improve throughput, with benchmark data across various hardware, configuration tips, and a look at underlying queue implementations such as ArrayBlockingQueue versus Disruptor.

Disruptorasynchronous logginglog4j2
0 likes · 8 min read
Why Log4j2 Beats Logback: Real‑World Performance Test and Disruptor Secrets