What’s new with Java concurrency framework Disruptor
Version 3.2.1 of concurrency framework LMAX Disruptor, designed for high-performance and low-latency transaction processing, has just gone live. Project Developer Michael Barker announced that the latest release is now available for download on Maven Central via a Google Group mail.
Besides build and IDE updates, Disruptor has undergone a rewrite of performance tests to run without JUnit and separate Queues into their own tests. Additionally, there are new performance tests for immutable message example and new performance tests for off-heap example.
This highly scalable system offers incredibly low latency, and is completely written in Java. It’s developed by the crew at the London MTF (Multilateral Trading Facility) LMAX trading platform.
The software has been making ‘disruptions’ in the Javasphere since its launch. It garnered the team behind it a Duke’s Choice Award in 2011, bringing the niche technology to the attention of a far wider audience than originally intended, and attracting a good deal more Java devs to the LMAX fold.
At the heart of its framework is a ring buffer data structure. Behind this is a ring buffer, which is tailored for high-performance use in the trading area. You can find out more about the Disruptor, which is offered under Apache 2.0 license, on its project page.
Alternatively, for a more comprehensive introduction to the framework and the ring buffer, check out this talk: "Understanding the Disruptor - A Beginner's Guide to Hardcore Concurrency". which was filmed at JAX London 2011.