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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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