LMAX aims to be the fastest trading platform in the world. Clearly, in order to achieve this we needed to do something special to achieve very low-latency and high-throughput with our Java platform. Performance testing showed that using queues to pass data between stages of the system was introducing latency, so we focused on optimising this area. The Disruptor is the result of our research and testing. We found that cache misses at the CPU-level, and locks requiring kernel arbitration are both extremely costly, so we created a framework which has "mechanical sympathy" for the hardware it’s running on, and that’s lock-free. This is not a specialist solution, it’s not designed to work only for a financial application. The Disruptor is a general-purpose mechanism for solving a difficult problem in concurrent programming. It works in a different way to more conventional approaches, so you use it a little differently than you might be used to.

Features

  • Move data (e.g. messages or events) between threads within the same process
  • Multicast events to consumers, with consumer dependency graph
  • Pre-allocate memory for events
  • Optionally lock-free
  • The Disruptor uses Sequences as a means to identify where a particular component is up to
  • Intended to be used in cases where you need to independent multiple parallel operations on the same data
  • Enables use within a low latency environment

Project Samples

Project Activity

See All Activity >

Categories

Chat, Libraries

License

Apache License V2.0

Follow LMAX Disruptor

LMAX Disruptor Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of LMAX Disruptor!

Additional Project Details

Programming Language

Java

Related Categories

Java Chat Software, Java Libraries

Registered

2021-04-21