A high-performance Java library for ultra-low-latency inter-thread communication, built by LMAX Exchange for scenarios where standard concurrency tools are too slow.
Mindmap
mindmap
root((repo))
What it does
Inter-thread messaging
Low latency design
High throughput
Use cases
Financial trading
Real-time systems
Event processing
Tech stack
Java
Concurrency
Key features
Ring buffer
Lock-free algorithms
Things people build with this
USE CASE 1
Build ultra-low-latency trading systems that need to pass millions of messages per second between threads.
USE CASE 2
Create real-time event processing pipelines where microsecond latencies matter.
USE CASE 3
Replace standard Java queues in performance-critical applications where garbage collection pauses are unacceptable.
Tech stack
Java
Getting it running
Difficulty · easyTime to first run · 5min
Use freely for any purpose including commercial. Keep the notice and disclose changes to the patent grant.
In plain English
This repository contains the Disruptor, a Java library designed for high-performance communication between threads within a single process. It is developed by LMAX Exchange and is intended for use cases where standard Java concurrency tools do not provide sufficient throughput or low enough latency. No readme is available in this repository.
Copy-paste prompts
Prompt 1
How do I integrate the Disruptor library into my Java project to replace a standard BlockingQueue for inter-thread communication?
Prompt 2
Show me a simple example of using Disruptor's RingBuffer to publish and consume events between two threads.
Prompt 3
What are the performance advantages of Disruptor over Java's built-in concurrent queues, and when should I use it?