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
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
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