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
Cut Cloud Costs with Google Compute Engine Icon
Cut Cloud Costs with Google Compute Engine

Save up to 91% with Spot VMs and get automatic sustained-use discounts. One free VM per month, plus $300 in credits.

Save on compute costs with Compute Engine. Reduce your batch jobs and workload bill 60-91% with Spot VMs. Compute Engine's committed use offers customers up to 70% savings through sustained use discounts. Plus, you get one free e2-micro VM monthly and $300 credit to start.
Try Compute Engine
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