explaingit

lmax-exchange/disruptor

Analysis updated 2026-05-18

18,338JavaAudience · developerComplexity · 3/5LicenseSetup · easy

TLDR

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
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

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.

What is it built with?

Java

How does it compare?

lmax-exchange/disruptortencent/apijsonwilliamfiset/algorithms
Stars18,33818,40818,611
LanguageJavaJavaJava
Setup difficultyeasyeasyeasy
Complexity3/53/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time 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?

Frequently asked questions

What is disruptor?

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.

What language is disruptor written in?

Mainly Java. The stack also includes Java.

What license does disruptor use?

Use freely for any purpose including commercial. Keep the notice and disclose changes to the patent grant.

How hard is disruptor to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is disruptor for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub lmax-exchange on gitmyhub

Verify against the repo before relying on details.